| /system/src/Grav/Common/Page/Pages.php:1851 | 10 | - Weak Type With Array
- Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Don't Collect Void
- Uses Default Values
|
| /system/src/Grav/Console/Application/PluginApplication.php:68 | 10 | - Unused Public Methods
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Modified Typed Parameter
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/FlexDirectory.php:375 | 9 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Common/Data/Validation.php:1049 | 8 | - Unused Public Methods
- Should Use Local Class
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
| /system/src/Grav/Common/Language/Language.php:361 | 8 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/FlexDirectory.php:402 | 8 | - No Null For Index
- Undefined Classes
- Mismatched Type
- Undefined Interfaces
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/FlexDirectory.php:425 | 8 | - Unused Public Methods
- No Null For Index
- Undefined Classes
- Mismatched Type
- Undefined Interfaces
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/FlexObject.php:288 | 8 | - Mismatched Type Usage
- Unused Public Methods
- Mismatched Default Arguments
- Wrong Type With Default
- Implicit Nullable Type
- Missing Some Returntype
|
| /system/src/Grav/Framework/Flex/FlexObject.php:398 | 8 | - Assumptions
- Should Use Local Class
- Unused Parameter
- Used Once Variables (In Scope)
- Wrong Type With Default
- Implicit Nullable Type
- Method Could Be Static
- Missing Some Returntype
|
| /system/src/Grav/Framework/Flex/Interfaces/FlexDirectoryInterface.php:110 | 8 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/Pages/Traits/PageTranslateTrait.php:273 | 8 | - No Boolean As Default
- 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/Traits/FlexMediaTrait.php:308 | 8 | - Mismatched Type
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Implicit Nullable Type
|
| /system/src/Grav/Common/Data/BlueprintSchema.php:181 | 7 | - Renamed Parameter
- Max Level Of Nesting
- Assumptions
- Ambiguous Static
- No Boolean As Default
- Too Many Local Variables
- Use Named Boolean In Argument Definition
|
| /system/src/Grav/Common/Data/BlueprintSchema.php:269 | 7 | - Undefined Properties
- Modernize Empty With Expression
- Ambiguous Array Index
- No Null For Index
- Useless Instructions
- No Choice
|
| /system/src/Grav/Common/Helpers/Truncator.php:246 | 7 | - Max Level Of Nesting
- Unused Public Methods
- Ambiguous Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Method Could Be Static
|
| /system/src/Grav/Common/Media/Traits/ThumbnailMediaTrait.php:36 | 7 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Should Use Local Class
- Unused Parameter
- 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
- Don't Collect Void
- Uses Default Values
- Preprocessable
|
| /system/src/Grav/Common/Scheduler/Job.php:888 | 7 | - Weak Type With Array
- 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/Common/User/User.php:87 | 7 | - Repeated Interface
- Abstract Or Implements
- Should Make Alias
- Multiple Class Declarations
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Framework/Acl/Permissions.php:187 | 7 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Unused Parameter
- 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
- Modified Typed Parameter
- Implicit Nullable Type
- Different Argument Counts
|
| /system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:254 | 7 | - Useless Method
- Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
- Method Could Be Static
|
| /system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:55 | 7 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Unused Parameter
- 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
- Modified Typed Parameter
- Implicit Nullable Type
- Never Called Parameter
|
| /system/src/Grav/Framework/Form/FormFlash.php:380 | 7 | - Weak Type With Array
- 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/Form/FormFlash.php:552 | 7 | - Weak Type With Array
- 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/Common/Config/CompiledConfig.php:57 | 6 | - Unused Public Methods
- Ambiguous Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
|
| /system/src/Grav/Common/Data/Validation.php:819 | 6 | - Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
| /system/src/Grav/Common/Data/ValidationException.php:52 | 6 | - Undefined Properties
- Variable Is Not A Condition
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
|
| /system/src/Grav/Common/GPM/GPM.php:506 | 6 | - Variable Is Not A Condition
- Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
| /system/src/Grav/Common/GPM/GPM.php:529 | 6 | - Variable Is Not A Condition
- Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
| /system/src/Grav/Common/GPM/Installer.php:80 | 6 | - Ambiguous Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
|
| /system/src/Grav/Common/GPM/Installer.php:231 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Wrong Parameter Type
- Iffectations
- No Null For Native PHP Functions
- Uses Default Values
|
| /system/src/Grav/Common/GPM/Installer.php:299 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- 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
- Unfinished Object
- Wrong Typed Property Default
|
| /system/src/Grav/Common/Grav.php:588 | 6 | - Undefined Classes
- Undefined Interfaces
- No Return Used
- Wrong Type With Default
- Modified Typed Parameter
- Implicit Nullable Type
|
| /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/Media/Traits/MediaObjectTrait.php:422 | 6 | - No Array In Isset
- Modernize Empty With Expression
- Buried Assignation
- Don't Collect Void
- Uses Default Values
- Implied If
|
| /system/src/Grav/Common/Page/Collection.php:32 | 6 | - Repeated Interface
- Can't Implement Traversable
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Common/Page/Medium/AudioMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Common/Page/Medium/ThumbnailImageMedium.php:18 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Common/Page/Medium/VectorImageMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Common/Page/Medium/VideoMedium.php:19 | 6 | - Repeated Interface
- Method Collision Traits
- Abstract Or Implements
- Already Parents Interface
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Common/Page/Pages.php:716 | 6 | - Weak Type With Array
- Useless Parenthesis
- Useless Instructions
- Uses Default Values
- Strict Comparison With Booleans
- No Choice
|
| /system/src/Grav/Common/Page/Pages.php:966 | 6 | - Weak Type With Array
- Ambiguous Array Index
- No Null For Index
- Indices Are Int Or String
- Useless Instructions
- No Choice
|
| /system/src/Grav/Common/Page/Pages.php:971 | 6 | - Wrong Parameter Type
- Weak Type With Array
- No Null For Native PHP Functions
- Useless Instructions
- Could Make A Function
- No Choice
|
| /system/src/Grav/Common/Page/Pages.php:1233 | 6 | - Ambiguous Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Wrong Type With Default
- Modified Typed Parameter
- Implicit Nullable Type
|
| /system/src/Grav/Common/Scheduler/Scheduler.php:263 | 6 | - No Boolean As Default
- Use Named Boolean In Argument Definition
- Wrong Type With Default
- Modified Typed Parameter
- Implicit Nullable Type
- Never Called Parameter
|
| /system/src/Grav/Common/Security.php:33 | 6 | - Mismatched Type Usage
- Mismatched Default Arguments
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
- Never Called Parameter
|
| /system/src/Grav/Common/Service/AccountsServiceProvider.php:139 | 6 | - Should Use Local Class
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
- Method Could Be Static
|
| /system/src/Grav/Common/Twig/Extension/GravExtension.php:893 | 6 | - Assumptions
- Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Undefined Interfaces
|
| /system/src/Grav/Common/Twig/Extension/GravExtension.php:980 | 6 | - Unused Public Methods
- No Boolean As Default
- Use Named Boolean In Argument Definition
- 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)
- Empty Function
- Undefined Classes
- 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 | - PHP Native Class Type Compatibility
- Unused Public Methods
- Should Use Local Class
- Unused Parameter
- 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
- Used Once Variables (In Scope)
- Iffectations
- Undefined Variable
- Uses Default Values
|
| /system/src/Grav/Framework/Flex/FlexCollection.php:45 | 6 | - Trait Not Found
- Repeated Interface
- Abstract Or Implements
- Undefined Interfaces
- Already Parents Interface
- Class Could Be Final
|
| /system/src/Grav/Framework/Flex/FlexCollection.php:693 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- 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
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
| /system/src/Grav/Framework/Flex/FlexDirectory.php:1123 | 6 | - Unused Public Methods
- No Null For Index
- Undefined Classes
- Undefined Interfaces
- Wrong Type With Default
- Implicit Nullable Type
|
| /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
- Weak Type With Array
- Useless Instructions
- 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
- No Null For Index
- Indices Are Int Or String
- Non Integer Nor String As Index
- Useless Instructions
- No Choice
|
| /system/src/Grav/Framework/Flex/FlexIndex.php:922 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
|
| /system/src/Grav/Framework/Flex/FlexObject.php:416 | 6 | - No Array In Isset
- Merge If Then
- Nested Ifthen
- Useless Parenthesis
- Iffectations
- Scalar Are Not Arrays
|
| /system/src/Grav/Framework/Flex/Interfaces/FlexDirectoryInterface.php:133 | 6 | - Unused Public Methods
- Undefined Classes
- Undefined Interfaces
- StandaloneType True False Null
- Wrong Type With Default
- Implicit Nullable Type
|
| /system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:37 | 6 | - Trait Not Found
- Method Collision Traits
- Abstract Or Implements
- Undefined Interfaces
- Class Could Be Final
- Interfaces Is Not Implemented
|
| /system/src/Grav/Framework/Flex/Pages/FlexPageObject.php:433 | 6 | - Assumptions
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
- Method Could Be Static
|
| /system/src/Grav/Framework/Flex/Pages/Traits/PageLegacyTrait.php:1034 | 6 | - Unused Public Methods
- Ambiguous Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- 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
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
|
| /system/src/Grav/Framework/Object/ObjectIndex.php:44 | 6 | - Incompatible Signature Methods With Covariance
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- Different Argument Counts
- Never Called Parameter
|
| /system/src/Grav/Installer/Versions.php:37 | 6 | - No Null For Index
- Mismatched Type
- Same Name For Property And Method
- Could Inject Parameter
- Wrong Type With Default
- Implicit Nullable Type
|