Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/system/src/Grav/Common/Page/Pages.php:123314
  •   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:8013
  •   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:185113
  •   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:121912
  •   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:149812
  •   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:57312
  •   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:5212
  •   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:6912
  •   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:29911
  •   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:6511
  •   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:77111
  •   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:80310
  •   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:2610
  •   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:66910
  •   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:6810
  •   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:9010
  •   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:27410
  •   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:11910
  •   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:15010
  •   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:10810
  •   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:3410
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Public Methods
  •   StandaloneType True False Null
/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php:4610
  •   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:2099
  •   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:10479
  •   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:1619
  •   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:1909
  •   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:3619
  •   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:4929
  •   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:319
  •   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:1189
  •   Too Many Local Variables
  •   Mismatched Default Arguments
  •   Mismatched Type
  •   Assumptions
  •   Implicit Nullable Type
  •   Wrong Type With Default
/system/src/Grav/Common/Page/Page.php:18899
  •   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:9809
  •   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:15199
  •   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:18639
  •   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:1879
  •   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:849
  •   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:3759
  •   Ambiguous Static
  •   Mismatched Default Arguments
  •   Mismatched Type
  •   Implicit Nullable Type
  •   Wrong Type With Default
  •   Never Called Parameter
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:3439
  •   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:2889
  •   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:3989
  •   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:2549
  •   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:559
  •   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:3089
  •   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:2629
  •   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:1089
  •   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:538
  •   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:228
  •   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:748
  •   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:258
  •   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:358
  •   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:368
  •   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:6538
  •   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:12568
  •   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:2688
  •   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:7428
  •   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:9358
  •   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:15788
  •   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:2898
  •   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:3138
  •   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:638
  •   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:628
  •   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:878
  •   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:2198
  •   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:4138
  •   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:688
  •   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:10348
  •   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:2738
  •   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:1228
  •   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:577
  •   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:12107
  •   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:297
  •   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:227
  •   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:2837
  •   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:1657
  •   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:257
  •   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:807
  •   Max Level Of Nesting
  •   Ambiguous Static
  •   Undefined Classes
  •   Unused Public Methods
  •   Mismatch Parameter Name
  •   Wrong Type With Default
/system/src/Grav/Common/Grav.php:5887
  •   Undefined Classes
  •   Undefined Interfaces
  •   No Return Used
  •   Implicit Nullable Type
  •   Wrong Type With Default
  •   Modified Typed Parameter
/system/src/Grav/Common/Helpers/Truncator.php:2467
  •   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:26727
  •   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:12537
  •   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:19777
  •   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:4177
  •   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:1917
  •   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:3747
  •   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:10597
  •   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:16287
  •   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:877
  •   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:1967
  •   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:817
  •   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:877
  •   Ambiguous Static
  •   Mismatched Type
  •   Unused Public Methods
  •   Implicit Nullable Type
  •   Could Inject Parameter
  •   Wrong Type With Default
/system/src/Grav/Framework/Flex/FlexCollection.php:1487
  •   Mismatched Default Arguments
  •   Mismatched Type
  •   Undefined Classes
  •   Unused Public Methods
  •   Implicit Nullable Type
  •   Wrong Type With Default
/system/src/Grav/Framework/Flex/FlexCollection.php:6937
  •   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:4257
  •   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:1637
  •   Mismatched Default Arguments
  •   Mismatched Type
  •   Undefined Classes
  •   Unused Public Methods
  •   Implicit Nullable Type
  •   Wrong Type With Default
/system/src/Grav/Framework/Flex/FlexIndex.php:9227
  •   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:11467
  •   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:1177
  •   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:2557
  •   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:2947
  •   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:3917
  •   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:3807
  •   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:5527
  •   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:447
  •   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:1177
  •   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:1337
  •   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:526
  •   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:2256
  •   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:2456
  •   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:8036
  •   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:516
  •   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:696
  •   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:2886
  •   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:4166
  •   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:656
  •   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:606
  •   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:2736
  •   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:216
  •   Ambiguous Visibilities
  •   Ambiguous Static
  •   Never Used Properties
  •   Undefined Classes
  •   Mismatch Properties Types
  •   Unfinished Object
/system/src/Grav/Common/GPM/GPM.php:6376
  •   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:2316
  •   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:836
  •   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:616
  •   Should Use Local Class
  •   Mismatched Type
  •   Undefined Classes
  •   Undefined Interfaces
  •   Implicit Nullable Type
  •   Wrong Type With Default
/system/src/Grav/Common/Helpers/Excerpts.php:1756
  •   Ambiguous Static
  •   Should Use Local Class
  •   Mismatched Type
  •   Implicit Nullable Type
  •   Could Inject Parameter
  •   Wrong Type With Default
/system/src/Grav/Common/Iterator.php:2536
  •   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:4226
  •   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:326
  •   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:2326
  •   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:196
  •   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:186
  •   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:196
  •   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:196
  •   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:3936
  •   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:5826
  •   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:17236
  •   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:7166
  •   Useless Parenthesis
  •   Weak Type With Array
  •   Uses Default Values
  •   Useless Instructions
  •   Strict Comparison With Booleans
  •   No Choice
/system/src/Grav/Common/Page/Pages.php:9716
  •   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:19446
  •   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:2806
  •   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:336
  •   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:986
  •   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:1396
  •   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:8936
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Public Methods
  •   Assumptions
/system/src/Grav/Common/Uri.php:566
  •   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:3746
  •   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:14086
  •   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:736
  •   Unused Parameter
  •   Used Once Variables (In Scope)
  •   Empty Function
  •   Undefined Classes
  •   Undefined Interfaces
  •   Unused Public Methods
/system/src/Grav/Console/ConsoleTrait.php:2996
  •   Ambiguous Static
  •   Undefined Classes
  •   No Return Used
  •   Could Inject Parameter
  •   Wrong Type With Default
  •   Never Called Parameter
/system/src/Grav/Console/Gpm/DirectInstallCommand.php:1436
  •   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:666
  •   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:1126
  •   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:3286
  •   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:3296
  •   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:4446
  •   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:3536
  •   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:1176
  •   Overwritten Literals
  •   Weak Type With Array
  •   Scalar Are Not Arrays
  •   Mismatched Type
  •   Useless Instructions
  •   No Choice
/system/src/Grav/Framework/Flex/FlexForm.php:4316
  •   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:3496
  •   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:10216
  •   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:276
  •   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:1236
  •   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:4336
  •   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:5076
  •   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:3766
  •   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:8636
  •   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:2536
  •   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:376
  •   No Null For Index
  •   Mismatched Type
  •   Implicit Nullable Type
  •   Could Inject Parameter
  •   Same Name For Property And Method
  •   Wrong Type With Default