2.3.47. Typechecks¶

This ruleset focuses on typehinting. Missing typehints, or inconsistent typehint, are reported.

Total : 28 analysis

  • Argument Should Be Typed

  • Useless Interfaces

  • No Class As Type

  • Mismatched Default Arguments

  • Mismatched Type

  • Child Class Removes Type

  • Not A Scalar Type

  • Mismatch Type And Default

  • Insufficient Type

  • Bad Type Relay

  • Wrong Type With Call

  • Missing Type

  • Fossilized Method

  • Could Be String

  • Could Be Void

  • Could Be Callable

  • Wrong Argument Type

  • Type Could Be Integer

  • Could Be Null

  • Typehint Could Be Iterable

  • Could Be Float

  • Could Be Self

  • Could Be Parent

  • Could Be Generator

  • This Could Be Iterable

  • Type Could Be Never

  • Typehints/CouldBeResource

  • Possible TypeError

2.3.47.1. Specs¶

Short name

Typechecks

Available in

Entreprise Edition, Exakat Cloud

Exakat

Navigation

  • Introduction
  • Release Note

GETTING STARTED

  • Standard installation
  • Docker installation
  • Tutorials

USER GUIDE

  • Overview
  • PHP Version
  • Library & Framework Support
  • Configuration
  • Scoping analysis
  • Rule
  • Report
  • Cobbler

REFERENCE GUIDE

  • 1. Rules
  • 2. Rulesets
  • 3. Reports
  • 4. Cobblers
  • 5. Real Code Cases

ADMINISTRATOR GUIDE

  • Installation
  • Upgrading
  • Configuration
  • Commands

OTHERS

  • Frequently Asked Questions
  • Glossary
  • Annex

Related Topics

  • Documentation overview
    • 2. Rulesets
      • Previous: 2.3.46. Top10
      • Next: 2.3.48. php-cs-fixable
©2015-2025, Damien Seguy - Exakat. | Powered by Sphinx 8.2.3 & Alabaster 1.0.0 | Page source