/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:52 | 12 | - Should Use Local Class
- Mismatched Type
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:69 | 12 | - Assumptions
- Should Use Local Class
- Mismatched Type
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageAuthorsTrait.php:119 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Type
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Grav/Common/Page/Pages.php:1851 | 10 | - Ambiguous Array Index
- Weak Type With Array
- Indices Are Int Or String
- No Null For Index
- Uses Default Values
- Don't Collect Void
|
/system/src/Grav/Common/User/User.php:26 | 10 | - Trait Not Found
- Repeated Interface
- Already Parents Trait
- Multiple Class Declarations
- Method Collision Traits
- Abstract Or Implements
- Should Make Alias
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Console/Application/PluginApplication.php:68 | 10 | - Unused Public Methods
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitor.php:34 | 10 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- StandaloneType True False Null
|
/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php:46 | 10 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- StandaloneType True False Null
|
/system/src/Grav/Framework/Controller/Traits/ControllerResponseTrait.php:90 | 9 | - Should Use Local Class
- Mismatched Type
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Flex.php:274 | 9 | - Unused Public Methods
- Mismatched Default Arguments
- Mismatched Type
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
|
/system/src/Grav/Common/Data/Validation.php:1049 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Empty Function
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:496 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
|
/system/src/Grav/Common/Flex/Types/Users/UserObject.php:74 | 8 | - Trait Not Found
- Repeated Interface
- Already Parents Trait
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Could Be Abstract Class
|
/system/src/Grav/Common/Language/Language.php:361 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Wrong Type With Default
- Implicit Nullable Type
|
/system/src/Grav/Framework/Flex/FlexObject.php:398 | 8 | - Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
- Missing Some Returntype
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:254 | 8 | - Useless Method
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
- Method Could Be Static
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:273 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:122 | 8 | - Wrong Parameter Type
- Wrong Type For Native PHP Function
- Null Or Boolean Arrays
- Ambiguous Array Index
- No Null For Index
- No Null For Native PHP Functions
- Uses Default Values
- Wrong Type Returned
|
/system/src/Grav/Framework/Flex/Traits/FlexMediaTrait.php:308 | 8 | - Mismatched Type
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Grav/Framework/Relationships/ToOneRelationship.php:108 | 8 | - Unused Public Methods
- Mismatched Default Arguments
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Missing Some Returntype
|
/system/src/Grav/Common/Data/BlueprintSchema.php:269 | 7 | - Undefined Properties
- Modernize Empty With Expression
- Ambiguous Array Index
- Useless Instructions
- No Null For Index
- No Choice
|
/system/src/Grav/Common/Flex/Types/Pages/PageCollection.php:53 | 7 | - Repeated Interface
- Can't Implement Traversable
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/UserGroups/UserGroupCollection.php:22 | 7 | - 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/Helpers/Truncator.php:246 | 7 | - Unused Public Methods
- Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Method Could Be Static
|
/system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php:36 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/system/src/Grav/Common/Page/Pages.php:1256 | 7 | - Htmlentities Using Default Flag
- Htmlentities Calls
- Wrong Type For Native PHP Function
- Uses Default Values
- Don't Collect Void
- Preprocessable
|
/system/src/Grav/Common/User/User.php:87 | 7 | - Repeated Interface
- Multiple Class Declarations
- Abstract Or Implements
- Should Make Alias
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Framework/Acl/Permissions.php:187 | 7 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/FlexObject.php:1021 | 7 | - Assumptions
- Method Signature Must Be Compatible
- Mismatched Type
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:55 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:255 | 7 | - Unused Public Methods
- Should Use Local Class
- Must Return Methods
- Undefined Classes
- Undefined Interfaces
- StandaloneType True False Null
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:294 | 7 | - Insufficient Type
- Ambiguous Static
- No Return Used
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
- Never Called Parameter
|
/system/src/Grav/Framework/Flex/Storage/SimpleStorage.php:391 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Framework/Form/FormFlash.php:380 | 7 | - Ambiguous Array Index
- Useless Instructions
- Weak Type With Array
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Form/FormFlash.php:552 | 7 | - Ambiguous Array Index
- Useless Instructions
- Weak Type With Array
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Relationships/Relationships.php:108 | 7 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Common/Config/CompiledConfig.php:57 | 6 | - Unused Public Methods
- Method Signature Must Be Compatible
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Data/BlueprintSchema.php:181 | 6 | - Max Level Of Nesting
- Assumptions
- Too Many Local Variables
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
|
/system/src/Grav/Common/Data/Validation.php:819 | 6 | - Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Common/Data/ValidationException.php:52 | 6 | - Undefined Properties
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- No Null For Native PHP Functions
- Uses Default Values
- Could Make A Function
|
/system/src/Grav/Common/Flex/Types/Generic/GenericCollection.php:22 | 6 | - 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/PageCollection.php:803 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:51 | 6 | - Repeated Interface
- Can't Implement Traversable
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Flex/Types/Pages/PageIndex.php:288 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Pages/PageObject.php:283 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Common/Flex/Types/Users/UserCollection.php:25 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/GPM/GPM.php:506 | 6 | - Variable Is Not A Condition
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- No Choice
|
/system/src/Grav/Common/GPM/GPM.php:529 | 6 | - Variable Is Not A Condition
- Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- No Choice
|
/system/src/Grav/Common/GPM/Installer.php:80 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
|
/system/src/Grav/Common/GPM/Installer.php:231 | 6 | - Missing Assignation In Branches
- Wrong Parameter Type
- Buried Assignation
- Iffectations
- No Null For Native PHP Functions
- Uses Default Values
|
/system/src/Grav/Common/GPM/Installer.php:299 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- No Return Used
- Could Inject Parameter
|
/system/src/Grav/Common/Grav.php:83 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Same Name For Property And Method
- Wrong Typed Property Default
- Unfinished Object
|
/system/src/Grav/Common/Grav.php:588 | 6 | - Undefined Classes
- Undefined Interfaces
- No Return Used
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Grav/Common/Helpers/Excerpts.php:190 | 6 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|
/system/src/Grav/Common/Page/Collection.php:32 | 6 | - Repeated Interface
- Can't Implement Traversable
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/AudioMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/ThumbnailImageMedium.php:18 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VectorImageMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/Medium/VideoMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/system/src/Grav/Common/Page/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:966 | 6 | - Ambiguous Array Index
- Useless Instructions
- Weak Type With Array
- Indices Are Int Or String
- No Null For Index
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:971 | 6 | - Wrong Parameter Type
- Useless Instructions
- Weak Type With Array
- No Null For Native PHP Functions
- Could Make A Function
- No Choice
|
/system/src/Grav/Common/Page/Pages.php:1233 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Grav/Common/Scheduler/Scheduler.php:191 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Wrong Type With Default
- Implicit Nullable Type
- Modified Typed Parameter
|
/system/src/Grav/Common/Service/AccountsServiceProvider.php:139 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Method Could Be Static
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:893 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
|
/system/src/Grav/Common/Twig/Extension/GravExtension.php:980 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Method Could Be Static
|
/system/src/Grav/Console/Application/Application.php:73 | 6 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Empty Function
- Undefined Interfaces
|
/system/src/Grav/Console/Gpm/DirectInstallCommand.php:143 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type For Native PHP Function
- Mismatched Type
- Drop Else After Return
|
/system/src/Grav/Framework/Acl/Permissions.php:196 | 6 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Framework/Cache/Adapter/FileCache.php:66 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Undefined Variable
- Used Once Variables (In Scope)
- Iffectations
- Uses Default Values
|
/system/src/Grav/Framework/File/Formatter/AbstractFormatter.php:112 | 6 | - Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Filesystem/Filesystem.php:81 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Flex.php:328 | 6 | - Wrong Parameter Type
- Wrong Type For Native PHP Function
- No Null For Native PHP Functions
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/system/src/Grav/Framework/Flex/Flex.php:329 | 6 | - Useless Instructions
- No Null For Native PHP Functions
- Uses Default Values
- Could Make A Function
- Wrong Type Returned
- No Choice
|
/system/src/Grav/Framework/Flex/FlexCollection.php:693 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:219 | 6 | - Wrong Precedence In Expression
- Coalesce And Ternary Operators Order
- Variable Is Not A Condition
- Nested Ternary
- Useless Short Ternary
- Useless Coalesce
|
/system/src/Grav/Framework/Flex/FlexDirectory.php:444 | 6 | - Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Flex/FlexDirectoryForm.php:353 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Wrong Type With Default
- Implicit Nullable Type
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexForm.php:117 | 6 | - Overwritten Literals
- Useless Instructions
- Weak Type With Array
- Scalar Are Not Arrays
- Mismatched Type
- No Choice
|
/system/src/Grav/Framework/Flex/FlexForm.php:431 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Wrong Type With Default
- Implicit Nullable Type
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexIndex.php:349 | 6 | - Ambiguous Array Index
- Useless Instructions
- Indices Are Int Or String
- No Null For Index
- Non Integer Nor String As Index
- No Choice
|
/system/src/Grav/Framework/Flex/FlexIndex.php:922 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/FlexObject.php:1146 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:433 | 6 | - Assumptions
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
- Method Could Be Static
|
/system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1034 | 6 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Method Could Be Static
|
/system/src/Grav/Framework/Form/FormFlash.php:253 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
|
/system/src/Grav/Framework/Object/ObjectIndex.php:44 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Different Argument Counts
- Never Called Parameter
|
/system/src/Grav/Framework/Relationships/Relationships.php:117 | 6 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/system/src/Grav/Framework/Relationships/ToManyRelationship.php:133 | 6 | - Unused Public Methods
- Mismatched Default Arguments
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Missing Some Returntype
|
/system/src/Grav/Installer/Versions.php:37 | 6 | - No Null For Index
- Mismatched Type
- Could Inject Parameter
- Same Name For Property And Method
- Wrong Type With Default
- Implicit Nullable Type
|