/system/src/Grav/Common/Page/Pages.php:1233 | 14 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Common/GPM/Installer.php:80 | 13 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:1851 | 13 | - Ambiguous Array Index
- Only Variable Passed By Reference
- No Null For Index
- Weak Type With Array
- Don't Collect Void
- Indices Are Int Or String
- Uses Default Values
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1219 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1498 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Utils.php:573 | 12 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:52 | 12 | - Should Use Local Class
- Mismatched Type
- Implicit Nullable Type
- Method Could Be Static
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:69 | 12 | - Should Use Local Class
- Mismatched Type
- Assumptions
- Implicit Nullable Type
- Method Could Be Static
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/GPM/Installer.php:299 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- No Return Used
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Medium/ImageFile.php:65 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Unused Public Methods
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:771 | 11 | - Mismatched Default Arguments
- No Null For Index
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Uri.php:803 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/User/User.php:26 | 10 | - Trait Not Found
- Already Parents Trait
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Should Make Alias
- Multiple Class Declarations
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Utils.php:669 | 10 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Console/Application/PluginApplication.php:68 | 10 | - Undefined Classes
- Undefined Interfaces
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:90 | 10 | - Should Use Local Class
- Mismatched Type
- Undefined Classes
- Implicit Nullable Type
- Method Could Be Static
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Flex.php:274 | 10 | - Mismatched Default Arguments
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php:119 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:150 | 10 | - Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Mismatched Type
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Framework/Relationships/ToOneRelationship.php:108 | 10 | - Mismatched Default Arguments
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitor.php:34 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Unused Public Methods
- StandaloneType True False Null
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php:46 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Unused Public Methods
- StandaloneType True False Null
|
/system/src/Grav/Common/Data/Blueprint.php:209 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Data/Validation.php:1047 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Unused Public Methods
|
/system/src/Grav/Common/Helpers/Excerpts.php:161 | 9 | - Ambiguous Static
- Should Use Local Class
- Mismatched Type
- Undefined Classes
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Helpers/Excerpts.php:190 | 9 | - Ambiguous Static
- Should Use Local Class
- Mismatched Type
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Language/Language.php:361 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Mismatched Type
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Language/Language.php:492 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Implicit Nullable Type
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Markdown/ParsedownExtra.php:31 | 9 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Media/Traits/MediaUploadTrait.php:118 | 9 | - Too Many Local Variables
- Mismatched Default Arguments
- Mismatched Type
- Assumptions
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Page.php:1889 | 9 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Mismatch Parameter Name
- Same Name For Property And Method
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:980 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Utils.php:1519 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Lost References
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
|
/system/src/Grav/Common/Utils.php:1863 | 9 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Acl/Permissions.php:187 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- PHP Native Class Type Compatibility
- Method Could Be Static
|
/system/src/Grav/Framework/File/Formatter/YamlFormatter.php:84 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:375 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Mismatched Type
- Implicit Nullable Type
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:343 | 9 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Empty Function
- Undefined Classes
- Unused Public Methods
- StandaloneType True False Null
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexObject.php:288 | 9 | - Mismatched Default Arguments
- Mismatched Type
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/FlexObject.php:398 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Assumptions
- Implicit Nullable Type
- Method Could Be Static
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:254 | 9 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Useless Method
- Different Argument Counts
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:55 | 9 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:308 | 9 | - Mismatched Type
- StandaloneType True False Null
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:262 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Relationships/Relationships.php:108 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- PHP Native Class Type Compatibility
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:53 | 8 | - Can't Implement Traversable
- Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupCollection.php:22 | 8 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Forgotten Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:74 | 8 | - Trait Not Found
- Already Parents Trait
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/system/src/Grav/Common/GPM/Remote/Packages.php:25 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/GPM/Upgrader.php:35 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php:36 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
|
/system/src/Grav/Common/Page/Page.php:653 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Unused Public Methods
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:1256 | 8 | - Htmlentities Calls
- Only Variable Passed By Reference
- Wrong Type For Native PHP Function
- Don't Collect Void
- Uses Default Values
- Htmlentities Using Default Flag
- Preprocessable
|
/system/src/Grav/Common/Plugin.php:268 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:742 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:935 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1578 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Wrong Type With Default
|
/system/src/Grav/Common/Uri.php:289 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- No Null For Index
- Undefined Classes
- Unused Public Methods
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Uri.php:313 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- No Null For Index
- Undefined Classes
- Unused Public Methods
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Utils.php:63 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Framework/File/Formatter/CsvFormatter.php:62 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/File/Formatter/CsvFormatter.php:87 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:219 | 8 | - Variable Is Not A Condition
- Nested Ternary
- Wrong Type With Call
- Useless Short Ternary
- Useless Coalesce
- Wrong Precedence In Expression
- Coalesce And Ternary Operators Order
|
/system/src/Grav/Framework/Flex/FlexForm.php:413 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Unused Public Methods
- StandaloneType True False Null
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:68 | 8 | - Ambiguous Static
- Mismatched Type
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1034 | 8 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:273 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Implicit Nullable Type
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:122 | 8 | - Wrong Parameter Type
- Ambiguous Array Index
- No Null For Index
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Null Or Boolean Arrays
- Uses Default Values
- Wrong Type Returned
|
/system/src/Grav/Common/Config/CompiledConfig.php:57 | 7 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Common/Data/Validation.php:1210 | 7 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
|
/system/src/Grav/Common/File/CompiledJsonFile.php:29 | 7 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Generic/GenericCollection.php:22 | 7 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageObject.php:283 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php:165 | 7 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Users/UserCollection.php:25 | 7 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserCollection.php:80 | 7 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Unused Public Methods
- Mismatch Parameter Name
- Wrong Type With Default
|
/system/src/Grav/Common/Grav.php:588 | 7 | - Undefined Classes
- Undefined Interfaces
- No Return Used
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Common/Helpers/Truncator.php:246 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Should Use Local Class
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Page/Page.php:2672 | 7 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Page/Pages.php:1253 | 7 | - Htmlentities Calls
- Only Variable Passed By Reference
- Wrong Type For Native PHP Function
- Don't Collect Void
- Uses Default Values
- Htmlentities Using Default Flag
|
/system/src/Grav/Common/Page/Pages.php:1977 | 7 | - Ambiguous Array Index
- Only Variable Passed By Reference
- No Null For Index
- Wrong Type With Call
- Indices Are Int Or String
- Uses Default Values
|
/system/src/Grav/Common/Plugin.php:417 | 7 | - Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Common/Scheduler/Scheduler.php:191 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Common/Twig/Extension/FilesystemExtension.php:374 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1059 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1628 | 7 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Common/User/User.php:87 | 7 | - Repeated Interface
- Abstract Or Implements
- Should Make Alias
- Multiple Class Declarations
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Framework/Acl/Permissions.php:196 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- PHP Native Class Type Compatibility
- Method Could Be Static
|
/system/src/Grav/Framework/Filesystem/Filesystem.php:81 | 7 | - Use Named Boolean In Argument Definition
- Should Use Local Class
- Mismatched Type
- Unused Public Methods
- Implicit Nullable Type
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexCollection.php:87 | 7 | - Ambiguous Static
- Mismatched Type
- Unused Public Methods
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexCollection.php:148 | 7 | - Mismatched Default Arguments
- Mismatched Type
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexCollection.php:693 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:425 | 7 | - No Null For Index
- Mismatched Type
- Undefined Classes
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:163 | 7 | - Mismatched Default Arguments
- Mismatched Type
- Undefined Classes
- Unused Public Methods
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:922 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexObject.php:1146 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php:117 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Unused Public Methods
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:255 | 7 | - Should Use Local Class
- Must Return Methods
- Undefined Classes
- Undefined Interfaces
- Unused Public Methods
- StandaloneType True False Null
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:294 | 7 | - Insufficient Type
- Ambiguous Static
- No Return Used
- Implicit Nullable Type
- Wrong Type With Default
- Modified Typed Parameter
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:391 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Framework/Form/FormFlash.php:380 | 7 | - Ambiguous Array Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Form/FormFlash.php:552 | 7 | - Ambiguous Array Index
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Object/ObjectIndex.php:44 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/system/src/Grav/Framework/Relationships/Relationships.php:117 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- PHP Native Class Type Compatibility
- Method Could Be Static
|
/system/src/Grav/Framework/Relationships/ToManyRelationship.php:133 | 7 | - Mismatched Default Arguments
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Common/Data/ValidationException.php:52 | 6 | - Variable Is Not A Condition
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Uses Default Values
- Undefined Properties
- Could Make A Function
|
/system/src/Grav/Common/Filesystem/Folder.php:225 | 6 | - Ambiguous Static
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Assumptions
- Could Inject Parameter
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:245 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:803 | 6 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:51 | 6 | - Can't Implement Traversable
- Repeated Interface
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:69 | 6 | - Mismatched Type
- Assumptions
- Parent First
- Implicit Nullable Type
- Avoid option arrays in constructors
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:288 | 6 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:416 | 6 | - Method Signature Must Be Compatible
- Mismatched Type
- Implicit Nullable Type
- Different Argument Counts
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Flex/Types/Pages/PageObject.php:65 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- Undefined Classes
- Same Name For Property And Method
- Unfinished Object
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupObject.php:60 | 6 | - Ambiguous Static
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:273 | 6 | - Ambiguous Static
- Mismatched Type
- Unused Public Methods
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/GPM/Common/AbstractPackageCollection.php:21 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- Undefined Classes
- Mismatch Properties Types
- Unfinished Object
|
/system/src/Grav/Common/GPM/GPM.php:637 | 6 | - Useless Parenthesis
- Only Variable Passed By Reference
- Uses Default Values
- Useless Instructions
- False To Array Conversion
- No Choice
|
/system/src/Grav/Common/GPM/Installer.php:231 | 6 | - Wrong Parameter Type
- Buried Assignation
- Iffectations
- No Null For Native PHP Functions
- Uses Default Values
- Missing Assignation In Branches
|
/system/src/Grav/Common/Grav.php:83 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Wrong Typed Property Default
- Same Name For Property And Method
- Unfinished Object
|
/system/src/Grav/Common/HTTP/Response.php:61 | 6 | - Should Use Local Class
- Mismatched Type
- Undefined Classes
- Undefined Interfaces
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Helpers/Excerpts.php:175 | 6 | - Ambiguous Static
- Should Use Local Class
- Mismatched Type
- Implicit Nullable Type
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Iterator.php:253 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Implicit Nullable Type
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Common/Media/Traits/MediaObjectTrait.php:422 | 6 | - Modernize Empty With Expression
- Buried Assignation
- Only Variable Passed By Reference
- Don't Collect Void
- Uses Default Values
- Implied If
|
/system/src/Grav/Common/Page/Collection.php:32 | 6 | - Can't Implement Traversable
- Repeated Interface
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/AbstractMedia.php:232 | 6 | - Ambiguous Static
- Mismatched Type
- Unused Public Methods
- Implicit Nullable Type
- Method Could Be Static
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Medium/AudioMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/ThumbnailImageMedium.php:18 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VectorImageMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VideoMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Page.php:393 | 6 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Page.php:582 | 6 | - Only Variable Passed By Reference
- Useless Type Casting
- Uses Default Values
- Undefined Properties
- Wrong Type Returned
- Useless Null Coalesce
|
/system/src/Grav/Common/Page/Page.php:1723 | 6 | - Max Level Of Nesting
- Undefined Classes
- No Return Used
- Same Name For Property And Method
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Page/Pages.php:716 | 6 | - Useless Parenthesis
- Weak Type With Array
- Uses Default Values
- Useless Instructions
- Strict Comparison With Booleans
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:971 | 6 | - Wrong Parameter Type
- Weak Type With Array
- No Null For Native PHP Functions
- Useless Instructions
- Could Make A Function
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:1944 | 6 | - Ambiguous Array Index
- Only Variable Passed By Reference
- No Null For Index
- Weak Type With Array
- Indices Are Int Or String
- Uses Default Values
|
/system/src/Grav/Common/Plugin.php:280 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unused Public Methods
- Method Could Be Static
|
/system/src/Grav/Common/Security.php:33 | 6 | - Mismatched Default Arguments
- Mismatched Type
- StandaloneType True False Null
- Implicit Nullable Type
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Security.php:98 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Implicit Nullable Type
- Wrong Type With Default
|
/system/src/Grav/Common/Service/AccountsServiceProvider.php:139 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:893 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Unused Public Methods
- Assumptions
|
/system/src/Grav/Common/Uri.php:56 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Unfinished Object
|
/system/src/Grav/Common/Uri.php:374 | 6 | - Use Named Boolean In Argument Definition
- Ambiguous Static
- No Boolean As Default
- Undefined Classes
- Unused Public Methods
- Same Name For Property And Method
|
/system/src/Grav/Common/Uri.php:1408 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Console/Application/Application.php:73 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Undefined Interfaces
- Unused Public Methods
|
/system/src/Grav/Console/ConsoleTrait.php:299 | 6 | - Ambiguous Static
- Undefined Classes
- No Return Used
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Console/Gpm/DirectInstallCommand.php:143 | 6 | - No Need For Else
- Bail Out Early
- Nested Ifthen
- Wrong Type For Native PHP Function
- Mismatched Type
- Drop Else After Return
|
/system/src/Grav/Framework/Cache/Adapter/FileCache.php:66 | 6 | - Buried Assignation
- Used Once Variables (In Scope)
- Iffectations
- Undefined Variable
- Uses Default Values
- Missing Assignation In Branches
|
/system/src/Grav/Framework/File/Formatter/AbstractFormatter.php:112 | 6 | - Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Flex/Flex.php:328 | 6 | - Wrong Parameter Type
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/system/src/Grav/Framework/Flex/Flex.php:329 | 6 | - No Null For Native PHP Functions
- Uses Default Values
- Useless Instructions
- Could Make A Function
- Wrong Type Returned
- No Choice
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:444 | 6 | - Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:353 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Unused Public Methods
- Implicit Nullable Type
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexForm.php:117 | 6 | - Overwritten Literals
- Weak Type With Array
- Scalar Are Not Arrays
- Mismatched Type
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Flex/FlexForm.php:431 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Unused Public Methods
- Implicit Nullable Type
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:349 | 6 | - Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Framework/Flex/FlexObject.php:1021 | 6 | - Method Signature Must Be Compatible
- Assumptions
- Implicit Nullable Type
- Different Argument Counts
- Wrong Type With Default
- Modified Typed Parameter
|
/system/src/Grav/Framework/Flex/Pages/FlexPageCollection.php:27 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:123 | 6 | - Variable Is Not A Condition
- Useless Parenthesis
- Only Variable Passed By Reference
- Use Same Types For Comparisons
- Uses Default Values
- Wrong Type Returned
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:433 | 6 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Assumptions
- Different Argument Counts
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php:507 | 6 | - Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Could Inject Parameter
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:376 | 6 | - Variable Is Not A Condition
- Only Variable Passed By Reference
- Uses Default Values
- Useless Short Ternary
- Useless Coalesce
- Wrong Type Returned
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:863 | 6 | - strpos() Too Much
- Only Variable Passed By Reference
- Useless Type Casting
- Uses Default Values
- Wrong Precedence In Expression
- Useless Null Coalesce
|
/system/src/Grav/Framework/Form/FormFlash.php:253 | 6 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Unused Public Methods
- Different Argument Counts
|
/system/src/Grav/Installer/Versions.php:37 | 6 | - No Null For Index
- Mismatched Type
- Implicit Nullable Type
- Could Inject Parameter
- Same Name For Property And Method
- Wrong Type With Default
|