/system/src/Grav/Common/Page/Pages.php:1233 | 15 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:52 | 14 | - Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:69 | 14 | - Assumptions
- Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Common/GPM/Installer.php:80 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- 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 | - No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Don't Collect Void
- Uses Default Values
- Only Variable Passed By Reference
- Indices Are Int Or String
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1219 | 12 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/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
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Common/Utils.php:573 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Console/Application/PluginApplication.php:68 | 12 | - Unused Public Methods
- Undefined Classes
- Undefined Interfaces
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:90 | 12 | - Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Flex.php:274 | 12 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php:119 | 12 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:150 | 12 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Relationships/ToOneRelationship.php:108 | 12 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Missing Some Returntype
|
/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/Language/Language.php:361 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Media/Traits/MediaUploadTrait.php:74 | 11 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Media/Traits/MediaUploadTrait.php:118 | 11 | - Assumptions
- Too Many Local Variables
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Medium/ImageFile.php:65 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:771 | 11 | - No Null For Index
- Mismatched Default Arguments
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/User/User.php:26 | 11 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Should Make Alias
- Already Parents Trait
- Multiple Identical Trait Or Interface
- Multiple Class Declarations
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:375 | 11 | - Ambiguous Static
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:184 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:496 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Common/Helpers/Excerpts.php:161 | 10 | - Ambiguous Static
- Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Helpers/Excerpts.php:190 | 10 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Language/Language.php:492 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Uri.php:802 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Utils.php:669 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Utils.php:1519 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Lost References
- Should Use Local Class
- Undefined Classes
|
/system/src/Grav/Framework/Flex/FlexObject.php:288 | 10 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/FlexObject.php:398 | 10 | - Assumptions
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:42 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:54 | 10 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:273 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:308 | 10 | - Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Modified Typed Parameter
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Form/FormFlash.php:323 | 10 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitor.php:34 | 10 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Undefined Interfaces
- StandaloneType True False Null
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php:46 | 10 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Undefined Interfaces
- 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 Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Empty Function
- Undefined Classes
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:53 | 9 | - Trait Not Found
- Can't Implement Traversable
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:769 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupCollection.php:22 | 9 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Forgotten Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:74 | 9 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Trait
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/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/Page/Page.php:1881 | 9 | - Mismatch Parameter Name
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Same Name For Property And Method
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:935 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:980 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1598 | 9 | - No Null For Native PHP Functions
- No Default For Referenced Parameter
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Uses Default Values
- Wrong Type With Default
|
/system/src/Grav/Common/Utils.php:1863 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- 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 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Framework/File/Formatter/YamlFormatter.php:84 | 9 | - Method Signature Must Be Compatible
- Ambiguous Static
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:343 | 9 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Empty Function
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:68 | 9 | - Ambiguous Static
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Interfaces/FlexInterface.php:64 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:254 | 9 | - Useless Method
- Method Signature Must Be Compatible
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:55 | 9 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Traits/FlexAuthorizeTrait.php:37 | 9 | - Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Object/Base/ObjectCollectionTrait.php:262 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Object/Collection/ObjectExpressionVisitor.php:138 | 9 | - Unused Parameter
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Relationships/Relationships.php:108 | 9 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Generic/GenericCollection.php:22 | 8 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserCollection.php:25 | 8 | - Trait Not Found
- Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/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/Grav.php:588 | 8 | - Undefined Classes
- Undefined Interfaces
- No Return Used
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php:36 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/system/src/Grav/Common/Page/Page.php:645 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:1256 | 8 | - Htmlentities Using Default Flag
- Htmlentities Calls
- Wrong Type For Native PHP Function
- Don't Collect Void
- Uses Default Values
- Only Variable Passed By Reference
- Preprocessable
|
/system/src/Grav/Common/Plugin.php:268 | 8 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Plugin.php:417 | 8 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Scheduler/Scheduler.php:191 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:742 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1578 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Common/Uri.php:288 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- No Null For Index
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Uri.php:312 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- No Null For Index
- Undefined Classes
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/User/User.php:87 | 8 | - Repeated Interface
- Abstract Or Implements
- Should Make Alias
- Multiple Identical Trait Or Interface
- Multiple Class Declarations
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Utils.php:63 | 8 | - Ambiguous Static
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Framework/File/Formatter/CsvFormatter.php:62 | 8 | - Method Signature Must Be Compatible
- Unused Public Methods
- Ambiguous Static
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/File/Formatter/CsvFormatter.php:87 | 8 | - Method Signature Must Be Compatible
- Unused Public Methods
- Ambiguous Static
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Filesystem/Filesystem.php:81 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/FlexCollection.php:87 | 8 | - Unused Public Methods
- Ambiguous Static
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexCollection.php:148 | 8 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:219 | 8 | - Useless Coalesce
- Wrong Precedence In Expression
- Coalesce And Ternary Operators Order
- Variable Is Not A Condition
- Nested Ternary
- Useless Short Ternary
- Wrong Type With Call
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:425 | 8 | - No Null For Index
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexForm.php:413 | 8 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:163 | 8 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:294 | 8 | - Ambiguous Static
- Insufficient Typehint
- Undefined Classes
- No Return Used
- Hidden Nullable Typehint
- Modified Typed Parameter
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1034 | 8 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:122 | 8 | - No Null For Native PHP Functions
- Wrong Parameter Type
- No Null For Index
- Ambiguous Array Index
- Wrong Type For Native PHP Function
- Uses Default Values
- Null Or Boolean Arrays
- Wrong Type Returned
|
/system/src/Grav/Framework/Form/FormFlash.php:380 | 8 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Form/FormFlash.php:552 | 8 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Relationships/ToManyRelationship.php:133 | 8 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Common/Config/CompiledConfig.php:57 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/system/src/Grav/Common/Data/Blueprint.php:426 | 7 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Data/Blueprint.php:468 | 7 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Data/BlueprintSchema.php:237 | 7 | - Undefined Properties
- Modernize Empty With Expression
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- No Choice
|
/system/src/Grav/Common/Data/Validation.php:817 | 7 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Common/Data/Validation.php:1210 | 7 | - Unused Public Methods
- Ambiguous Static
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/system/src/Grav/Common/File/CompiledJsonFile.php:29 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:51 | 7 | - Can't Implement Traversable
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:69 | 7 | - Assumptions
- Mismatched Typehint
- Undefined Classes
- Parent First
- Hidden Nullable Typehint
- Wrong Type With Default
- Avoid option arrays in constructors
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:416 | 7 | - Method Signature Must Be Compatible
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Different Argument Counts
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:431 | 7 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Pages/PageObject.php:283 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/Traits/PageLegacyTrait.php:165 | 7 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupObject.php:60 | 7 | - Unused Public Methods
- Ambiguous Static
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Users/UserCollection.php:80 | 7 | - Mismatch Parameter Name
- Unused Public Methods
- Ambiguous Static
- Max Level Of Nesting
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:273 | 7 | - Unused Public Methods
- Ambiguous Static
- Mismatched Typehint
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/HTTP/Response.php:61 | 7 | - Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Undefined Interfaces
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Helpers/Excerpts.php:175 | 7 | - Ambiguous Static
- Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Helpers/Truncator.php:246 | 7 | - Unused Public Methods
- Ambiguous Static
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Method Could Be Static
|
/system/src/Grav/Common/Iterator.php:253 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Common/Page/Collection.php:32 | 7 | - Can't Implement Traversable
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/AbstractMedia.php:232 | 7 | - Unused Public Methods
- Ambiguous Static
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Common/Page/Medium/AudioMedium.php:19 | 7 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/MediumFactory.php:153 | 7 | - Should Use Local Class
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Medium/ThumbnailImageMedium.php:18 | 7 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VectorImageMedium.php:19 | 7 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VideoMedium.php:19 | 7 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Page.php:2664 | 7 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Page/Pages.php:1253 | 7 | - Htmlentities Using Default Flag
- Htmlentities Calls
- Wrong Type For Native PHP Function
- Don't Collect Void
- Uses Default Values
- Only Variable Passed By Reference
|
/system/src/Grav/Common/Page/Pages.php:1977 | 7 | - No Null For Index
- Ambiguous Array Index
- Uses Default Values
- Only Variable Passed By Reference
- Indices Are Int Or String
- Wrong Type With Call
|
/system/src/Grav/Common/Security.php:33 | 7 | - Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Common/Security.php:98 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Twig/Extension/FilesystemExtension.php:374 | 7 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1059 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:1628 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Acl/Permissions.php:196 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Framework/File/Formatter/AbstractFormatter.php:112 | 7 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Flex/FlexCollection.php:692 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:444 | 7 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:353 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Hidden Nullable Typehint
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexForm.php:431 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Hidden Nullable Typehint
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexIndex.php:349 | 7 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Flex/FlexIndex.php:922 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexObject.php:1020 | 7 | - Method Signature Must Be Compatible
- Assumptions
- Undefined Classes
- Hidden Nullable Typehint
- Modified Typed Parameter
- Different Argument Counts
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexObject.php:1145 | 7 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/Pages/FlexPageCollection.php:27 | 7 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php:117 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:255 | 7 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Must Return Methods
- Undefined Interfaces
- StandaloneType True False Null
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:391 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Method Could Be Static
|
/system/src/Grav/Framework/Object/ObjectIndex.php:44 | 7 | - Method Signature Must Be Compatible
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/system/src/Grav/Framework/Relationships/Relationships.php:117 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Installer/Versions.php:37 | 7 | - No Null For Index
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Same Name For Property And Method
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Data/BlueprintSchema.php:418 | 6 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Data/ValidationException.php:52 | 6 | - Undefined Properties
- No Null For Native PHP Functions
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
|
/system/src/Grav/Common/Filesystem/Folder.php:225 | 6 | - Assumptions
- Ambiguous Static
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
|
/system/src/Grav/Common/Flex/Types/Generic/GenericIndex.php:22 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:245 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:803 | 6 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:288 | 6 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:784 | 6 | - Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Pages/PageObject.php:65 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- Undefined Classes
- Unfinished Object
- Same Name For Property And Method
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupCollection.php:41 | 6 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupIndex.php:22 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserIndex.php:31 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:650 | 6 | - Unsupported Types With Operators
- No Null For Native PHP Functions
- Nested Ifthen
- Wrong Type For Native PHP Function
- Indices Are Int Or String
- Non Integer Nor String As Index
|
/system/src/Grav/Common/GPM/Common/AbstractPackageCollection.php:21 | 6 | - Ambiguous Visibilities
- Ambiguous Static
- Never Used Properties
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/system/src/Grav/Common/GPM/GPM.php:637 | 6 | - False To Array Conversion
- Useless Parenthesis
- Useless Instructions
- Uses Default Values
- Only Variable Passed By Reference
- No Choice
|
/system/src/Grav/Common/GPM/Installer.php:231 | 6 | - No Null For Native PHP Functions
- Missing Assignation In Branches
- Buried Assignation
- Wrong Parameter Type
- Iffectations
- Uses Default Values
|
/system/src/Grav/Common/Grav.php:83 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Same Name For Property And Method
- Wrong Typed Property Default
|
/system/src/Grav/Common/Media/Traits/MediaObjectTrait.php:422 | 6 | - Buried Assignation
- Modernize Empty With Expression
- Don't Collect Void
- Uses Default Values
- Only Variable Passed By Reference
- Implied If
|
/system/src/Grav/Common/Page/Medium/ImageMedium.php:30 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/system/src/Grav/Common/Page/Medium/Medium.php:34 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/system/src/Grav/Common/Page/Medium/StaticImageMedium.php:20 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/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 | - Undefined Properties
- Uses Default Values
- Only Variable Passed By Reference
- Useless Type Casting
- Wrong Type Returned
- Useless Null Coalesce
|
/system/src/Grav/Common/Page/Page.php:1715 | 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
- Useless Instructions
- Weak Type With Array
- Uses Default Values
- Strict Comparison With Booleans
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:971 | 6 | - No Null For Native PHP Functions
- Wrong Parameter Type
- Useless Instructions
- Weak Type With Array
- Could Make A Function
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:1821 | 6 | - Too Many Local Variables
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Common/Page/Pages.php:1944 | 6 | - No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Uses Default Values
- Only Variable Passed By Reference
- Indices Are Int Or String
|
/system/src/Grav/Common/Plugin.php:280 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/system/src/Grav/Common/Service/AccountsServiceProvider.php:139 | 6 | - Used Once Variables (In Scope)
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Undefined Interfaces
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:893 | 6 | - Unused Public Methods
- Assumptions
- Used Once Variables (In Scope)
- Unused Parameter
- Undefined Classes
- Undefined Interfaces
|
/system/src/Grav/Common/Uri.php:56 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Unfinished Object
- Same Name For Property And Method
- Wrong Type With Default
|
/system/src/Grav/Common/Uri.php:373 | 6 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Same Name For Property And Method
|
/system/src/Grav/Common/Uri.php:1409 | 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/Common/User/DataUser/User.php:32 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/system/src/Grav/Common/User/Traits/UserTrait.php:79 | 6 | - Ambiguous Static
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Console/Application/Application.php:73 | 6 | - Unused Public Methods
- Used Once Variables (In Scope)
- Unused Parameter
- Empty Function
- Undefined Classes
- Undefined Interfaces
|
/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
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Mismatched Typehint
- Drop Else After Return
|
/system/src/Grav/Console/Gpm/InstallCommand.php:557 | 6 | - Unsupported Types With Operators
- Variable Is Not A Condition
- No Need For Else
- Use Positive Condition
- Bail Out Early
- Drop Else After Return
|
/system/src/Grav/Framework/Acl/Permissions.php:159 | 6 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
|
/system/src/Grav/Framework/Cache/Adapter/FileCache.php:66 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Used Once Variables (In Scope)
- Iffectations
- Uses Default Values
- Undefined Variable
|
/system/src/Grav/Framework/File/Formatter/MarkdownFormatter.php:26 | 6 | - Assumptions
- Undefined Classes
- Parent First
- Hidden Nullable Typehint
- Wrong Type With Default
- Never Called Parameter
|
/system/src/Grav/Framework/Filesystem/Filesystem.php:43 | 6 | - Use Named Boolean In Argument Definition
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Flex.php:97 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Flex.php:326 | 6 | - Should Use Local Class
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Flex.php:328 | 6 | - No Null For Native PHP Functions
- Wrong Parameter Type
- 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
- Useless Instructions
- Uses Default Values
- Could Make A Function
- Wrong Type Returned
- No Choice
|
/system/src/Grav/Framework/Flex/FlexCollection.php:45 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:217 | 6 | - Unused Public Methods
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:405 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:432 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:36 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/system/src/Grav/Framework/Flex/FlexForm.php:37 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/system/src/Grav/Framework/Flex/FlexForm.php:117 | 6 | - Scalar Are Not Arrays
- Overwritten Literals
- Useless Instructions
- Weak Type With Array
- Mismatched Typehint
- No Choice
|
/system/src/Grav/Framework/Flex/FlexIndex.php:285 | 6 | - No Null For Index
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/FlexIndex.php:560 | 6 | - Method Signature Must Be Compatible
- Undefined Classes
- Hidden Nullable Typehint
- Different Argument Counts
- Could Inject Parameter
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/FlexObject.php:743 | 6 | - Method Is Not An If
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Interfaces/FlexInterface.php:49 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Pages/FlexPageIndex.php:29 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- 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
- Uses Default Values
- Only Variable Passed By Reference
- Use Same Types For Comparisons
- Wrong Type Returned
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:433 | 6 | - Method Signature Must Be Compatible
- Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageContentTrait.php:507 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:376 | 6 | - Useless Coalesce
- Variable Is Not A Condition
- Uses Default Values
- Only Variable Passed By Reference
- Useless Short Ternary
- Wrong Type Returned
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:863 | 6 | - Wrong Precedence In Expression
- strpos() Too Much
- Uses Default Values
- Only Variable Passed By Reference
- Useless Type Casting
- Useless Null Coalesce
|
/system/src/Grav/Framework/Flex/Storage/FileStorage.php:45 | 6 | - Unused Public Methods
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
- Unreachable Method
|
/system/src/Grav/Framework/Flex/Storage/FolderStorage.php:138 | 6 | - No Default For Referenced Parameter
- Unused Public Methods
- Class-typed References
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:151 | 6 | - No Default For Referenced Parameter
- Unused Public Methods
- Class-typed References
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:317 | 6 | - Unused Public Methods
- Empty Function
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Form/FormFlash.php:253 | 6 | - Method Signature Must Be Compatible
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Framework/Form/FormFlash.php:390 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
|
/system/src/Grav/Framework/Form/FormFlash.php:541 | 6 | - Assumptions
- No Null For Index
- Undefined Classes
- StandaloneType True False Null
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/Form/FormFlash.php:584 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Weak Type With Array
- Indices Are Int Or String
- Non Integer Nor String As Index
|
/system/src/Grav/Framework/Form/Traits/FormTrait.php:199 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Indices Are Int Or String
- Null Or Boolean Arrays
- Non Integer Nor String As Index
|
/system/src/Grav/Framework/Object/ObjectCollection.php:29 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Could Be Abstract Class
|
/system/src/Grav/Framework/Relationships/ToManyRelationship.php:86 | 6 | - Unused Public Methods
- Mismatched Typehint
- Mismatched Default Arguments
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Framework/RequestHandler/Exception/NotFoundException.php:29 | 6 | - Method Is Not An If
- Incompatible Signature Methods With Covariance
- Mismatched Typehint
- Undefined Classes
- Hidden Nullable Typehint
- Wrong Type With Default
|
/system/src/Grav/Installer/Versions.php:45 | 6 | - Unsupported Types With Operators
- No Null For Index
- Ambiguous Array Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Wrong Type Returned
|