1.2.1240. Typehinting Stats¶
Collects various statistics about typehinting usage.
totalArguments : Total number of explicit arguments. This count variadics as one, and skip usage of func_get_args()
totalFunctions : Total number of functions, closures, arrow-functions and methods
withTypehint : Total number of typed arguments
withReturnTypehint : Total number of return types
scalartype : Total number of scalar type used
returnNullable : Total number of null types returned
argNullable : Total number of null types arguments
classTypehint : Total number of non-scalar types
interfaceTypehint : Total number of interface or abstract class types
typedProperties : Total number of typed properties
totalProperties : Total number of properties
unionTypehints : Total number of union types, including null types
intersectionTypehints : Total number of intersection types
1.2.1240.1. Connex PHP features¶
1.2.1240.1.1. Specs¶
Short name |
Dump/TypehintingStats |
Rulesets |
|
Exakat since |
1.9.9 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Available in |