None:25 | 260 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Wrong Number Of Arguments
- Empty Classes
- Use const
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:36 | 256 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Useless Abstract Class
- String May Hold A Variable
- Undefined Variable
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- include_once() Usage
- Unused Classes
- No Parenthesis For Language Construct
- Class Could Be Final
- Preprocessable
|
None:26 | 250 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Multiple Alias Definitions
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:27 | 240 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Could Make A Function
- Class Could Be Final
- Preprocessable
- Implied If
|
None:5 | 228 | - Maybe Missing New
- Unused Global
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Empty Interfaces
- Class Could Be Final
- Useless Interfaces
- Preprocessable
|
None:35 | 227 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Undefined Variable
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Empty Interfaces
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Unused Classes
- Class Could Be Final
- Useless Interfaces
- Preprocessable
|
None:31 | 225 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Multiple Alias Definitions
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- Use const
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:39 | 220 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Class Could Be Final
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:29 | 215 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Multiple Alias Definitions
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Preprocessable
|
None:9 | 213 | - Unused Public Methods
- Maybe Missing New
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Empty Interfaces
- Undefined Classes
- Unused Enumeration Case
- Empty Traits
- Unused Classes
- Class Could Be Final
- Useless Interfaces
|
None:44 | 210 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Class Could Be Final
- Preprocessable
|
None:28 | 208 | - Exit Without Argument
- Useless Try
- Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:46 | 206 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Class Could Be Final
- Preprocessable
|
None:54 | 205 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Class Could Be Final
- Preprocessable
|
None:47 | 204 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- Class Could Be Final
- Preprocessable
|
None:41 | 198 | - Useless Try
- No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Empty Classes
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- include_once() Usage
- Class Could Be Final
- Preprocessable
|
None:48 | 197 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Class Could Be Final
- Preprocessable
|
None:68 | 197 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- Native Alias Functions Usage
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Hardcoded Passwords
- Preprocessable
|
None:67 | 195 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:56 | 194 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Use ::Class Operator
- include_once() Usage
- Preprocessable
|
None:43 | 191 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Repeated Interface
- Ambiguous Visibilities
- Abstract Or Implements
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Multiple Identical Trait Or Interface
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:30 | 190 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Multiple Alias Definitions
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Native Alias Functions Usage
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Functions
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- @ Operator
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:45 | 190 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
|
None:52 | 183 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Pre-increment
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Preprocessable
|
None:34 | 181 | - Exit Without Argument
- Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- Use const
- $this Belongs To Classes Or Traits
- Undefined Constants
- Empty Interfaces
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Class Could Be Final
- Preprocessable
|
None:65 | 181 | - Useless Try
- No Null For Index
- Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Hardcoded Passwords
- Preprocessable
|
None:24 | 180 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Multiple Alias Definitions
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Use const
- $this Belongs To Classes Or Traits
- Undefined Constants
- Empty Interfaces
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Useless Interfaces
- Preprocessable
|
None:82 | 180 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
- Use === null
|
None:42 | 179 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Useless Abstract Class
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- Class Could Be Final
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:66 | 177 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Functions
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:74 | 177 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Hardcoded Passwords
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:58 | 175 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:63 | 174 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:38 | 173 | - Unused Public Methods
- Undefined Properties
- Using Deprecated Method
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Class Could Be Final
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:23 | 172 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:51 | 169 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Pre-increment
- Preprocessable
|
None:90 | 169 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
|
None:19 | 168 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Empty Interfaces
- Uses Default Values
- Undefined Classes
- Unused Enumeration Case
- Use random_int()
- Useless Interfaces
- Preprocessable
|
None:33 | 167 | - Exit Without Argument
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- Useless Abstract Class
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Could Make A Function
- Class Could Be Final
- Preprocessable
- Implied If
|
None:81 | 167 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- Use const
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- New Object Then Immediate Call
- Preprocessable
|
None:55 | 166 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Useless Abstract Class
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- Preprocessable
|
None:70 | 166 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Ambiguous Static
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- Method Could Be Static
- Preprocessable
|
None:37 | 165 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Using Deprecated Method
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- include_once() Usage
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:40 | 162 | - Exit Without Argument
- Useless Try
- Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Class Could Be Final
- Preprocessable
|
None:7 | 161 | - Maybe Missing New
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Empty Interfaces
- Empty Traits
- Class Could Be Final
- Useless Interfaces
|
None:73 | 161 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:72 | 158 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Returned Value
- Preprocessable
|
None:60 | 156 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Using Deprecated Method
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Pre-increment
- Method Could Be Static
- Preprocessable
|
None:57 | 154 | - No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:83 | 154 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:64 | 153 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Should Typecast
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:85 | 153 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Unused Returned Value
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:84 | 151 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Method Could Be Static
- Wrong Type Returned
- Preprocessable
|
None:77 | 149 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- include_once() Usage
- Hardcoded Passwords
- Preprocessable
|
None:94 | 147 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
|
None:21 | 146 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Use Instanceof
- Multiple Alias Definitions
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:61 | 146 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Wrong Type Returned
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:32 | 145 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Multiple Alias Definitions
- Hidden Use Expression
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:71 | 141 | - Unused Public Methods
- Wrong Type For Native PHP Function
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Global Usage
- Hardcoded Passwords
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:76 | 140 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Functions
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:80 | 140 | - Useless Try
- Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Using Deprecated Method
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Access Protected Structures
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:79 | 139 | - Useless Try
- No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Native Alias Functions Usage
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Preprocessable
- Use === null
|
None:89 | 139 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- Preprocessable
|
None:96 | 138 | - No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Undefined Variable
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Unused Returned Value
- Preprocessable
|
None:49 | 137 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:59 | 135 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- Ambiguous Visibilities
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:62 | 135 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- Use const
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Use random_int()
- Preprocessable
|
None:98 | 134 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Use === null
|
None:75 | 133 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:22 | 132 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:69 | 132 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:107 | 132 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:116 | 132 | - Useless Try
- No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:53 | 129 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:78 | 128 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Unused Enumeration Case
- Preprocessable
|
None:91 | 128 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Type Must Be Returned
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Must Return Methods
- $this Belongs To Classes Or Traits
- Methods Without Return
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:50 | 127 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Functions
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:103 | 127 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Empty Function
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- @ Operator
- Preprocessable
|
None:137 | 127 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Check JSON
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
/lib/aws-sdk/src/data/servicecatalog/2015-12-10/api-2.json.php:3 | 126 | - self, parent, static Outside Class
- Don't Collect Void
- Use ::Class Operator
- No Hardcoded Hash
- Hardcoded Passwords
- Randomly Sorted Arrays
|
None:99 | 126 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:105 | 125 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:86 | 123 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- String May Hold A Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:104 | 123 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- Preprocessable
- Use === null
|
None:111 | 122 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:95 | 121 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Method Could Be Static
- Preprocessable
|
None:93 | 118 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:124 | 117 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:92 | 116 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- Preprocessable
|
None:12 | 115 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:125 | 115 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:126 | 115 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Use PHP Object API
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:87 | 112 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:88 | 112 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:108 | 112 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Use PHP Object API
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:129 | 109 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Buried Assignation
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Use random_int()
- Preprocessable
|
None:136 | 108 | - Useless Try
- Unused Public Methods
- Htmlentities Using Default Flag
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Htmlentities Calls
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Should Typecast
- Preprocessable
|
None:112 | 107 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
|
None:113 | 107 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Should Use Ternary Operator
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:118 | 107 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:10 | 106 | - Maybe Missing New
- Useless Brackets
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
|
None:110 | 106 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Use PHP Object API
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
- Use === null
|
None:97 | 105 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:17 | 104 | - Unused Public Methods
- Ambiguous Visibilities
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:117 | 104 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Unused Parameter
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
- Missing Some Returntype
|
None:101 | 103 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- Preprocessable
- Use === null
|
None:141 | 103 | - Unused Public Methods
- Undefined Properties
- Use Instanceof
- Maybe Missing New
- Bail Out Early
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- @ Operator
- Preprocessable
|
None:14 | 102 | - Unused Public Methods
- Ambiguous Visibilities
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Empty Interfaces
- Uses Default Values
- Undefined Classes
- Unused Enumeration Case
- Empty Traits
- Class Could Be Final
- Preprocessable
|
None:109 | 102 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Empty Function
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
- Use === null
|
None:158 | 102 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:102 | 101 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:122 | 99 | - No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:130 | 98 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
- Use === null
|
None:100 | 97 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
|
None:106 | 96 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:121 | 95 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:156 | 94 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Check JSON
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:135 | 93 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Unused Returned Value
- Preprocessable
|
None:20 | 92 | - Check Division By Zero
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:123 | 92 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- include_once() Usage
- Preprocessable
|
/lib/aws-sdk/src/data/wellarchitected/2020-03-31/api-2.json.php:3 | 91 | - self, parent, static Outside Class
- Don't Collect Void
- Use ::Class Operator
- No Hardcoded Hash
- Hardcoded Passwords
- Randomly Sorted Arrays
|
None:138 | 90 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:148 | 90 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Use Instanceof
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Should Typecast
- Preprocessable
|
None:140 | 89 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Pre-increment
- Preprocessable
|
None:152 | 88 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Bail Out Early
- No Need For Else
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Drop Else After Return
- Preprocessable
|
None:115 | 86 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Empty Function
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
- Use === null
|
None:127 | 86 | - Exit Without Argument
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- Preprocessable
|
None:131 | 86 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Global Usage
- Could Make A Function
- Preprocessable
|
None:11 | 84 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:128 | 81 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
- Use === null
|
None:16 | 80 | - Unused Public Methods
- Undefined Properties
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:114 | 79 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
- Use === null
|
None:133 | 78 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:145 | 77 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:160 | 76 | - Useless Try
- No Null For Index
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Non Static Methods Called In A Static
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:173 | 76 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
- Logical Should Use Symbolic Operators
- Use === null
|
None:176 | 76 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:134 | 75 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:146 | 75 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:157 | 75 | - Exit Without Argument
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:159 | 75 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:18 | 74 | - Unused Public Methods
- Check Division By Zero
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Unused Global
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unused Enumeration Case
- Class Could Be Final
- Preprocessable
|
None:153 | 73 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Use random_int()
- Wrong Type Returned
- Preprocessable
|
None:177 | 73 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Wrong Type Returned
- Preprocessable
|
None:132 | 72 | - Weak Type With Array
- Unused Public Methods
- False To Array Conversion
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Should Typecast
- Preprocessable
- Use === null
|
None:142 | 72 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:179 | 72 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Pre-increment
- Global Usage
- No Hardcoded Hash
- Preprocessable
|
None:197 | 72 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Bail Out Early
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:8 | 71 | - Maybe Missing New
- Unused Global
- Empty Classes
- Undefined Constants
- Empty Interfaces
- Class Could Be Final
- Useless Interfaces
|
None:139 | 71 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Use === null
|
None:147 | 71 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Unused Parameter
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- No Hardcoded Hash
- Preprocessable
- Missing Some Returntype
|
None:149 | 71 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- include_once() Usage
- No Parenthesis For Language Construct
- Preprocessable
|
None:151 | 70 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:120 | 69 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Wrong Type Returned
- Preprocessable
|
None:143 | 69 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:166 | 69 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:119 | 66 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:174 | 66 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- include_once() Usage
- No Parenthesis For Language Construct
- Preprocessable
- Use === null
|
None:204 | 66 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Using Deprecated Method
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:15 | 65 | - Unused Public Methods
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Empty Classes
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Unused Enumeration Case
- Unused Classes
- Class Could Be Final
- Preprocessable
|
None:167 | 65 | - Unused Public Methods
- Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:227 | 65 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:193 | 64 | - Exit Without Argument
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:144 | 63 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:231 | 63 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:154 | 62 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- include_once() Usage
- Unused Returned Value
- Preprocessable
- Else If Versus Elseif
|
None:171 | 62 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Pre-increment
- Preprocessable
|
None:223 | 62 | - Unused Public Methods
- Undefined Properties
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:185 | 61 | - Unused Public Methods
- Don't Pollute Global Space
- Check Division By Zero
- Undefined Properties
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:150 | 60 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:163 | 60 | - Unused Public Methods
- Htmlentities Using Default Flag
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Non Static Methods Called In A Static
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Htmlentities Calls
- Uses Default Values
- Undefined Classes
- No Hardcoded Hash
- Preprocessable
|
None:170 | 60 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
- Use === null
|
None:192 | 60 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Buried Assignation
- Maybe Missing New
- Useless Brackets
- Avoid Using stdClass
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Use ::Class Operator
- include_once() Usage
- Preprocessable
|
None:202 | 60 | - Unused Public Methods
- Undefined Properties
- Use Instanceof
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Hardcoded Passwords
- Preprocessable
|
None:207 | 60 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:13 | 59 | - Unused Public Methods
- Ambiguous Visibilities
- Maybe Missing New
- Useless Brackets
- Useless Abstract Class
- Parent, Static Or Self Outside Class
- Empty Classes
- Undefined Constants
- Undefined Classes
- Unused Enumeration Case
- Empty Traits
- Class Could Be Final
- Preprocessable
|
None:155 | 59 | - Useless Try
- Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Variable Is Not A Condition
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Wrong Type Returned
- Preprocessable
|
None:161 | 59 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Should Typecast
- Preprocessable
|
None:172 | 59 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Unused Parameter
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
- Missing Some Returntype
|
None:219 | 59 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:178 | 58 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:205 | 58 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:210 | 58 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- var_dump()... Usage
- Preprocessable
|
None:164 | 57 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Pre-increment
- Unpreprocessed Values
- Preprocessable
|
None:229 | 57 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use random_int()
- Preprocessable
|
None:275 | 57 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
- Use === null
|
None:165 | 56 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Using Deprecated Method
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:175 | 56 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:169 | 55 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Use === null
|
None:187 | 55 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:191 | 55 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:252 | 55 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
- Use === null
|
None:186 | 54 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:188 | 54 | - Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Unused Global
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:190 | 54 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Unused Returned Value
- Preprocessable
|
None:196 | 54 | - No Null For Index
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:201 | 54 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:208 | 54 | - Unused Public Methods
- Undefined Properties
- Using Deprecated Method
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:247 | 54 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:180 | 53 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Empty Function
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- include_once() Usage
- Preprocessable
|
None:245 | 53 | - Useless Try
- Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Too Many Local Variables
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Wrong Type With Default
- Preprocessable
|
None:162 | 52 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Written Only Variables
- Undefined Variable
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:225 | 52 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:168 | 51 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:181 | 51 | - Undefined Properties
- Use Instanceof
- Maybe Missing New
- Useless Brackets
- Non Static Methods Called In A Static
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
- Use === null
|
None:198 | 51 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:226 | 51 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:216 | 50 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:262 | 50 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:184 | 49 | - Unused Public Methods
- Undefined Properties
- Use Instanceof
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:195 | 49 | - Useless Try
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- No Hardcoded Hash
- Could Make A Function
- Preprocessable
|
None:194 | 48 | - Useless Try
- Weak Type With Array
- False To Array Conversion
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:212 | 48 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:215 | 48 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:236 | 48 | - Exit Without Argument
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Global Usage
- include_once() Usage
- Preprocessable
- Use === null
|
None:239 | 47 | - Useless Try
- Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Use === null
|
None:240 | 47 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:221 | 46 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:224 | 46 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
/lib/tcpdf/tcpdf.php:6931 | 45 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
None:249 | 45 | - Unused Public Methods
- Undefined Properties
- Variable Is Not A Condition
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
None:277 | 45 | - False To Array Conversion
- Unknown Parameter Name
- Undefined Properties
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Should Typecast
- Preprocessable
|
None:182 | 44 | - Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Unpreprocessed Values
- Preprocessable
|
None:200 | 44 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Pre-increment
- Global Usage
- Preprocessable
|
None:206 | 44 | - Check Division By Zero
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:189 | 43 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:203 | 43 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Global Usage
- Preprocessable
|
None:228 | 43 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:253 | 43 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Classes
- Preprocessable
|
None:285 | 43 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:183 | 42 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:199 | 42 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:220 | 41 | - Weak Type With Array
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:230 | 41 | - Useless Try
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Global Usage
- Unused Returned Value
- Preprocessable
|
None:233 | 41 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Global Usage
- Preprocessable
|
None:234 | 41 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:244 | 40 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- No Hardcoded Hash
- Preprocessable
|
None:211 | 39 | - Undefined Properties
- Variable Is Not A Condition
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:248 | 39 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:263 | 39 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:237 | 38 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Hardcoded Passwords
- Preprocessable
|
None:238 | 38 | - Unused Public Methods
- Unknown Parameter Name
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:273 | 38 | - Undefined Properties
- Buried Assignation
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:274 | 38 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:292 | 38 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:209 | 37 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Class Could Be Final
- Preprocessable
|
None:214 | 37 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:217 | 36 | - Undefined Properties
- Use Instanceof
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:232 | 36 | - Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Static Methods Called From Object
- Undefined Classes
- Hardcoded Passwords
- Preprocessable
|
None:291 | 36 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:297 | 36 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:309 | 36 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/lib/tcpdf/tcpdf.php:5864 | 35 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:222 | 35 | - Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:235 | 35 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:250 | 35 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Global Usage
- Preprocessable
|
None:266 | 35 | - Unused Public Methods
- Unknown Parameter Name
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:318 | 35 | - Missing Assignation In Branches
- Unused Public Methods
- Undefined Properties
- Variable Is Not A Condition
- Maybe Missing New
- Use Positive Condition
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:276 | 34 | - Unknown Parameter Name
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
None:289 | 34 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:259 | 33 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
|
None:265 | 33 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Undefined Classes
- Preprocessable
- Use === null
|
None:279 | 33 | - Unknown Parameter Name
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Bail Out Early
- Useless Brackets
- Unused Global
- Written Only Variables
- Undefined Variable
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Unpreprocessed Values
- Preprocessable
|
None:284 | 33 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:218 | 32 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Pre-increment
- Preprocessable
|
None:242 | 32 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:246 | 32 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
|
None:257 | 32 | - Unused Public Methods
- Undefined Properties
- Type Must Be Returned
- Maybe Missing New
- Useless Brackets
- Unused Global
- Must Return Methods
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Methods Without Return
- Undefined Classes
- Global Usage
- Preprocessable
|
None:264 | 32 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:270 | 32 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:290 | 32 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:306 | 32 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Wrong Type With Call
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:342 | 32 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- Empty Classes
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Class Could Be Final
- Preprocessable
|
/blog/lib.php:641 | 31 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:241 | 31 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:283 | 31 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
- Could Use Short Assignation
|
None:321 | 31 | - No Null For Index
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Preprocessable
|
/lib/tcpdf/tcpdf.php:14972 | 30 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
None:254 | 30 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:256 | 30 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:261 | 30 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Written Only Variables
- Undefined Variable
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:269 | 30 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
- Use === null
|
/lib/tcpdf/tcpdf.php:15651 | 29 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
None:243 | 29 | - Exit Without Argument
- Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:255 | 29 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:268 | 29 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:307 | 29 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
/lib/tcpdf/tcpdf.php:5169 | 28 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:15333 | 28 | - Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:258 | 28 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:311 | 28 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:316 | 28 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Static Loop
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Pre-increment
- Preprocessable
|
/lib/tcpdf/tcpdf.php:5100 | 27 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:22901 | 27 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:213 | 27 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:278 | 27 | - Exit Without Argument
- Unknown Parameter Name
- Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:287 | 27 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:302 | 27 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:362 | 27 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/lib/tcpdf/tcpdf.php:6384 | 26 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/uploadlib.php:48 | 26 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:286 | 26 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:308 | 26 | - Unused Public Methods
- Unknown Parameter Name
- Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:317 | 26 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:319 | 26 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:260 | 25 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:281 | 25 | - Unused Public Methods
- Check Division By Zero
- Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:298 | 25 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:304 | 25 | - No Null For Index
- Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:322 | 25 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:272 | 24 | - Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:288 | 24 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:301 | 24 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:330 | 24 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:722 | 24 | - Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/lib/filelib.php:1518 | 23 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/group.php:118 | 23 | - 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
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:22548 | 23 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:267 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:293 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:296 | 23 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Could Make A Function
- Preprocessable
|
None:300 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:341 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:387 | 23 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:393 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:401 | 23 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:435 | 23 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
/lib/formslib.php:239 | 22 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:13176 | 22 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:13256 | 22 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:271 | 22 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:303 | 22 | - Unused Public Methods
- Undefined Properties
- Assigned Twice
- Maybe Missing New
- Useless Brackets
- Unused Global
- Overwritten Literals
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:328 | 22 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:345 | 22 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:375 | 22 | - Undefined Properties
- Maybe Missing New
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Could Use Short Assignation
|
None:376 | 22 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:380 | 22 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Preprocessable
|
None:381 | 22 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:404 | 22 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:409 | 22 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:453 | 22 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Method Could Be Static
- Preprocessable
|
None:486 | 22 | - Unused Public Methods
- Ambiguous Static
- Type Must Be Returned
- Maybe Missing New
- Useless Brackets
- Must Return Methods
- Used Once Variables (In Scope)
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Methods Without Return
- Undefined Classes
- Preprocessable
|
/blog/lib.php:1093 | 21 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/formslib.php:2520 | 21 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/navigationlib.php:4468 | 21 | - Mismatch Parameter Name
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/odslib.class.php:389 | 21 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
|
/lib/pear/HTML/QuickForm.php:301 | 21 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:228 | 21 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:12900 | 21 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/locallib.php:601 | 21 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/mod/glossary/lib.php:2643 | 21 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/glossary/locallib.php:661 | 21 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/mod/wiki/locallib.php:1760 | 21 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
None:251 | 21 | - Unknown Parameter Name
- Undefined Properties
- Maybe Missing New
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Pre-increment
- Preprocessable
|
None:294 | 21 | - Undefined Properties
- Maybe Missing New
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Preprocessable
|
None:314 | 21 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:320 | 21 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:360 | 21 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
|
None:369 | 21 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:403 | 21 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:408 | 21 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Native Alias Functions Usage
- $this Belongs To Classes Or Traits
- Undefined Classes
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:412 | 21 | - Useless Try
- Unused Public Methods
- Undefined Properties
- Useless Brackets
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:458 | 21 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/admin/tool/oauth2/classes/form/issuer.php:68 | 20 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
- Never Called Parameter
|
/course/lib.php:3598 | 20 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adminlib.php:9201 | 20 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb.inc.php:1351 | 20 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/filelib.php:1107 | 20 | - Assumptions
- Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/advcheckbox.php:99 | 20 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:182 | 20 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/simplepie/src/File.php:72 | 20 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:13003 | 20 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:13089 | 20 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:17260 | 20 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/book/locallib.php:434 | 20 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/mod/data/locallib.php:796 | 20 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/mod/data/locallib.php:1059 | 20 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/lib.php:1195 | 20 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Missing Some Returntype
|
/user/lib.php:1287 | 20 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
None:299 | 20 | - Undefined Properties
- Assigned Twice
- Maybe Missing New
- Useless Brackets
- Overwritten Literals
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
|
None:331 | 20 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:334 | 20 | - Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:344 | 20 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:347 | 20 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:372 | 20 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:413 | 20 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:415 | 20 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/course/renderer.php:418 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adminlib.php:6233 | 19 | - Cancelled Parameter
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/lib/adminlib.php:6276 | 19 | - Cancelled Parameter
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/lib/deprecatedlib.php:2889 | 19 | - Don't Pollute Global Space
- No Class In Global
- Don't Collect Void
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/enrollib.php:2102 | 19 | - Ambiguous Static
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filebrowser/virtual_root_file.php:158 | 19 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:1677 | 19 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:5574 | 19 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/outputcomponents.php:3648 | 19 | - Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/group.php:96 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/include/tcpdf_fonts.php:72 | 19 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:4061 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
/lib/tcpdf/tcpdf.php:4078 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
/lib/tcpdf/tcpdf.php:4095 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
/lib/tcpdf/tcpdf.php:12779 | 19 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:1550 | 19 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/wiki/editors/wiki_editor.php:25 | 19 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:310 | 19 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:356 | 19 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:370 | 19 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:394 | 19 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:425 | 19 | - Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- No Hardcoded Hash
- Preprocessable
|
None:432 | 19 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Avoid Using stdClass
- Undefined Classes
- Preprocessable
|
None:484 | 19 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:560 | 19 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Logical Should Use Symbolic Operators
- Use === null
|
None:623 | 19 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Static Methods Called From Object
- Undefined Classes
- Preprocessable
|
/admin/tool/lpimportcsv/classes/framework_importer.php:173 | 18 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/tests/externallib_test.php:61 | 18 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/enrol/flatfile/lib.php:132 | 18 | - Ambiguous Static
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/ddl/oracle_sql_generator.php:416 | 18 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/enrollib.php:598 | 18 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/externallib.php:191 | 18 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/choicedropdown.php:101 | 18 | - Unused Public Methods
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Useless Referenced Argument
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/group.php:84 | 18 | - 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
- Hidden Nullable Typehint
|
/lib/form/radio.php:68 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/selectgroups.php:87 | 18 | - 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
- Hidden Nullable Typehint
|
/lib/form/selectwithlink.php:71 | 18 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/selectwithlink.php:91 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/advcheckbox.php:90 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/link.php:74 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/radio.php:76 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/select.php:449 | 18 | - Ambiguous Static
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/tcpdf/tcpdf.php:1879 | 18 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Don't Collect Void
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/folder/lib.php:213 | 18 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/mod/forum/lib.php:3609 | 18 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/glossary/lib.php:1194 | 18 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/page/lib.php:273 | 18 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/mod/resource/lib.php:316 | 18 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/mod/scorm/lib.php:884 | 18 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/mod/wiki/editors/wikifiletable.php:55 | 18 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/repository/s3/S3.php:435 | 18 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:280 | 18 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:350 | 18 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:364 | 18 | - Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:365 | 18 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- include_once() Usage
- Preprocessable
|
None:385 | 18 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:389 | 18 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:419 | 18 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:424 | 18 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Method Could Be Static
- Preprocessable
|
None:437 | 18 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Method Could Be Static
- Preprocessable
- Use === null
|
None:455 | 18 | - Unused Public Methods
- Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:469 | 18 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:471 | 18 | - Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:491 | 18 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use === null
|
/calendar/lib.php:2046 | 17 | - Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Unused Parameter
- Useless Return
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/contentbank/tests/fixtures/testable_contenttype.php:95 | 17 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/enrol/guest/lib.php:71 | 17 | - Unused Public Methods
- Ambiguous Static
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/classes/framework.php:78 | 17 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/drivers/adodb-oci8.inc.php:753 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/toexport.inc.php:73 | 17 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/filelib.php:144 | 17 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/searchableselector.php:61 | 17 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/selectgroups.php:71 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrenderers.php:3298 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:733 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/select.php:83 | 17 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Chart.php:167 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Injections
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/lib/scssphp/Parser.php:3247 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/simplepie/moodle_simplepie.php:127 | 17 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Useless Return
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/tablelib.php:2272 | 17 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:14928 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/tests/string_manager_standard_test.php:232 | 17 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/glossary/formats/entrylist/entrylist_format.php:3 | 17 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1066 | 17 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1846 | 17 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1857 | 17 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/lesson/renderer.php:39 | 17 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/lib.php:709 | 17 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/workshop/form/rubric/lib.php:248 | 17 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:305 | 17 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Constants
- Preprocessable
|
None:333 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
|
None:346 | 17 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:353 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:359 | 17 | - Unused Public Methods
- Maybe Missing New
- Should Use Ternary Operator
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
|
None:361 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
|
None:368 | 17 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:379 | 17 | - Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:402 | 17 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:427 | 17 | - Unused Public Methods
- Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:436 | 17 | - Undefined Properties
- Don't Collect Void
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:447 | 17 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:472 | 17 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:473 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:474 | 17 | - Unused Public Methods
- Don't Collect Void
- Maybe Missing New
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:495 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:496 | 17 | - Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Use ::Class Operator
- Preprocessable
|
None:502 | 17 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:527 | 17 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:710 | 17 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:735 | 17 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:2861 | 16 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_asssesment.php:1974 | 16 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/course/format/classes/output/section_renderer.php:392 | 16 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/enrol/manual/locallib.php:494 | 16 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-datadict.inc.php:900 | 16 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-time.inc.php:1253 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/adodb.inc.php:3115 | 16 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/moodle_database.php:376 | 16 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/moodle_database.php:2297 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/lib/dml/oci_native_moodle_database.php:878 | 16 | - No Default For Referenced Parameter
- Assumptions
- Max Level Of Nesting
- Class-typed References
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:408 | 16 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Retyped Reference
|
/lib/filelib.php:2522 | 16 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/autocomplete.php:114 | 16 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/editor.php:113 | 16 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/filemanager.php:92 | 16 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/filepicker.php:96 | 16 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/url.php:85 | 16 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/moodlelib.php:6418 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm.php:1107 | 16 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Random.php:70 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeries.php:130 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/portfolio/exceptions.php:59 | 16 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/portfoliolib.php:455 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/simplepie/src/Sanitize.php:136 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:4524 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:21703 | 16 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/webauthn/src/WebAuthn.php:125 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/webauthn/src/WebAuthn.php:406 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/feedback/editpdf/fpdi/FpdfTplTrait.php:102 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/feedback/editpdf/fpdi/Tcpdf/Fpdi.php:97 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/bigbluebuttonbn/classes/local/exceptions/server_not_available_exception.php:42 | 16 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/lib.php:3524 | 16 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:5600 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/glossary/formats/TEMPLATE/TEMPLATE_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/continuous/continuous_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/dictionary/dictionary_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/encyclopedia/encyclopedia_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/faq/faq_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/faq/faq_format.php:51 | 16 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/fullwithoutauthor/fullwithoutauthor_format.php:3 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/lti/classes/output/course_tools_page_header.php:38 | 16 | - Property Used In One Method Only
- Use Named Boolean In Argument Definition
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Empty Function
- Assign Default To Properties
- Wrong Type With Default
- Unfinished Object
|
/mod/quiz/locallib.php:1092 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/scorm/locallib.php:452 | 16 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:1939 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/workshop/form/accumulative/lib.php:207 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/workshop/form/comments/lib.php:207 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/workshop/form/numerrors/lib.php:244 | 16 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/notes/lib.php:310 | 16 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/question/engine/questionattempt.php:1783 | 16 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/repository/googledocs/lib.php:676 | 16 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/repository/lib.php:1224 | 16 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/repository/onedrive/lib.php:564 | 16 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:326 | 16 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:329 | 16 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:338 | 16 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:339 | 16 | - Undefined Properties
- Maybe Missing New
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:388 | 16 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:440 | 16 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Undefined Classes
- Preprocessable
|
None:442 | 16 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Preprocessable
|
None:488 | 16 | - Maybe Missing New
- Useless Brackets
- Unused Global
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:506 | 16 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:515 | 16 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:566 | 16 | - Undefined Properties
- Maybe Missing New
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:651 | 16 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:652 | 16 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/admin/tool/messageinbound/roundcube/rcube_mime.php:620 | 15 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mfa/classes/local/form/login_form.php:58 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/analytics/classes/local/target/base.php:244 | 15 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:3275 | 15 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/backup/moodle2/restore_subplugin.class.php:187 | 15 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/loggers/database_logger.class.php:40 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/renderer.php:486 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/badges/lib.php:90 | 15 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Missing Some Returntype
|
/calendar/lib.php:2460 | 15 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/competency/lib.php:290 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/course/lib.php:3714 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/course/renderer.php:343 | 15 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:353 | 15 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:391 | 15 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/grading/form/rubric/renderer.php:59 | 15 | - Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/lib.php:416 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/accesslib.php:3843 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:288 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:1893 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:2718 | 15 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/drivers/adodb-db2.inc.php:511 | 15 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-mssql.inc.php:197 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo_dblib.inc.php:116 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/blocklib.php:2358 | 15 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/antivirus/scanner_exception.php:47 | 15 | - Incompatible Signature Methods With Covariance
- Swapped Arguments
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:245 | 15 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:2687 | 15 | - Assumptions
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/autocomplete.php:67 | 15 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/filetypes.php:65 | 15 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/modvisible.php:70 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/questioncategory.php:73 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/select.php:70 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/selectyesno.php:62 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/submit.php:91 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/tags.php:83 | 15 | - Max Level Of Nesting
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/gradelib.php:64 | 15 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:2205 | 15 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:2708 | 15 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:7676 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pdflib.php:166 | 15 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Don't Collect Void
- Undefined Classes
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/autocomplete.php:92 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hiddenselect.php:67 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hierselect.php:137 | 15 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:1107 | 15 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:47 | 15 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/setuplib.php:100 | 15 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:6232 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:14907 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/weblib.php:3218 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:1505 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:1607 | 15 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1402 | 15 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/lesson/classes/external.php:466 | 15 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1051 | 15 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1195 | 15 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1480 | 15 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1609 | 15 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lti/classes/local/ltiservice/service_base.php:352 | 15 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/locallib.php:1109 | 15 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/workshop/form/lib.php:61 | 15 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/question/bank/editquestion/classes/editquestion_helper.php:76 | 15 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/repository/filesystem/lib.php:616 | 15 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/repository/nextcloud/lib.php:434 | 15 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/repository/onedrive/lib.php:321 | 15 | - Max Level Of Nesting
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
None:348 | 15 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use === null
|
None:349 | 15 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Useless Argument
- $this Belongs To Classes Or Traits
- Undefined Classes
- Unpreprocessed Values
|
None:351 | 15 | - Undefined Properties
- Maybe Missing New
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Global Usage
- Preprocessable
|
None:354 | 15 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Preprocessable
|
None:358 | 15 | - Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:363 | 15 | - Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:367 | 15 | - Useless Try
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:414 | 15 | - Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:423 | 15 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:449 | 15 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:456 | 15 | - Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Global Usage
- Preprocessable
|
None:464 | 15 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:507 | 15 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Unpreprocessed Values
- Global Usage
- Preprocessable
|
None:534 | 15 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:654 | 15 | - Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Unpreprocessed Values
- Preprocessable
|
None:742 | 15 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:760 | 15 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Undefined Classes
- Preprocessable
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:3253 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/OTPHP/TOTP.php:47 | 14 | - Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/gral_lib/pathutils.php:223 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/converter/imscc1/lib.php:29 | 14 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/converter/imscc11/lib.php:30 | 14 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/converter/moodle1/lib.php:79 | 14 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/moodle2/restore_settingslib.php:199 | 14 | - Don't Send $this In Constructor
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/settings/activity/activity_backup_setting.class.php:32 | 14 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/settings/backup_setting.class.php:46 | 14 | - Don't Send $this In Constructor
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/settings/section/section_backup_setting.class.php:32 | 14 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/ui/backup_ui_setting.class.php:252 | 14 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:1950 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/calendar/lib.php:1981 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/course/classes/management_renderer.php:900 | 14 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/format/classes/output/section_renderer.php:402 | 14 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/course/lib.php:4677 | 14 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/form/lib.php:684 | 14 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/lib/adodb/adodb-csvlib.inc.php:100 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
|
/lib/adodb/adodb-lib.inc.php:593 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-time.inc.php:1242 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/adodb.inc.php:918 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:2657 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:2755 | 14 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/drivers/adodb-oci805.inc.php:35 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-oci8po.inc.php:65 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-odbc_db2.inc.php:213 | 14 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-odbc_mssql.inc.php:283 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo.inc.php:691 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-pdo_firebird.inc.php:260 | 14 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo_mssql.inc.php:42 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-pdo_mysql.inc.php:274 | 14 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo_sqlsrv.inc.php:60 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-text.inc.php:73 | 14 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/lib/badgeslib.php:347 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/classes/form/persistent.php:85 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/datalib.php:432 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/dtllib.php:66 | 14 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/enrollib.php:949 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/file_exceptions.php:138 | 14 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/tgz_packer.php:329 | 14 | - Max Level Of Nesting
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/cancel.php:80 | 14 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/checkbox.php:70 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/dateselector.php:107 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/datetimeselector.php:110 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/listing.php:76 | 14 | - Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/listing.php:100 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/modgrade.php:90 | 14 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/modgrade.php:127 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/tags.php:162 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:2494 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/gradelib.php:783 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/gradelib.php:1153 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:263 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:6376 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/moodlelib.php:6972 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrenderers.php:2604 | 14 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/outputrenderers.php:4983 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:1044 | 14 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/RuleRegistry.php:213 | 14 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/checkbox.php:73 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/date.php:269 | 14 | - Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/date.php:296 | 14 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/select.php:402 | 14 | - Useless Referenced Argument
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/PEAR.php:567 | 14 | - Ambiguous Static
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:858 | 14 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/scssphp/Compiler.php:5195 | 14 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/upgradelib.php:2632 | 14 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/message/externallib.php:1336 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/data/classes/external.php:379 | 14 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:3907 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/feedback/edit_form.php:38 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/lib.php:865 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/feedback/use_templ_form.php:37 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/folder/lib.php:592 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/forum/lib.php:2843 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:3801 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:5545 | 14 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/glossary/formats/TEMPLATE/TEMPLATE_format.php:96 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/continuous/continuous_format.php:31 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/dictionary/dictionary_format.php:27 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/encyclopedia/encyclopedia_format.php:66 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/entrylist/entrylist_format.php:45 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/fullwithauthor/fullwithauthor_format.php:66 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/formats/fullwithoutauthor/fullwithoutauthor_format.php:52 | 14 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1573 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/scorm/classes/report.php:46 | 14 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/mod/scorm/locallib.php:1765 | 14 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/wiki/editors/wikieditor.php:50 | 14 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/repository/dropbox/lib.php:71 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/search/classes/engine.php:402 | 14 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
None:295 | 14 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:327 | 14 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:335 | 14 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Global Usage
|
None:343 | 14 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:371 | 14 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:378 | 14 | - Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:386 | 14 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:390 | 14 | - Undefined Properties
- Useless Brackets
- Wrong Number Of Arguments
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:397 | 14 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:407 | 14 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:468 | 14 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:476 | 14 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Global Usage
- Preprocessable
- Use === null
|
None:481 | 14 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Preprocessable
|
None:482 | 14 | - Undefined Properties
- Don't Collect Void
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:489 | 14 | - Don't Collect Void
- Maybe Missing New
- Unused Global
- Written Only Variables
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
|
None:528 | 14 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Global Usage
- Preprocessable
|
None:533 | 14 | - Unused Public Methods
- Check Division By Zero
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:593 | 14 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Switch Without Default
- Preprocessable
|
None:632 | 14 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/admin/cli/scheduled_task.php:90 | 13 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Echo With Concat
|
/admin/lib.php:55 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/admin/tool/analytics/classes/clihelper.php:45 | 13 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Echo With Concat
|
/admin/tool/dataprivacy/classes/api.php:1248 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/dataprivacy/lib.php:249 | 13 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:3134 | 13 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_mime.php:94 | 13 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:809 | 13 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:925 | 13 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:987 | 13 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/auth/cas/lib.php:41 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/backup/cc/cc_lib/cc_asssesment.php:1943 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/gral_lib/parser.php:93 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/backup/controller/base_controller.class.php:95 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/converter/convertlib.php:94 | 13 | - Method Is Not An If
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/converter/moodle1/handlerlib.php:140 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/converter/moodle1/lib.php:1368 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/moodle2/restore_plugin.class.php:192 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/moodle2/restore_subplugin.class.php:132 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/backup_plan.class.php:133 | 13 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/plan/base_task.class.php:140 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/restore_plan.class.php:156 | 13 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/structure/backup_nested_element.class.php:150 | 13 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/ui/backup_moodleform.class.php:54 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/ui/restore_moodleform.class.php:47 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/calendar/lib.php:2506 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/cohort/lib.php:460 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/cohort/lib.php:507 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/course/format/classes/output/section_renderer.php:216 | 13 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/course/lib.php:293 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:2995 | 13 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/moodleform_mod.php:1027 | 13 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/course/renderer.php:200 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/locallib.php:1639 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/grade/grading/form/guide/renderer.php:611 | 13 | - Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adminlib.php:3564 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adminlib.php:8721 | 13 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-active-record.inc.php:242 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adodb/adodb-lib.inc.php:530 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-lib.inc.php:1289 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb.inc.php:1928 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:2445 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-borland_ibase.inc.php:61 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-firebird.inc.php:990 | 13 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-odbtp.inc.php:470 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo.inc.php:277 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo_pgsql.inc.php:82 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-postgres7.inc.php:116 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-sqlite.inc.php:229 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-sqlite3.inc.php:349 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-sybase.inc.php:184 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-vfp.inc.php:63 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/blocklib.php:937 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/hub/api.php:259 | 13 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/deprecatedlib.php:645 | 13 | - Cancelled Parameter
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/tests/fixtures/read_slave_moodle_database_special.php:63 | 13 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/enrollib.php:1061 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/enrollib.php:1213 | 13 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/enrollib.php:1386 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/enrollib.php:1665 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filebrowser/file_info.php:388 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filebrowser/file_info.php:401 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filebrowser/file_info.php:414 | 13 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:4391 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/file_storage.php:2434 | 13 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/course.php:75 | 13 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/password.php:84 | 13 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:1431 | 13 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:1787 | 13 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/ldaplib.php:182 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:4722 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrequirementslib.php:1103 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/select.php:367 | 13 | - Useless Referenced Argument
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:189 | 13 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:670 | 13 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:803 | 13 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:825 | 13 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:1583 | 13 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:390 | 13 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/Trend.php:59 | 13 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/scssphp/Parser.php:2186 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tablelib.php:924 | 13 | - Method Is Not An If
- Ambiguous Static
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:6351 | 13 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:2112 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/weblib.php:2499 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:2527 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:2683 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:2725 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:3127 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/choice/lib.php:1034 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:2258 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/feedback/lib.php:2354 | 13 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:1438 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/forum/lib.php:3368 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/forum/lib.php:3903 | 13 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Useless Return
- Undefined Classes
- Wrong Type With Default
|
/mod/forum/lib.php:5666 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:3915 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/mod/lesson/format.php:392 | 13 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/lib.php:317 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lti/lib.php:405 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/lti/locallib.php:1056 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/deprecatedlib.php:126 | 13 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/lib.php:867 | 13 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/datamodels/scorm_13lib.php:959 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/scorm/locallib.php:1897 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:2159 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/locallib.php:1052 | 13 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/tests/generator/lib.php:88 | 13 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/workshop/lib.php:736 | 13 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/repository/equella/lib.php:250 | 13 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/repository/lib.php:1315 | 13 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
None:325 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:392 | 13 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Undefined Classes
|
None:395 | 13 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- include_once() Usage
- Preprocessable
|
None:399 | 13 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:400 | 13 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
- Preprocessable
|
None:406 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:417 | 13 | - Unused Public Methods
- Undefined Properties
- Unused Global
- Undefined Classes
- Global Usage
- Preprocessable
|
None:420 | 13 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:428 | 13 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Global Usage
- Preprocessable
|
None:433 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Global Usage
- Preprocessable
|
None:448 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:457 | 13 | - Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:510 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:529 | 13 | - Check Division By Zero
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:655 | 13 | - Wrong Number Of Arguments
- Native Alias Functions Usage
- $this Belongs To Classes Or Traits
- Uses Default Values
- Unpreprocessed Values
- Preprocessable
|
None:775 | 13 | - Undefined Properties
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:839 | 13 | - Unused Public Methods
- Check Division By Zero
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:851 | 13 | - Don't Pollute Global Space
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Unused Global
- Empty Classes
- $this Belongs To Classes Or Traits
- Class Could Be Final
- Preprocessable
|
None:859 | 13 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:1578 | 12 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:1901 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/admin/tool/mfa/lib.php:67 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
|
/admin/tool/uploadcourse/classes/helper.php:202 | 12 | - No Default For Referenced Parameter
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/usertours/classes/helper.php:60 | 12 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/usertours/lib.php:101 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:2185 | 12 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/auth/email/auth.php:115 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_utils.php:211 | 12 | - Use Named Boolean In Argument Definition
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
- Used Once Variables (In Scope)
- Undefined Classes
- Modified Typed Parameter
- Never Called Parameter
|
/backup/util/helper/restore_decode_content.class.php:125 | 12 | - Incompatible Signature Methods With Covariance
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/helper/restore_decode_processor.class.php:183 | 12 | - Incompatible Signature Methods With Covariance
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/helper/restore_decode_rule.class.php:207 | 12 | - Incompatible Signature Methods With Covariance
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/helper/restore_logs_processor.class.php:141 | 12 | - Incompatible Signature Methods With Covariance
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/interfaces/loggable.class.php:41 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/plan/base_step.class.php:70 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/base_moodleform.class.php:79 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:2142 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/cohort/lib.php:260 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/course/lib.php:3292 | 12 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/customfield/classes/data_controller.php:86 | 12 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/customfield/classes/field_controller.php:84 | 12 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/enrol/lti/ims-blti/OAuth.php:660 | 12 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/enrol/meta/locallib.php:261 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/form/guide/guideeditor.php:65 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/grading/form/rubric/renderer.php:217 | 12 | - Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/grading/form/rubric/rubriceditor.php:72 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/report/history/classes/output/tablelog.php:96 | 12 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/group/lib.php:683 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/h5p/classes/output/renderer.php:72 | 12 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/accesslib.php:872 | 12 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:1993 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/accesslib.php:4366 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:4660 | 12 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adminlib.php:1258 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adminlib.php:4443 | 12 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Parent First
- Never Called Parameter
|
/lib/adodb/adodb-active-record.inc.php:276 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:282 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adodb/adodb-active-recordx.inc.php:1200 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
|
/lib/adodb/adodb-errorhandler.inc.php:38 | 12 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/adodb/adodb-errorpear.inc.php:51 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/adodb/adodb-lib.inc.php:1119 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:3266 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/drivers/adodb-mssql.inc.php:674 | 12 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/drivers/adodb-oci8.inc.php:1182 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Retyped Reference
|
/lib/adodb/drivers/adodb-odbc_db2.inc.php:76 | 12 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/lib/adodb/drivers/adodb-odbtp.inc.php:526 | 12 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-text.inc.php:68 | 12 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Relay Function
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-text.inc.php:146 | 12 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Missing Some Returntype
|
/lib/adodb/pivottable.inc.php:40 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/blocklib.php:2330 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/context.php:710 | 12 | - 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
- Method Could Be Static
|
/lib/classes/plugin_manager.php:988 | 12 | - No Default For Referenced Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/string_manager_standard.php:294 | 12 | - Max Level Of Nesting
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/clilib.php:57 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Infinite Recursion
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/deprecatedlib.php:3029 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/dml/moodle_database.php:2274 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/dml/tests/fixtures/test_moodle_read_slave_trait.php:107 | 12 | - Useless Method
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- No Return Used
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/enrollib.php:1537 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/evalmath/evalmath.class.php:250 | 12 | - Wrong Precedence In Expression
- Weak Type With Array
- Buried Assignation
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/lib/excellib.class.php:350 | 12 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/excellib.class.php:374 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:492 | 12 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/file_exceptions.php:68 | 12 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/file_storage.php:175 | 12 | - 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
- Method Could Be Static
|
/lib/filterlib.php:1405 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/button.php:87 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/cancel.php:55 | 12 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/cohort.php:74 | 12 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/lib/form/grading.php:80 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/password.php:58 | 12 | - Max Level Of Nesting
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/passwordunmask.php:66 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/recaptcha.php:67 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/static.php:68 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/tags.php:215 | 12 | - Method Is Not An If
- Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/text.php:69 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/textarea.php:74 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:940 | 12 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/grouplib.php:1157 | 12 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/ltiprovider/src/OAuth/OAuthDataStore.php:22 | 12 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/ltiprovider/src/OAuth/OAuthDataStore.php:30 | 12 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector.php:530 | 12 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/moodlelib.php:1826 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/moodlelib.php:8180 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/odslib.class.php:312 | 12 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/odslib.class.php:342 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputcomponents.php:256 | 12 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrenderers.php:3332 | 12 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/outputrequirementslib.php:1140 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/Rule.php:40 | 12 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/button.php:60 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/element.php:102 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/file.php:74 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/input.php:57 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/password.php:59 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/reset.php:59 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/static.php:64 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/submit.php:58 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/text.php:60 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/textarea.php:69 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/xbutton.php:59 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:552 | 12 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical.php:202 | 12 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:198 | 12 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Text.php:105 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:334 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Retyped Reference
|
/lib/phpxmlrpc/Request.php:229 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/questionlib.php:663 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/questionlib.php:1759 | 12 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/scssphp/Compiler.php:4979 | 12 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/simplepie/src/Sanitize.php:169 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
|
/lib/simplepie/src/SimplePie.php:3062 | 12 | - 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
- Wrong Type With Default
- Method Could Be Static
|
/lib/tcpdf/include/barcodes/pdf417.php:532 | 12 | - Max Level Of Nesting
- Too Many Local Variables
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:4252 | 12 | - Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:15967 | 12 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/testing/generator/data_generator.php:1028 | 12 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tests/behat/behat_navigation.php:71 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:1995 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:2384 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:2426 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:2912 | 12 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/xhprof/xhprof_lib/display/xhprof.php:656 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/xhprof/xhprof_moodle.php:491 | 12 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/message/classes/api.php:472 | 12 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/message/externallib.php:1998 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/assign/externallib.php:1396 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1453 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1510 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1572 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1650 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1724 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1776 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1843 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:1971 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:2105 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:2184 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:2240 | 12 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:2291 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/externallib.php:2979 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/lib.php:103 | 12 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/lib.php:1265 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/bigbluebuttonbn/lib.php:606 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/chat/lib.php:430 | 12 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/chat/lib.php:1560 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/choice/lib.php:938 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/deprecatedlib.php:153 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:758 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/data/lib.php:3365 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/data/locallib.php:1456 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/data/tests/generator/lib.php:217 | 12 | - Assumptions
- Max Level Of Nesting
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/edit_form.php:170 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/lib.php:2320 | 12 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/classes/subscriptions.php:412 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:1903 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/forum/lib.php:3209 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/mod/forum/lib.php:4243 | 12 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/glossary/lib.php:479 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Useless Return
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/glossary/lib.php:1426 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1457 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/classes/external.php:371 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1290 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1940 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:2034 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lti/OAuth.php:755 | 12 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/mod/lti/locallib.php:481 | 12 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/classes/external.php:2026 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/local/access_rule_base.php:77 | 12 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Unreachable Method
|
/mod/quiz/lib.php:1814 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/mod/resource/deprecatedlib.php:35 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/url/deprecatedlib.php:35 | 12 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/wiki/editors/wikieditor.php:68 | 12 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/wiki/lib.php:413 | 12 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/mod/wiki/pagelib.php:1414 | 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
|
/mod/wiki/pagelib.php:2776 | 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
|
/mod/wiki/parser/utils.php:16 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/wiki/renderer.php:168 | 12 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/workshop/classes/external.php:414 | 12 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/workshop/locallib.php:1795 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/question/bank/managecategories/classes/question_category_object.php:122 | 12 | - Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/question/type/calculatedsimple/edit_calculatedsimple_form.php:72 | 12 | - Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Parent First
|
/question/type/questionbase.php:440 | 12 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/report/log/locallib.php:211 | 12 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/repository/s3/S3.php:374 | 12 | - Method Is Not An If
- Illegal Name For Method
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/theme/boost/lib.php:82 | 12 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/theme/classic/lib.php:147 | 12 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/user/filters/lib.php:59 | 12 | - Max Level Of Nesting
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/user/filters/select.php:67 | 12 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
None:313 | 12 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:315 | 12 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:323 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Unpreprocessed Values
- Global Usage
|
None:324 | 12 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:336 | 12 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:352 | 12 | - Undefined Properties
- Could Be Else
- Maybe Missing New
- Should Use Ternary Operator
- Useless Brackets
- If With Same Conditions
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:355 | 12 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:373 | 12 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Global Usage
- Preprocessable
|
None:384 | 12 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Avoid Using stdClass
- Uses Default Values
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:391 | 12 | - Undefined Properties
- Using Deprecated Method
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- Preprocessable
|
None:398 | 12 | - Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Uses Default Values
- Preprocessable
|
None:429 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:434 | 12 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:438 | 12 | - Undefined Properties
- Wrong Argument Type
- Maybe Missing New
- Useless Brackets
- Unused Global
- Wrong Type With Call
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:439 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:443 | 12 | - Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:444 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:454 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:490 | 12 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:514 | 12 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
- Preprocessable
|
None:579 | 12 | - Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:770 | 12 | - Unused Public Methods
- Htmlentities Using Default Flag
- Check Division By Zero
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Undefined Classes
- Preprocessable
|
None:874 | 12 | - Check Division By Zero
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/admin/tool/customlang/classes/local/mlang/phpparser.php:240 | 11 | - Wrong Type For Native PHP Function
- Bail Out Early
- No Need For Else
- Uses Default Values
- Could Make A Function
- Drop Else After Return
- Avoid Substr() One
- Logical Should Use Symbolic Operators
|
/admin/tool/lp/classes/course_competency_overridegrade_form_element.php:48 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/lp/classes/form/framework_autocomplete.php:60 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/lp/classes/site_competencies_form_element.php:95 | 11 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:2481 | 11 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:1487 | 11 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:1516 | 11 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:2249 | 11 | - Ambiguous Static
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mfa/factor/totp/extlib/ParagonIE/ConstantTime/Base32.php:42 | 11 | - Unused Public Methods
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Different Argument Counts
|
/admin/tool/templatelibrary/classes/api.php:49 | 11 | - Max Level Of Nesting
- Too Many Local Variables
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/usertours/tests/helper_trait.php:32 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/usertours/tests/helper_trait.php:68 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/analytics/classes/local/indicator/base.php:152 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/analytics/classes/local/indicator/community_of_inquiry_activity.php:377 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc2moodle.php:609 | 11 | - No Default For Referenced Parameter
- Ambiguous Static
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/backup/cc/cc_lib/cc_convert_moodle2.php:145 | 11 | - Max Level Of Nesting
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_utils.php:157 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Could Inject Parameter
|
/backup/cc/cc_lib/cc_utils.php:216 | 11 | - Use Named Boolean In Argument Definition
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Modified Typed Parameter
- Never Called Parameter
|
/backup/cc/cc_lib/gral_lib/ccdependencyparser.php:71 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/gral_lib/pathutils.php:200 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/controller/backup_controller.class.php:659 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/controller/restore_controller.class.php:641 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/helper/backup_helper.class.php:446 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/loggers/base_logger.class.php:188 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/backup_plan.class.php:171 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/backup_task.class.php:66 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/restore_plan.class.php:246 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/plan/restore_task.class.php:156 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/settings/base_setting.class.php:570 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/backup_structure_processor.class.php:140 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_atom.class.php:142 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_atom.class.php:163 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_final_element.class.php:246 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_final_element.class.php:263 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_nested_element.class.php:265 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/structure/base_optigroup.class.php:176 | 11 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/competency/classes/api.php:1378 | 11 | - Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/competency/classes/api.php:2423 | 11 | - Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/contentbank/classes/form/edit_content.php:58 | 11 | - Assumptions
- Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Avoid option arrays in constructors
|
/course/format/classes/output/section_renderer.php:267 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/course/lib.php:4073 | 11 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/renderer.php:220 | 11 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/enrol/lti/ims-blti/blti_util.php:65 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/enrol/lti/tests/tool_provider_test.php:643 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/form/guide/lib.php:134 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/grade/grading/form/rubric/lib.php:130 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/grade/import/lib.php:46 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/group/lib.php:824 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/group/lib.php:926 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:3238 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:4049 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Insufficient Typehint
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/accesslib.php:4647 | 11 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adminlib.php:10454 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/adodb-active-recordx.inc.php:807 | 11 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Memoize MagicCall
|
/lib/adodb/adodb-datadict.inc.php:519 | 11 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/adodb-datadict.inc.php:574 | 11 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/adodb-lib.inc.php:723 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-perf.inc.php:424 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Same Name For Property And Method
|
/lib/adodb/adodb-xmlschema.inc.php:124 | 11 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema.inc.php:2202 | 11 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/adodb-xmlschema03.inc.php:2107 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-xmlschema03.inc.php:2392 | 11 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/adodb.inc.php:1206 | 11 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:5889 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/adodb/drivers/adodb-db2.inc.php:1513 | 11 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-informix72.inc.php:156 | 11 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/drivers/adodb-pdo.inc.php:362 | 11 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/drivers/adodb-pdo.inc.php:729 | 11 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/badgeslib.php:603 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/blocklib.php:2606 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/context/system.php:138 | 11 | - Ambiguous Static
- 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
|
/lib/completionlib.php:999 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/csvlib.class.php:553 | 11 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/datalib.php:363 | 11 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/datalib.php:1241 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/datalib.php:1303 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/datalib.php:1387 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/datalib.php:1460 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/ddllib.php:140 | 11 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/deprecatedlib.php:2315 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/enrollib.php:1485 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/filebrowser/file_info.php:233 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Never Called Parameter
|
/lib/filebrowser/file_info.php:375 | 11 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filelib.php:611 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/filestorage/file_storage.php:2374 | 11 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/form/dateselector.php:254 | 11 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/datetimeselector.php:280 | 11 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/duration.php:271 | 11 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/filetypes.php:149 | 11 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/hidden.php:61 | 11 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/warning.php:75 | 11 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/gdlib.php:104 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/gradelib.php:445 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:874 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/grouplib.php:1254 | 11 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:1531 | 11 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Interfaces
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/htmlpurifier/HTMLPurifier/Config.php:801 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/ltiprovider/src/ToolProvider/ToolProvider.php:359 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:1804 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:5964 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/moodlelib.php:6539 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/outputcomponents.php:1174 | 11 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/outputcomponents.php:1412 | 11 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/outputrenderers.php:2132 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:392 | 11 | - Method Is Not An If
- Useless Referenced Argument
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Renderer.php:98 | 11 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer.php:141 | 11 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/element.php:430 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/header.php:66 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hidden.php:59 | 11 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/image.php:58 | 11 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/php-css-parser/Parser.php:24 | 11 | - Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:337 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:299 | 11 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Address.php:51 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php:32 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:56 | 11 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:158 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:215 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:276 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Trends.php:415 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:105 | 11 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php:90 | 11 | - PHP Native Class Type Compatibility
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Workbook.php:198 | 11 | - Method Is Not An If
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpxmlrpc/Client.php:1482 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/phpxmlrpc/Server.php:466 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:986 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/rsslib.php:138 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/rsslib.php:455 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/scssphp/Cache.php:121 | 11 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/scssphp/Parser.php:2237 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/lib/setuplib.php:196 | 11 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/setuplib.php:2089 | 11 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/statslib.php:1462 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/tcpdf/include/tcpdf_fonts.php:716 | 11 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Should Use Ternary Operator
- Useless Parenthesis
- Undefined Variable
- Indices Are Int Or String
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/include/tcpdf_fonts.php:1190 | 11 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Should Use Ternary Operator
- Useless Parenthesis
- Undefined Variable
- Indices Are Int Or String
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/tcpdf.php:17277 | 11 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/testing/generator/data_generator.php:146 | 11 | - Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/tests/other/todochecker.php:154 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/tokeniserlib.php:165 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/weblib.php:2873 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/message/tests/inbound_test.php:65 | 11 | - 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
|
/mod/assign/lib.php:155 | 11 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/lib.php:1085 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/assign/lib.php:1244 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/mod/bigbluebuttonbn/classes/local/bigbluebutton/recordings/recording_data.php:172 | 11 | - Ambiguous Static
- Avoid Using stdClass
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/mod/book/lib.php:654 | 11 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/mod/book/tool/importhtml/locallib.php:39 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/mod/chat/lib.php:970 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/mod/feedback/classes/complete_form.php:510 | 11 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/classes/external.php:731 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/feedback/lib.php:2550 | 11 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:817 | 11 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:2973 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/rsslib.php:277 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/glossary/lib.php:796 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/h5pactivity/classes/local/manager.php:463 | 11 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/classes/external.php:1469 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/lesson/locallib.php:1445 | 11 | - Assumptions
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/pagetypes/numerical.php:102 | 11 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lesson/pagetypes/shortanswer.php:99 | 11 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lti/lib.php:582 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/lti/locallib.php:794 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lti/locallib.php:3344 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/accessrule/seb/classes/template_controller.php:135 | 11 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/quiz/classes/local/access_rule_base.php:142 | 11 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/mod/quiz/deprecatedlib.php:216 | 11 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/locallib.php:98 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/locallib.php:168 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/mod/quiz/locallib.php:1725 | 11 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/report/statistics/report.php:784 | 11 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/quiz/report/statistics/statistics_table.php:555 | 11 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/scorm/classes/external.php:884 | 11 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Null Or Boolean Arrays
- Iffectations
- Logical Should Use Symbolic Operators
|
/mod/scorm/lib.php:384 | 11 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/wiki/locallib.php:1022 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/locallib.php:1419 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/workshop/lib.php:1118 | 11 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/question/editlib.php:124 | 11 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/question/type/calculated/lib.php:44 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/ddimageortext/lib.php:40 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/ddmarker/lib.php:39 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/ddwtos/lib.php:40 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/essay/lib.php:44 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/gapselect/lib.php:30 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/match/lib.php:43 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/multichoice/lib.php:44 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/numerical/lib.php:44 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/randomsamatch/lib.php:43 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/shortanswer/lib.php:43 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/question/type/truefalse/lib.php:43 | 11 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/search/classes/manager.php:1196 | 11 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/user/profile/lib.php:619 | 11 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
|
None:383 | 11 | - Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Preprocessable
- Could Use Short Assignation
|
None:396 | 11 | - Undefined Properties
- Maybe Missing New
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:405 | 11 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
|
None:441 | 11 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:466 | 11 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
|
None:475 | 11 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:477 | 11 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:492 | 11 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:498 | 11 | - Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:500 | 11 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:501 | 11 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:517 | 11 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Use ::Class Operator
|
None:525 | 11 | - Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:542 | 11 | - Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
- Use === null
|
None:572 | 11 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:606 | 11 | - Unused Public Methods
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:637 | 11 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:675 | 11 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:713 | 11 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:749 | 11 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:751 | 11 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Uses Default Values
- Undefined Classes
- Preprocessable
|
/admin/mnet/peers.php:138 | 10 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Else If Versus Elseif
|
/admin/tool/brickfield/classes/local/htmlchecker/guidelines/brickfield_guideline.php:41 | 10 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:2046 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:2851 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:3034 | 10 | - No Default For Referenced Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:1075 | 10 | - Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mfa/factor/totp/extlib/Assert/Assertion.php:2420 | 10 | - Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mfa/factor/totp/extlib/OTPHP/TOTP.php:104 | 10 | - Mismatch Parameter Name
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:2263 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Retyped Reference
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:3425 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/PGTStorage/AbstractStorage.php:198 | 10 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/backup/cc/cc_lib/cc_asssesment.php:1913 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/backup/cc/cc_lib/cc_version1.php:178 | 10 | - Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:66 | 10 | - Unused Public Methods
- Class-typed References
- Unused Parameter
- Relay Function
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:71 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:75 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:79 | 10 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/gral_lib/pathutils.php:387 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/xmlbase.php:384 | 10 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/entity11.quiz.class.php:512 | 10 | - Unused Parameter
- Too Many Local Variables
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/backup/converter/moodle1/lib.php:1153 | 10 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/moodle2/restore_stepslib.php:5928 | 10 | - Unused Parameter
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/backup/util/factories/backup_factory.class.php:113 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/helper/convert_helper.class.php:384 | 10 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/util/helper/restore_decode_rule.class.php:152 | 10 | - Ambiguous Static
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/backup/util/loggers/file_logger.class.php:35 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/structure/restore_path_element.class.php:135 | 10 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/calendar/externallib.php:458 | 10 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Undefined Variable
- Could Make A Function
|
/calendar/lib.php:1320 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/calendar/lib.php:1369 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/calendar/lib.php:1922 | 10 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/calendar/lib.php:2638 | 10 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:3447 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
|
/completion/criteria/completion_criteria_role.php:106 | 10 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- No Return Used
- Different Argument Counts
- Method Could Be Static
|
/completion/criteria/completion_criteria_self.php:97 | 10 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- No Return Used
- Different Argument Counts
- Method Could Be Static
|
/contentbank/classes/form/edit_content.php:84 | 10 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/classes/category.php:248 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/classes/management_renderer.php:1043 | 10 | - Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/lib.php:1421 | 10 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:2111 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:4475 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/course/modlib.php:568 | 10 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/renderer.php:191 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/customfield/classes/category_controller.php:80 | 10 | - Ambiguous Static
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/enrol/lti/ims-blti/OAuth.php:656 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/enrol/self/classes/editselectedusers_operation.php:158 | 10 | - Unused Public Methods
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/lib.php:545 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
|
/grade/lib.php:883 | 10 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/grade/lib.php:1446 | 10 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/grade/report/history/tests/report_test.php:640 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
|
/grade/report/singleview/classes/external/singleview.php:81 | 10 | - Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
|
/group/lib.php:428 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/h5p/classes/editor_framework.php:344 | 10 | - Unused Public Methods
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Empty Function
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/h5plib/v126/joubel/core/h5p.classes.php:2163 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/accesslib.php:432 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:898 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/accesslib.php:1950 | 10 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:3015 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/accesslib.php:3083 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/adminlib.php:369 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/adodb/adodb-active-record.inc.php:106 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Relay Function
- Should Use Local Class
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb-active-record.inc.php:235 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:254 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:261 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
|
/lib/adodb/adodb-active-recordx.inc.php:132 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/adodb-datadict.inc.php:869 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-datadict.inc.php:1027 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb-lib.inc.php:198 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-lib.inc.php:240 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-pager.inc.php:56 | 10 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-time.inc.php:761 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb-xmlschema03.inc.php:142 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb.inc.php:1314 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:1329 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:1677 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:2039 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/datadict/datadict-db2.inc.php:144 | 10 | - Mismatch Parameter Name
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/drivers/adodb-db2.inc.php:734 | 10 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-mssqlnative.inc.php:823 | 10 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-mysqli.inc.php:771 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/drivers/adodb-oci8.inc.php:974 | 10 | - Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/tohtml.inc.php:50 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/authlib.php:309 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/authlib.php:404 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/authlib.php:487 | 10 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/behat/classes/behat_config_util.php:857 | 10 | - Wrong Type For Native PHP Function
- Check JSON
- Variable Is Not A Condition
- Buried Assignation
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/lib/blocklib.php:2240 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/plugin_manager.php:1435 | 10 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/classes/requirejs.php:47 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/classes/user.php:1296 | 10 | - Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/csvlib.class.php:534 | 10 | - Useless Referenced Argument
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/lib/ddllib.php:107 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/dml/moodle_database.php:600 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/dml/moodle_database.php:2534 | 10 | - 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
|
/lib/dmllib.php:135 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dmllib.php:193 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dmllib.php:246 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dmllib.php:275 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/enrollib.php:1571 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/enrollib.php:1695 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/enrollib.php:1789 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/enrollib.php:2839 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/filelib.php:2349 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/filestorage/file_exceptions.php:43 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/filestorage/file_storage.php:617 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/filestorage/zip_archive.php:669 | 10 | - Unsupported Types With Operators
- Wrong Argument Type
- Variable Is Not A Condition
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Overwritten Literals
- Iffectations
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/lib/form/classes/filetypes_util.php:264 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/defaultcustom.php:237 | 10 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/group.php:261 | 10 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/header.php:70 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/googleapi.php:255 | 10 | - Useless Method
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Method Could Be Static
|
/lib/gradelib.php:690 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:214 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/grouplib.php:233 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/grouplib.php:936 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Never Called Parameter
|
/lib/htmlpurifier/HTMLPurifier/AttrDef/HTML/Nmtokens.php:39 | 10 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Config.php:768 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/htmlpurifier/HTMLPurifier/Filter.php:38 | 10 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/LanguageFactory.php:88 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/htmlpurifier/HTMLPurifier/Lexer.php:239 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php:309 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/lexer.php:239 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/ltiprovider/src/OAuth/OAuthDataStore.php:18 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/ltiprovider/src/OAuth/OAuthDataStore.php:26 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/lib/markdown/Markdown.php:1682 | 10 | - No Default For Referenced Parameter
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/modinfolib.php:2699 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:4429 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:4548 | 10 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:7443 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:8704 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/mustache/src/Mustache/Compiler.php:618 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/navigationlib.php:2477 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/odslib.class.php:274 | 10 | - Method Is Not An If
- Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrenderers.php:3144 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputrenderers.php:5600 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/outputrequirementslib.php:1162 | 10 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:419 | 10 | - Method Is Not An If
- Max Level Of Nesting
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:458 | 10 | - Method Is Not An If
- Max Level Of Nesting
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/RuleRegistry.php:135 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/date.php:489 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/group.php:438 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hidden.php:88 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hiddenselect.php:110 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/hierselect.php:481 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/html.php:68 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/php-css-parser/CSSList/CSSBlockList.php:69 | 10 | - Method Is Not An If
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5300 | 10 | - Use Named Boolean In Argument Definition
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Modified Typed Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DSum.php:35 | 10 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:491 | 10 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:579 | 10 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:164 | 10 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:340 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Hyperlink.php:23 | 10 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:252 | 10 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:163 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpxmlrpc/Helper/Http.php:78 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Retyped Reference
|
/lib/phpxmlrpc/Server.php:569 | 10 | - Max Level Of Nesting
- Unused Parameter
- Useless Argument
- Undefined Classes
- Wrong Type With Default
- Retyped Reference
|
/lib/plist/classes/CFPropertyList/CFPropertyList.php:458 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:467 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/questionlib.php:923 | 10 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/recaptchalib_v2.php:110 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/scssphp/Compiler.php:907 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/scssphp/Compiler.php:5301 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/scssphp/Compiler.php:7096 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/scssphp/Parser.php:3890 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/statslib.php:1089 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/tcpdf/tcpdf.php:2253 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/testing/generator/data_generator.php:280 | 10 | - Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/testing/generator/data_generator.php:464 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/upgradelib.php:45 | 10 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/upgradelib.php:381 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/upgradelib.php:427 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/upgradelib.php:474 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/weblib.php:1453 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:2481 | 10 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Useless Instructions
|
/lib/weblib.php:3290 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:3772 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/xhprof/xhprof_lib/display/xhprof.php:621 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/xhprof/xhprof_lib/display/xhprof.php:635 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/xmlize.php:240 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mnet/xmlrpc/serverlib.php:167 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/renderable.php:748 | 10 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/mod/chat/lib.php:744 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/chat/lib.php:789 | 10 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/chat/tests/generator/lib.php:53 | 10 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/chat/tests/privacy/provider_test.php:429 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/choice/tests/generator/lib.php:38 | 10 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/data/locallib.php:738 | 10 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/classes/completion.php:69 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/feedback/lib.php:1314 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/mod/folder/tests/generator/lib.php:38 | 10 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/forum/classes/privacy/subcontext_info.php:109 | 10 | - Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/classes/subscriptions.php:617 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/classes/subscriptions.php:684 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:2325 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:2449 | 10 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
|
/mod/forum/lib.php:2874 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/lib.php:4023 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/glossary/lib.php:2306 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/h5pactivity/tests/generator/lib.php:50 | 10 | - Ambiguous Static
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/label/tests/generator/lib.php:39 | 10 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lesson/classes/external.php:1279 | 10 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/lesson/lib.php:434 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/lesson/locallib.php:470 | 10 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/locallib.php:4451 | 10 | - 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
|
/mod/lesson/pagetypes/branchtable.php:275 | 10 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lesson/renderer.php:101 | 10 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/view.php:178 | 10 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/mod/lti/OAuth.php:751 | 10 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/mod/lti/locallib.php:1539 | 10 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/mod/lti/locallib.php:3157 | 10 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Wrong Type With Default
|
/mod/quiz/classes/external.php:1348 | 10 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/quiz/classes/local/reports/attempts_report.php:282 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/mod/quiz/lib.php:530 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/resource/deprecatedlib.php:51 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/scorm/locallib.php:2580 | 10 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:2608 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
|
/mod/url/deprecatedlib.php:51 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/wiki/locallib.php:1604 | 10 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/wiki/parser/parser.php:74 | 10 | - Method Is Not An If
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Undefined Classes
|
/mod/workshop/locallib.php:1487 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/question/type/calculated/db/upgradelib.php:211 | 10 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/question/type/calculatedmulti/db/upgradelib.php:235 | 10 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/question/type/ddwtos/renderer.php:108 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/question/type/multianswer/edit_multianswer_form.php:66 | 10 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Parent First
|
/question/type/questiontypebase.php:743 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/question/type/random/questiontype.php:291 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/repository/googledocs/lib.php:357 | 10 | - Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/repository/lib.php:2348 | 10 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/repository/lib.php:2714 | 10 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/repository/nextcloud/classes/ocs_client.php:171 | 10 | - Method Is Not An If
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/repository/wikimedia/wikimedia.php:125 | 10 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/search/classes/base.php:317 | 10 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/search/classes/base_block.php:290 | 10 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/search/classes/engine.php:377 | 10 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
|
/user/lib.php:1320 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/user/lib.php:1332 | 10 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:282 | 10 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
|
None:357 | 10 | - Unused Public Methods
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:366 | 10 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Avoid Using stdClass
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:421 | 10 | - Maybe Missing New
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:446 | 10 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
|
None:485 | 10 | - Undefined Properties
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:499 | 10 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:512 | 10 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
- Use === null
|
None:516 | 10 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:530 | 10 | - Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Use ::Class Operator
- Global Usage
- Preprocessable
|
None:536 | 10 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:578 | 10 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:590 | 10 | - Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:615 | 10 | - Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Undefined Constants
- Uses Default Values
- Preprocessable
|
None:694 | 10 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:707 | 10 | - Useless Brackets
- Unused Global
- Avoid Using stdClass
- $this Belongs To Classes Or Traits
- Undefined Classes
- Pre-increment
- Preprocessable
|
None:764 | 10 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:781 | 10 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
/admin/roles/lib.php:39 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Insufficient Typehint
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/admin/search.php:38 | 9 | - Undefined Properties
- Buried Assignation
- Nested Ifthen
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Logical Should Use Symbolic Operators
|
/admin/tool/customlang/classes/local/mlang/phpparser.php:247 | 9 | - Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/admin/tool/dataprivacy/lib.php:39 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
|
/admin/tool/generator/classes/backend.php:139 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/httpsreplace/classes/url_finder.php:118 | 9 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:1198 | 9 | - Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:1990 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:2076 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/messageinbound/roundcube/rcube_mime.php:485 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_utils.php:299 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_utils.php:417 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/mfa/lib.php:121 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
|
/admin/tool/policy/classes/api.php:794 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/analytics/classes/calculable.php:120 | 9 | - 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
- Method Could Be Static
|
/analytics/classes/local/target/base.php:350 | 9 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:2915 | 9 | - Ambiguous Static
- Unused Parameter
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:3225 | 9 | - Ambiguous Static
- Unused Parameter
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/auth/classes/external.php:189 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/backup/cc/cc_lib/cc_asssesment.php:433 | 9 | - Unused Public Methods
- Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/cc_asssesment.php:2164 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_manifest.php:45 | 9 | - Method Is Not An If
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_utils.php:50 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/backup/cc/cc_lib/cc_utils.php:249 | 9 | - Use Named Boolean In Argument Definition
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_version1.php:156 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/cc_version1.php:172 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/cc_version1.php:256 | 9 | - No Default For Referenced Parameter
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:46 | 9 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:62 | 9 | - Unused Public Methods
- Class-typed References
- Unused Parameter
- Relay Function
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:83 | 9 | - Unused Public Methods
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/xmlbase.php:318 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/xmlbase.php:336 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/xmlbase.php:371 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/entity.quiz.class.php:519 | 9 | - Max Level Of Nesting
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/backup/cc/entity.quiz.class.php:585 | 9 | - Max Level Of Nesting
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/backup/cc/entity11.quiz.class.php:605 | 9 | - Max Level Of Nesting
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/backup/converter/moodle1/handlerlib.php:2040 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/backup/moodle2/backup_stepslib.php:142 | 9 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/backup/util/factories/convert_factory.class.php:41 | 9 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/backup_ui.class.php:79 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/import_extensions.php:97 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/blocks/moodleblock.class.php:731 | 9 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/blocks/section_links/renderer.php:44 | 9 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Method Could Be Static
|
/blog/classes/external.php:166 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/blog/classes/external.php:177 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/blog/lib.php:341 | 9 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Memoize MagicCall
- Never Called Parameter
|
/calendar/externallib.php:179 | 9 | - Cancelled Parameter
- Max Level Of Nesting
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Memoize MagicCall
|
/calendar/lib.php:2926 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/competency/classes/api.php:5258 | 9 | - Too Many Local Variables
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/completion/criteria/completion_criteria_date.php:216 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/completion/criteria/completion_criteria_grade.php:272 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/completion/criteria/completion_criteria_self.php:160 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/completion/criteria/completion_criteria_unenrol.php:142 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/contentbank/classes/contentbank.php:235 | 9 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/classes/management_renderer.php:931 | 9 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/course/externallib.php:3048 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/course/format/classes/base.php:1605 | 9 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/course/format/classes/output/section_renderer.php:316 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/course/format/classes/output/section_renderer.php:412 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/course/lib.php:685 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/course/lib.php:1692 | 9 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/course/lib.php:1943 | 9 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:3252 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/renderer.php:118 | 9 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:185 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:321 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/tests/backup/restore_test.php:47 | 9 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/course/tests/customfield_test.php:89 | 9 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/enrol/database/tests/sync_test.php:80 | 9 | - Wrong Argument Type
- Too Many Native Calls
- Wrong Type With Call
- Undefined Variable
- Unused Returned Value
- Could Make A Function
|
/enrol/fee/settings.php:74 | 9 | - Wrong Argument Type
- Wrong Type With Call
- Useless Instructions
- Could Make A Function
- No Choice
- Useless Null Coalesce
|
/enrol/flatfile/lib.php:197 | 9 | - strpos() Too Much
- Should Use Ternary Operator
- Undefined Variable
- Uses Default Values
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/enrol/lti/tests/local/ltiadvantage/repository/application_registration_repository_test.php:38 | 9 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/filter/emoticon/filter.php:67 | 9 | - Weak Type With Array
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Strict Comparison With Booleans
|
/filter/urltolink/filter.php:54 | 9 | - Weak Type With Array
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Strict Comparison With Booleans
|
/grade/classes/privacy/grade_grade_with_history.php:33 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/export/lib.php:268 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/export/lib.php:278 | 9 | - Undefined Properties
- Wrong Argument Type
- Variable Is Not A Condition
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
|
/grade/grading/form/guide/renderer.php:355 | 9 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/grading/form/lib.php:229 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/grade/grading/form/lib.php:242 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/grade/lib.php:792 | 9 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- StandaloneType True False Null
- Could Inject Parameter
|
/grade/report/history/classes/helper.php:130 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/grade/report/lib.php:278 | 9 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/report/lib.php:1037 | 9 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Method Could Be Static
|
/grade/report/overview/lib.php:414 | 9 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/grade/report/user/lib.php:206 | 9 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- StandaloneType True False Null
- Modified Typed Parameter
|
/group/lib.php:715 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/h5p/classes/output/renderer.php:84 | 9 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/h5p/h5plib/v126/joubel/core/h5p-metadata.class.php:89 | 9 | - No Default For Referenced Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/h5p/h5plib/v126/joubel/core/h5p.classes.php:2654 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/h5p/lib.php:44 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/accesslib.php:601 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:626 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:3971 | 9 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/accesslib.php:4256 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:4533 | 9 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/adminlib.php:943 | 9 | - Mismatch Parameter Name
- Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-active-record.inc.php:223 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Use ::Class Operator
- Could Inject Parameter
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:663 | 9 | - Missing Assignation In Branches
- Nested Ifthen
- Undefined Variable
- Used Once Variables (In Scope)
- Native Alias Functions Usage
- Uses Default Values
|
/lib/adodb/adodb-active-record.inc.php:784 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-csvlib.inc.php:40 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-datadict.inc.php:631 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-datadict.inc.php:840 | 9 | - Missing Assignation In Branches
- Wrong Type For Native PHP Function
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Else If Versus Elseif
|
/lib/adodb/adodb-lib.inc.php:391 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-pager.inc.php:275 | 9 | - Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/lib/adodb/adodb-time.inc.php:415 | 9 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/adodb-time.inc.php:820 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/adodb/adodb-time.inc.php:1034 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb-time.inc.php:1069 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/adodb-xmlschema.inc.php:133 | 9 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema.inc.php:142 | 9 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema.inc.php:146 | 9 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema.inc.php:1837 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-xmlschema03.inc.php:164 | 9 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema03.inc.php:2004 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb.inc.php:333 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb.inc.php:1299 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:2533 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/adodb.inc.php:3130 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/drivers/adodb-ado.inc.php:496 | 9 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/drivers/adodb-ado5.inc.php:540 | 9 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/drivers/adodb-ads.inc.php:496 | 9 | - Missing Assignation In Branches
- Unsupported Types With Operators
- False To Array Conversion
- Variable Is Not A Condition
- Nested Ifthen
- Null Or Boolean Arrays
- Uses Default Values
|
/lib/adodb/drivers/adodb-fbsql.inc.php:227 | 9 | - Mismatch Parameter Name
- Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-firebird.inc.php:188 | 9 | - Mismatch Parameter Name
- 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
|
/lib/adodb/drivers/adodb-ibase.inc.php:108 | 9 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-ldap.inc.php:335 | 9 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/lib/adodb/drivers/adodb-mysqli.inc.php:1785 | 9 | - Mismatch Parameter Name
- Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-mysqli.inc.php:1904 | 9 | - Mismatch Parameter Name
- Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-oci8.inc.php:1063 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-oci8po.inc.php:43 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
- Method Could Be Static
|
/lib/adodb/drivers/adodb-oci8po.inc.php:53 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/drivers/adodb-odbc.inc.php:472 | 9 | - Missing Assignation In Branches
- Unsupported Types With Operators
- False To Array Conversion
- Variable Is Not A Condition
- Nested Ifthen
- Null Or Boolean Arrays
- Uses Default Values
|
/lib/adodb/drivers/adodb-odbtp.inc.php:574 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/drivers/adodb-oracle.inc.php:310 | 9 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo.inc.php:303 | 9 | - Method Is Not An If
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/drivers/adodb-pdo.inc.php:334 | 9 | - Method Is Not An If
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-pdo_firebird.inc.php:202 | 9 | - Mismatch Parameter Name
- 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
|
/lib/authlib.php:416 | 9 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/authlib.php:648 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
|
/lib/behat/classes/behat_config_manager.php:201 | 9 | - Wrong Type For Native PHP Function
- Check JSON
- Merge If Then
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/lib/blocklib.php:2494 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/classes/files/curl_security_helper.php:66 | 9 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/lib/classes/message/inbound/processing_failed_exception.php:43 | 9 | - Incompatible Signature Methods With Covariance
- Avoid Using stdClass
- Useless Return
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/plugininfo/base.php:448 | 9 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Avoid Optional Properties
- Drop Else After Return
- Logical Should Use Symbolic Operators
- Use === null
|
/lib/classes/plugininfo/base.php:583 | 9 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/classes/requirejs.php:77 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/classes/useragent.php:102 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Same Name For Property And Method
- Hidden Nullable Typehint
|
/lib/datalib.php:1712 | 9 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Missing Some Returntype
|
/lib/dml/moodle_database.php:894 | 9 | - Assumptions
- Max Level Of Nesting
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/moodle_database.php:2214 | 9 | - 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
- Method Could Be Static
|
/lib/dml/moodle_database.php:2228 | 9 | - 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
- Method Could Be Static
|
/lib/dml/oci_native_moodle_database.php:996 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/enrollib.php:2703 | 9 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
|
/lib/enrollib.php:3457 | 9 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/excellib.class.php:312 | 9 | - Method Is Not An If
- Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/external/classes/external_format_value.php:40 | 9 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/externallib.php:149 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/filebrowser/virtual_root_file.php:84 | 9 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/filelib.php:1946 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filestorage/file_storage.php:1224 | 9 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/form/duration.php:113 | 9 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/editor.php:281 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/form/header.php:60 | 9 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/form/hidden.php:69 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/form/modvisible.php:143 | 9 | - Method Is Not An If
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/lib/formslib.php:1109 | 9 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/formslib.php:3625 | 9 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_grade.php:529 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
|
/lib/grade/grade_item.php:288 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Don't Send $this In Constructor
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/grade_object.php:87 | 9 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Don't Send $this In Constructor
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:1022 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:1074 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:1474 | 9 | - Don't Pollute Global Space
- No Class In Global
- Undefined Interfaces
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:468 | 9 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Arborize.php:39 | 9 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/htmlpurifier/HTMLPurifier/AttrDef/HTML/Nmtokens.php:64 | 9 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Encoder.php:134 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/htmlpurifier/HTMLPurifier/Filter.php:50 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Strategy/RemoveForeignElements.php:20 | 9 | - Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/lib/lexer.php:226 | 9 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/markdown/MarkdownExtra.php:408 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/minify/matthiasmullie-minify/src/CSS.php:300 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/lib/moodlelib.php:7066 | 9 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:7690 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:7781 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:8472 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/oauthlib.php:644 | 9 | - Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Different Argument Counts
|
/lib/outputcomponents.php:1893 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/outputcomponents.php:1927 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm.php:353 | 9 | - Ambiguous Static
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Rule.php:62 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Rule/Callback.php:88 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/header.php:51 | 9 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/PEAR.php:262 | 9 | - Ambiguous Static
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/php-css-parser/RuleSet/DeclarationBlock.php:60 | 9 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Merge If Then
- Bail Out Early
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Avoid Substr() One
|
/lib/php-jwt/src/CachedKeySet.php:122 | 9 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5253 | 9 | - Use Named Boolean In Argument Definition
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
- Modified Typed Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5478 | 9 | - No Default For Referenced Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Modified Typed Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5530 | 9 | - No Default For Referenced Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Modified Typed Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DCount.php:36 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php:36 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMin.php:36 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:481 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:858 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:886 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:288 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:325 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:603 | 9 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:845 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical.php:255 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:121 | 9 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:362 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:381 | 9 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/Helpers.php:16 | 9 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Should Use Local Class
- StandaloneType True False Null
- Retyped Reference
- Missing Some Returntype
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:440 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:514 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:892 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:109 | 9 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/ChartColor.php:33 | 9 | - Method Is Not An If
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter.php:755 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php:2997 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1026 | 9 | - Max Level Of Nesting
- Unused Parameter
- Too Many Local Variables
- Insufficient Typehint
- Undefined Classes
- StandaloneType True False Null
- Retyped Reference
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Rels.php:462 | 9 | - Method Is Not An If
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpunit/classes/constraint_object_is_equal_with_exceptions.php:55 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/lib/portfolio/formats.php:79 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/portfolio/formats/leap2a/lib.php:143 | 9 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
- Unused Returned Value
- Could Make A Function
|
/lib/questionlib.php:450 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/questionlib.php:534 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/questionlib.php:1547 | 9 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/lib/resourcelib.php:258 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/scssphp/Compiler.php:1104 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/scssphp/Compiler.php:6852 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/scssphp/Parser.php:3064 | 9 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/lib/scssphp/Parser.php:3957 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/simplepie/src/IRI.php:829 | 9 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Iffectations
- Uses Default Values
- Could Make A Function
- Should Typecast
|
/lib/tablelib.php:605 | 9 | - Wrong Argument Type
- Check JSON
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/lib/tcpdf/tcpdf.php:24081 | 9 | - Weak Type With Array
- Useless Parenthesis
- Native Alias Functions Usage
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/tcpdf_autoconfig.php:48 | 9 | - Wrong Type For Native PHP Function
- Modernize Empty With Expression
- Don't Change Incomings
- Uses Default Values
- Could Make A Function
- Adding Zero
|
/lib/testing/generator/repository_generator.php:113 | 9 | - Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/testing/generator/repository_generator.php:176 | 9 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tests/fixtures/testable_update_checker.php:75 | 9 | - Useless Method
- Unused Public Methods
- Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tests/task/file_temp_cleanup_task_test.php:129 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/webauthn/src/WebAuthn.php:41 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/weblib.php:2048 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/weblib.php:3362 | 9 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/xhprof/xhprof_html/callgraph.php:33 | 9 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/lib/xhprof/xhprof_html/index.php:35 | 9 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/lib/xhprof/xhprof_html/typeahead.php:25 | 9 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/lib/xmldb/xmldb_object.php:419 | 9 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/login/digital_minor.php:41 | 9 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/login/tests/login_lib_test.php:213 | 9 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/login/tests/login_lib_test.php:221 | 9 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/login/verify_age_location.php:41 | 9 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:847 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Should Use Ternary Operator
- Iffectations
- Else If Versus Elseif
|
/message/tests/task/migrate_message_data_test.php:363 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mnet/lib.php:364 | 9 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/assignmentplugin.php:199 | 9 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/externallib.php:267 | 9 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/assign/externallib.php:969 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/feedback/editpdf/classes/renderer.php:78 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/gradingtable.php:1459 | 9 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/mod/assign/lib.php:1310 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/assign/settings.php:31 | 9 | - Recycled Variables
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/assign/tests/generator.php:65 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/classes/event/live_session_event.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/meeting_created.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/meeting_ended.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_deleted.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_edited.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_imported.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_protected.php:32 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_published.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_unprotected.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_unpublished.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/recording_viewed.php:33 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/form/text_with_copy_element.php:47 | 9 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/classes/local/extension/action_url_addons.php:40 | 9 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Wrong Type With Default
- Unreachable Method
|
/mod/bigbluebuttonbn/classes/local/extension/mod_form_addons.php:51 | 9 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/classes/local/helpers/files.php:139 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/classes/output/recording_row_actionbar.php:170 | 9 | - Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/bigbluebuttonbn/lib.php:240 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Useless Argument
|
/mod/bigbluebuttonbn/lib.php:663 | 9 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Useless Argument
|
/mod/book/tests/generator/lib.php:53 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/data/classes/external.php:212 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/data/classes/external.php:608 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/data/lib.php:2055 | 9 | - Wrong Argument Type
- Buried Assignation
- Use Positive Condition
- Modernize Empty With Expression
- No Need For Else
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Drop Else After Return
|
/mod/data/lib.php:2444 | 9 | - Method Is Not An If
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/mod/data/lib.php:3563 | 9 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
- Wrong Type With Default
|
/mod/data/tests/generator/lib.php:71 | 9 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/data/tests/generator/lib.php:92 | 9 | - Max Level Of Nesting
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/mod/data/tests/lib_test.php:1610 | 9 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/feedback/classes/external.php:321 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:389 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:980 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:1046 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:1374 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/item/captcha/lib.php:91 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/feedback/item/feedback_item_class.php:319 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Empty Function
- Undefined Classes
- Wrong Type With Default
|
/mod/feedback/item/label/lib.php:242 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Empty Function
- Undefined Classes
- Wrong Type With Default
|
/mod/feedback/tests/generator/lib.php:38 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/forum/classes/message/inbound/reply_handler.php:280 | 9 | - Unused Parameter
- Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/mod/forum/lib.php:400 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Missing Some Returntype
|
/mod/forum/lib.php:1105 | 9 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Never Called Parameter
|
/mod/forum/lib.php:2342 | 9 | - Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/forum/lib.php:6175 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/forum/tests/generator/lib.php:67 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/glossary/lib.php:1261 | 9 | - Wrong Argument Type
- Variable Is Not A Condition
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/glossary/lib.php:1284 | 9 | - Missing Assignation In Branches
- Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/glossary/lib.php:3723 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/glossary/tests/generator/lib.php:59 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/h5pactivity/classes/output/attempt.php:126 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Missing Some Returntype
|
/mod/h5pactivity/classes/output/attempt.php:152 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Missing Some Returntype
|
/mod/h5pactivity/lib.php:340 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- StandaloneType True False Null
|
/mod/h5pactivity/lib.php:425 | 9 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Insufficient Typehint
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Could Inject Parameter
|
/mod/h5pactivity/tests/external/get_attempts_test.php:96 | 9 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Variable Is Not A Condition
- Useless Parenthesis
- Indices Are Int Or String
|
/mod/imscp/tests/generator/lib.php:38 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lesson/classes/external.php:290 | 9 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Iffectations
- Else If Versus Elseif
|
/mod/lesson/classes/external.php:1602 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/lesson/locallib.php:3937 | 9 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/mod/lesson/report.php:62 | 9 | - Wrong Argument Type
- Merge If Then
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Logical Should Use Symbolic Operators
|
/mod/lesson/tests/generator/lib.php:82 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/lesson/tests/generator/lib.php:130 | 9 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lti/locallib.php:1521 | 9 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/lti/servicelib.php:253 | 9 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/lti/tests/generator/lib.php:43 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/quiz/classes/external.php:393 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/external.php:625 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/external.php:726 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/quiz/classes/external.php:740 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/external.php:1762 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/external.php:1838 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/local/reports/report_base.php:60 | 9 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/quiz/classes/output/renderer.php:1064 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/mod/quiz/classes/quiz_attempt.php:639 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/lib.php:592 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/lib.php:1643 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/lib.php:1686 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/quiz/report/statistics/classes/calculator.php:59 | 9 | - Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/mod/quiz/report/statistics/statistics_table.php:519 | 9 | - Method Is Not An If
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/quiz/tests/generator/lib.php:31 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/scorm/datamodels/scorm_13lib.php:800 | 9 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Useless Parenthesis
- Wrong Type With Call
|
/mod/scorm/datamodels/sequencinglib.php:66 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/datamodels/sequencinglib.php:635 | 9 | - Undefined Properties
- Buried Assignation
- Identical Conditions
- Undefined Variable
- Iffectations
- Uses Default Values
|
/mod/scorm/lib.php:197 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:343 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/scorm/locallib.php:2022 | 9 | - No Default For Referenced Parameter
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/locallib.php:2199 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/tests/generator/lib.php:38 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/scorm/tests/lib_test.php:512 | 9 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/url/locallib.php:84 | 9 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/url/tests/generator/lib.php:38 | 9 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/wiki/classes/external.php:868 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
|
/mod/wiki/parser/markups/creole.php:94 | 9 | - Useless Method
- Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/mod/wiki/parser/markups/wikimarkup.php:404 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/mod/wiki/tests/generator/lib.php:53 | 9 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/workshop/classes/external.php:190 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/workshop/classes/external.php:285 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/workshop/classes/external.php:1388 | 9 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/workshop/classes/external.php:1607 | 9 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/notes/lib.php:386 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/question/bank/editquestion/classes/editquestion_helper.php:53 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/question/bank/statistics/classes/helper.php:225 | 9 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
- Missing Some Returntype
|
/question/classes/statistics/questions/calculated_question_summary.php:149 | 9 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/question/classes/statistics/questions/calculated_question_summary.php:173 | 9 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/question/engine/questionattempt.php:1860 | 9 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/questionusage.php:922 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/question/engine/questionusage.php:1146 | 9 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/tests/helpers.php:1316 | 9 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Wrong Type Returned
|
/question/engine/tests/helpers.php:1325 | 9 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Wrong Type Returned
|
/question/type/ddmarker/renderer.php:125 | 9 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/question/type/essay/renderer.php:418 | 9 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/report/log/lib.php:163 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/report/stats/lib.php:144 | 9 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/reportbuilder/classes/local/helpers/format.php:40 | 9 | - Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- StandaloneType True False Null
- Never Called Parameter
|
/repository/lib.php:2197 | 9 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/repository/lib.php:2496 | 9 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/repository/s3/S3.php:904 | 9 | - Max Level Of Nesting
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/search/classes/engine.php:388 | 9 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/search/engine/solr/classes/engine.php:1206 | 9 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Never Called Parameter
|
/search/tests/fixtures/testable_core_search.php:52 | 9 | - Mismatch Parameter Name
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Same Name For Property And Method
- Never Called Parameter
|
/theme/styles.php:293 | 9 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/user/editlib.php:252 | 9 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
|
/user/externallib.php:1737 | 9 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Undefined Variable
- Logical Should Use Symbolic Operators
|
/user/lib.php:320 | 9 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
None:340 | 9 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:410 | 9 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:597 | 9 | - Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:618 | 9 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:725 | 9 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
|
None:734 | 9 | - Don't Pollute Global Space
- No Class In Global
- Maybe Missing New
- Useless Brackets
- Empty Classes
- Uses Default Values
- Class Could Be Final
- Preprocessable
|
None:741 | 9 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:779 | 9 | - Unused Public Methods
- Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
|
None:798 | 9 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:802 | 9 | - Don't Pollute Global Space
- No Class In Global
- Maybe Missing New
- Unused Global
- Empty Classes
- $this Belongs To Classes Or Traits
- Class Could Be Final
- Preprocessable
|
None:828 | 9 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:901 | 9 | - Unused Public Methods
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/admin/presets/classes/local/setting/adminpresets_admin_setting_bloglevel.php:36 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/presets/classes/local/setting/delegation.php:50 | 8 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Insufficient Typehint
- Should Use Local Class
- Method Could Be Static
|
/admin/presets/classes/manager.php:449 | 8 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Modernize Empty With Expression
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/admin/tool/behat/cli/run.php:481 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/admin/tool/behat/settings.php:30 | 8 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/admin/tool/dataprivacy/classes/purpose.php:57 | 8 | - Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/dbtransfer/locallib.php:79 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/classes/manager.php:1364 | 8 | - Undefined Variable
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
- include_once() Usage
- No Parenthesis For Language Construct
|
/admin/tool/messageinbound/roundcube/rcube_mime.php:320 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_utils.php:328 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/messageinbound/roundcube/rcube_utils.php:668 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/messageinbound/roundcube/rcube_utils.php:789 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mfa/classes/local/form/verification_field.php:43 | 8 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Useless Return
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/mfa/db/subplugins.php:28 | 8 | - Wrong Type For Native PHP Function
- Undefined Properties
- Check JSON
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
|
/admin/tool/mfa/factor/grace/classes/factor.php:88 | 8 | - Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Missing Some Returntype
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS.php:1335 | 8 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/PGTStorage/AbstractStorage.php:213 | 8 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/auth/ldap/tests/auth_ldap_test.php:595 | 8 | - Method Is Not An If
- Max Level Of Nesting
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/auth/shibboleth/login.php:25 | 8 | - Undefined Properties
- Wrong Argument Type
- Return True False
- Should Use Ternary Operator
- Wrong Type With Call
- Undefined Variable
- Logical Should Use Symbolic Operators
|
/auth/shibboleth/login.php:70 | 8 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/backup/cc/cc_lib/cc_organization.php:86 | 8 | - Useless Referenced Argument
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_organization.php:170 | 8 | - Useless Referenced Argument
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_resources.php:165 | 8 | - Useless Referenced Argument
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_utils.php:376 | 8 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
|
/backup/cc/cc_lib/cc_utils.php:433 | 8 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
|
/backup/cc/cc_lib/cc_version1.php:141 | 8 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/cc_version1.php:364 | 8 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_version1.php:432 | 8 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/xmlbase.php:353 | 8 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/validator.php:29 | 8 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
|
/backup/moodle2/backup_section_task.class.php:43 | 8 | - Undefined Classes
- Parent First
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/moodle2/restore_qtype_plugin.class.php:365 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/backup/util/helper/backup_cron_helper.class.php:450 | 8 | - Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/backup/util/helper/backup_helper.class.php:403 | 8 | - Non Integer Nor String As Index
- Weak Type With Array
- Scalar Are Not Arrays
- Unsupported Types With Operators
- Null Or Boolean Arrays
- Uses Default Values
- Indices Are Int Or String
- Strict Comparison With Booleans
|
/backup/util/structure/base_optigroup.class.php:42 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/renderer.php:164 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/backup/util/xml/parser/tests/parser_test.php:760 | 8 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/blocks/admin_bookmarks/create.php:34 | 8 | - Wrong Argument Type
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/blocks/admin_bookmarks/delete.php:35 | 8 | - Wrong Argument Type
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/blocks/rss_client/block_rss_client.php:274 | 8 | - Method Is Not An If
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/blocks/tag_youtube/settings.php:28 | 8 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/calendar/externallib.php:432 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/calendar/lib.php:459 | 8 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/calendar/lib.php:1847 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/competency/classes/privacy/provider.php:1175 | 8 | - Unused Parameter
- Undefined Variable
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Unused Inherited Variable In Closure
|
/competency/classes/privacy/provider.php:1211 | 8 | - Unused Parameter
- Undefined Variable
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Unused Inherited Variable In Closure
|
/completion/classes/manager.php:540 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/completion/criteria/completion_criteria_activity.php:263 | 8 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/completion/data_object.php:89 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Don't Send $this In Constructor
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/contentbank/tests/generator/lib.php:55 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Should Use Local Class
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
|
/course/classes/management_renderer.php:683 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/format/classes/base.php:1340 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/jumpto.php:37 | 8 | - strpos() Too Much
- Bail Out Early
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/course/lib.php:544 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/course/lib.php:1380 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:2426 | 8 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/modlib.php:47 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/renderer.php:279 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:300 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:311 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:332 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/course/renderer.php:1977 | 8 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/user.php:98 | 8 | - Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/enrol/cohort/lib.php:111 | 8 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/fee/classes/plugin.php:139 | 8 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/ldap/tests/ldap_test.php:470 | 8 | - Method Is Not An If
- Max Level Of Nesting
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/enrol/lti/ims-blti/OAuth.php:668 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/enrol/lti/lib.php:458 | 8 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/enrol/meta/lib.php:117 | 8 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/paypal/lib.php:130 | 8 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/self/lib.php:1090 | 8 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/error/index.php:87 | 8 | - Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/filter/tex/latex.php:76 | 8 | - Ambiguous Static
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/edit/letter/index.php:259 | 8 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/grade/export/lib.php:219 | 8 | - Bail Out Early
- No Need For Else
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
- Drop Else After Return
|
/grade/export/xml/grade_export_xml.php:56 | 8 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/grade/grading/form/guide/guideeditor.php:158 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/form/rubric/rubriceditor.php:163 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/lib.php:885 | 8 | - Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/grade/lib.php:1483 | 8 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Method Could Be Static
|
/grade/lib.php:2633 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/grade/lib.php:2647 | 8 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/grade/lib.php:2828 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/grade/report/history/classes/output/tablelog.php:413 | 8 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/grade/tests/behat/behat_grades.php:85 | 8 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
- Could Make A Function
|
/grade/tests/reportlib_test.php:44 | 8 | - Useless Method
- Mismatch Parameter Name
- Relay Function
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/grade/tests/reportuserlib_test.php:176 | 8 | - Ambiguous Static
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/group/lib.php:247 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/group/lib.php:524 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/classes/api.php:355 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Avoid Using stdClass
- Objects Don't Need References
|
/h5p/classes/editor_framework.php:331 | 8 | - Unused Public Methods
- Mismatch Parameter Name
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
|
/h5p/classes/framework.php:1020 | 8 | - Unused Public Methods
- Mismatch Parameter Name
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/classes/helper.php:474 | 8 | - Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/h5p/classes/output/renderer.php:60 | 8 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/h5p/h5plib/v126/joubel/core/h5p-default-storage.class.php:141 | 8 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/lib/accesslib.php:3378 | 8 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:3434 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/adminlib.php:848 | 8 | - 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
|
/lib/adminlib.php:1287 | 8 | - Method Is Not An If
- 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
|
/lib/adminlib.php:1524 | 8 | - Method Is Not An If
- 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
|
/lib/adminlib.php:2061 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:119 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb-active-record.inc.php:719 | 8 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-active-recordx.inc.php:764 | 8 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-lib.inc.php:321 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-xmlschema.inc.php:1185 | 8 | - Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/adodb/adodb-xmlschema.inc.php:1678 | 8 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema.inc.php:1687 | 8 | - Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema03.inc.php:151 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema03.inc.php:160 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/adodb-xmlschema03.inc.php:1292 | 8 | - Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/adodb/adodb.inc.php:379 | 8 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb.inc.php:846 | 8 | - Make Global A Property
- Useless Global
- Undefined Variable
- Used Once Variables (In Scope)
- Global Usage
- Could Be A Static Variable
|
/lib/adodb/adodb.inc.php:1471 | 8 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:3051 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:3181 | 8 | - Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb.inc.php:3470 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:3523 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:3538 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb.inc.php:3563 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb.inc.php:4039 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/adodb.inc.php:5758 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/datadict/datadict-mssql.inc.php:64 | 8 | - Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/datadict/datadict-mysql.inc.php:36 | 8 | - Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/datadict/datadict-sybase.inc.php:30 | 8 | - Cancelled Parameter
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-db2oci.inc.php:149 | 8 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/drivers/adodb-firebird.inc.php:1276 | 8 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-ibase.inc.php:865 | 8 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-mssql.inc.php:834 | 8 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Method Could Be Static
|
/lib/adodb/drivers/adodb-mssqlnative.inc.php:914 | 8 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Method Could Be Static
|
/lib/adodb/drivers/adodb-mysqli.inc.php:307 | 8 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Never Called Parameter
|
/lib/adodb/drivers/adodb-mysqli.inc.php:1677 | 8 | - Undefined Properties
- Variable Is Not A Condition
- Use PHP Object API
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- @ Operator
|
/lib/adodb/drivers/adodb-oci8.inc.php:1467 | 8 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-oci8.inc.php:1829 | 8 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-odbc_db2.inc.php:239 | 8 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-odbc_mssql.inc.php:369 | 8 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Method Could Be Static
|
/lib/adodb/drivers/adodb-oracle.inc.php:294 | 8 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/lib/adodb/drivers/adodb-pdo_mysql.inc.php:70 | 8 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/drivers/adodb-postgres64.inc.php:413 | 8 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-postgres64.inc.php:1089 | 8 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-vfp.inc.php:80 | 8 | - Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/authlib.php:141 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/authlib.php:342 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/Api/Serializer/RestSerializer.php:185 | 8 | - Method Is Not An If
- Assumptions
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/Crypto/Polyfill/ByteArray.php:199 | 8 | - Ambiguous Static
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/aws-sdk/src/Crypto/Polyfill/NeedsTrait.php:29 | 8 | - Method Is Not An If
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/badgeslib.php:142 | 8 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Insufficient Typehint
- Useless Argument
- Undefined Classes
|
/lib/behat/classes/behat_config_util.php:864 | 8 | - Wrong Type For Native PHP Function
- Check JSON
- Buried Assignation
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
|
/lib/behat/extension/Moodle/BehatExtension/Driver/WebDriver.php:79 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/behat/extension/Moodle/BehatExtension/Output/Printer/MoodleProgressPrinter.php:64 | 8 | - Method Is Not An If
- Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
|
/lib/bennu/iCalendar_parameters.php:41 | 8 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
|
/lib/blocklib.php:2104 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/context.php:975 | 8 | - Method Is Not An If
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/classes/context_helper.php:309 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/grading_external.php:67 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Never Called Parameter
|
/lib/classes/message/inbound/handler.php:236 | 8 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/classes/message/inbound/private_files_handler.php:76 | 8 | - Mismatch Parameter Name
- Too Many Local Variables
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Modified Typed Parameter
- Method Could Be Static
|
/lib/classes/notification.php:58 | 8 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/oauth2/api.php:242 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/classes/plugin_manager.php:1306 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1314 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1318 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1334 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1339 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1392 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1400 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1408 | 8 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugininfo/base.php:704 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
|
/lib/classes/report_helper.php:57 | 8 | - Non Integer Nor String As Index
- Weak Type With Array
- Scalar Are Not Arrays
- Unsupported Types With Operators
- Null Or Boolean Arrays
- Uses Default Values
- Indices Are Int Or String
- Strict Comparison With Booleans
|
/lib/classes/session/manager.php:364 | 8 | - Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/lib/classes/session/redis.php:457 | 8 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Missing Some Returntype
|
/lib/classes/string_manager_install.php:180 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/user.php:1457 | 8 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/clilib.php:227 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/completionlib.php:169 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/completionlib.php:1654 | 8 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/configonlylib.php:176 | 8 | - strpos() Too Much
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Could Make A Function
- Drop Else After Return
- Logical Should Use Symbolic Operators
|
/lib/ddllib.php:93 | 8 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/deprecatedlib.php:536 | 8 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
|
/lib/deprecatedlib.php:2931 | 8 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/dml/sqlsrv_native_moodle_database.php:321 | 8 | - Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/dml/sqlsrv_native_moodle_database.php:773 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dmllib.php:164 | 8 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/editor/atto/autosave-ajax.php:75 | 8 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
|
/lib/editor/atto/lib.php:103 | 8 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Number Of Arguments
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/lib/enrollib.php:2602 | 8 | - Method Is Not An If
- Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/enrollib.php:3399 | 8 | - Check Division By Zero
- Undefined Properties
- Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
- Preprocessable
|
/lib/enrollib.php:3603 | 8 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
|
/lib/environmentlib.php:969 | 8 | - Buried Assignation
- Use Positive Condition
- Written Only Variables
- Undefined Variable
- Iffectations
- Used Once Variables
- Used Once Variables (In Scope)
|
/lib/environmentlib.php:1598 | 8 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/filterlib.php:328 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/lib/filterlib.php:462 | 8 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/flickrlib.php:198 | 8 | - Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/form/modgrade.php:262 | 8 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
|
/lib/form/selectgroups.php:270 | 8 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/formslib.php:1120 | 8 | - Unused Parameter
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/formslib.php:1945 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/grade/grade_category.php:239 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_object.php:244 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/grade_outcome.php:155 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_scale.php:164 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/gradelib.php:853 | 8 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Useless Argument
- Undefined Classes
- StandaloneType True False Null
|
/lib/graphlib.php:1557 | 8 | - Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/grouplib.php:752 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:478 | 8 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:504 | 8 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php:276 | 8 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/htmlpurifier/HTMLPurifier/URIScheme/data.php:133 | 8 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/ltiprovider/src/ToolProvider/Context.php:347 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Make Alias
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/ltiprovider/src/ToolProvider/DataConnector/DataConnector.php:592 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/ltiprovider/src/ToolProvider/ResourceLink.php:866 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Make Alias
- Mismatched Default Arguments
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
|
/lib/ltiprovider/src/ToolProvider/Service/Membership.php:50 | 8 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/ltiprovider/src/ToolProvider/ToolProvider.php:480 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/minify/matthiasmullie-minify/src/Minify.php:534 | 8 | - Method Is Not An If
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/lib/moodlelib.php:1000 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/moodlelib.php:1129 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/moodlelib.php:1458 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:4303 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/moodlelib.php:7275 | 8 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/moodlelib.php:8336 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:8406 | 8 | - Weak Type With Array
- False To Array Conversion
- Wrong Type For Native PHP Function
- Identical Consecutive Expression
- Uses Default Values
- Use random_int()
- Could Make A Function
|
/lib/navigationlib.php:1974 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/navigationlib.php:2833 | 8 | - Missing Assignation In Branches
- Weak Type With Array
- Undefined Properties
- Buried Assignation
- Empty Blocks
- Written Only Variables
- Undefined Variable
- Iffectations
|
/lib/navigationlib.php:6123 | 8 | - array_key_exists() Works On Arrays
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/outputcomponents.php:2455 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Mismatched Default Arguments
- Undefined Classes
|
/lib/outputcomponents.php:2491 | 8 | - Assumptions
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/outputfactories.php:182 | 8 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/outputlib.php:184 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/outputlib.php:2349 | 8 | - Method Is Not An If
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
|
/lib/outputrenderers.php:365 | 8 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/outputrenderers.php:2385 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/outputrenderers.php:2653 | 8 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/outputrenderers.php:5686 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/Common.php:97 | 8 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/Common.php:102 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Renderer.php:83 | 8 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:308 | 8 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Rule/Email.php:39 | 8 | - Mismatch Parameter Name
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Rule/Regex.php:55 | 8 | - Mismatch Parameter Name
- Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Rule/Required.php:37 | 8 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/utils.php:92 | 8 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/PEAR.php:484 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/PEAR.php:578 | 8 | - Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/PEAR.php:917 | 8 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/phpmailer/src/PHPMailer.php:2499 | 8 | - Cancelled Parameter
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:4647 | 8 | - Max Level Of Nesting
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:179 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:211 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:422 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:528 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial/Dollar.php:32 | 8 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:527 | 8 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical.php:162 | 8 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Conditional.php:49 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:274 | 8 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:79 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:104 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:1232 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php:1735 | 8 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:145 | 8 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Format.php:81 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Missing Some Returntype
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:63 | 8 | - PHP Native Class Type Compatibility
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php:54 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Html.php:880 | 8 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php:410 | 8 | - Method Is Not An If
- Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:118 | 8 | - Max Level Of Nesting
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Style.php:273 | 8 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:153 | 8 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/lib/portfolio/caller.php:91 | 8 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/portfoliolib.php:1269 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:196 | 8 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Don't Collect Void
- Undefined Classes
- Wrong Type With Default
|
/lib/questionlib.php:778 | 8 | - Double Checks
- Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Never Called Parameter
|
/lib/questionlib.php:1045 | 8 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:1429 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/resourcelib.php:232 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/rsslib.php:477 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/scssphp/Compiler.php:5220 | 8 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/scssphp/Compiler.php:9749 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/scssphp/Node/Number.php:216 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/scssphp/Parser.php:3147 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Retyped Reference
|
/lib/scssphp/Parser.php:3635 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Undefined Classes
|
/lib/simplepie/src/Item.php:908 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/simplepie/src/Locator.php:103 | 8 | - No Default For Referenced Parameter
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Retyped Reference
|
/lib/simplepie/src/SimplePie.php:1371 | 8 | - Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/simplepie/src/SimplePie.php:1712 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Too Many Local Variables
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/lib/tablelib.php:2256 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- No Return Used
- Unreachable Method
|
/lib/testing/classes/util.php:628 | 8 | - Wrong Type For Native PHP Function
- Check JSON
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/lib/tests/behat/behat_hooks.php:276 | 8 | - Wrong Type For Native PHP Function
- Check JSON
- Iffectations
- Undefined Constants
- Uses Default Values
- @ Operator
- Could Make A Function
|
/lib/tests/completionlib_test.php:79 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatch Type And Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/tests/navigationlib_test.php:768 | 8 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tests/setuplib_test.php:173 | 8 | - Wrong Type For Native PHP Function
- Timestamp Difference
- Undefined Variable
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Use random_int()
- Could Make A Function
|
/lib/upgradelib.php:337 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/upgradelib.php:1497 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/validateurlsyntax.php:209 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:218 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:414 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:423 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:522 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:531 | 8 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/webauthn/src/CBOR/CborDecoder.php:46 | 8 | - No Default For Referenced Parameter
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/webauthn/src/WebAuthn.php:508 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/webdavlib.php:309 | 8 | - Ambiguous Static
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/xhprof/xhprof_lib/utils/xhprof_lib.php:322 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/login/signup.php:57 | 8 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/message/externallib.php:1159 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:1239 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:1358 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:1735 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:1835 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:3284 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/externallib.php:3343 | 8 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/message/output/lib.php:79 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mnet/service/enrol/course.php:147 | 8 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Several Instructions On The Same Line
- Could Make A Function
- Echo With Concat
|
/mnet/service/enrol/course.php:156 | 8 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Several Instructions On The Same Line
- Could Make A Function
- Echo With Concat
|
/mnet/xmlrpc/client.php:226 | 8 | - Bail Out Early
- No Need For Else
- Strpos()-like Comparison
- Uses Default Values
- Could Make A Function
- Drop Else After Return
- Preprocessable
|
/mnet/xmlrpc/serverlib.php:608 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/assign/assignmentplugin.php:404 | 8 | - Useless Referenced Argument
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/assignmentplugin.php:462 | 8 | - Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/classes/external/external_api.php:105 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/feedbackplugin.php:144 | 8 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/mod/assign/lib.php:38 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/lib.php:185 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/assign/locallib.php:2243 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/assign/locallib.php:7687 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/assign/submissionplugin.php:86 | 8 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/bigbluebuttonbn/bbb_view.php:35 | 8 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/mod/bigbluebuttonbn/classes/event/activity_management_viewed.php:33 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/base.php:90 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/meeting_joined.php:33 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/event/meeting_left.php:33 | 8 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/recording.php:94 | 8 | - Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/mod_form.php:600 | 8 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Method Could Be Static
|
/mod/bigbluebuttonbn/tests/generator/lib.php:379 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/book/lib.php:535 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/chat/classes/external.php:634 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/data/classes/external/get_mapping_information.php:65 | 8 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/data/classes/local/importer/csv_entries_importer.php:129 | 8 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Buried Assignation
- Use Positive Condition
- Should Use Ternary Operator
- Wrong Type With Call
- Iffectations
- Indices Are Int Or String
|
/mod/data/classes/local/importer/preset_importer.php:84 | 8 | - Method Is Not An If
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Should Use Local Class
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/mod/data/field/picture/field.class.php:47 | 8 | - Max Level Of Nesting
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:1182 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:1419 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/data/lib.php:1938 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/data/lib.php:2816 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/feedback/item/feedback_item_class.php:107 | 8 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/mod/feedback/lib.php:2243 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/feedback/lib.php:2290 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/forum/classes/local/managers/capability.php:725 | 8 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/classes/local/vaults/post.php:472 | 8 | - Use Named Boolean In Argument Definition
- Don't Collect Void
- Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/forum/classes/output/forum_post.php:143 | 8 | - Method Is Not An If
- Mismatch Parameter Name
- 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
|
/mod/forum/deprecatedlib.php:223 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/forum/lib.php:932 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/forum/lib.php:4457 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/mod/forum/lib.php:4630 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Missing Some Returntype
|
/mod/forum/lib.php:5936 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:6699 | 8 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Should Make Alias
- Avoid Using stdClass
- StandaloneType True False Null
|
/mod/forum/lib.php:6768 | 8 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Should Make Alias
- Avoid Using stdClass
- Useless Argument
- StandaloneType True False Null
|
/mod/forum/rsslib.php:126 | 8 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:1101 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/glossary/lib.php:1151 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/glossary/lib.php:2188 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:2447 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/glossary/lib.php:2463 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/h5pactivity/lib.php:85 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/h5pactivity/lib.php:114 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/h5pactivity/lib.php:196 | 8 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/mod/h5pactivity/lib.php:634 | 8 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Useless Return
- Never Called Parameter
|
/mod/imscp/locallib.php:38 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/lesson/classes/external.php:215 | 8 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Memoize MagicCall
|
/mod/lesson/format.php:71 | 8 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/mod/lesson/lib.php:112 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/lib.php:637 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/lesson/lib.php:865 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/lesson/locallib.php:277 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/mod/lesson/locallib.php:1070 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Memoize MagicCall
|
/mod/lesson/locallib.php:1478 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/lesson/locallib.php:4935 | 8 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/lti/OAuth.php:763 | 8 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/mod/lti/TrivialStore.php:96 | 8 | - Unused Public Methods
- Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/mod/lti/classes/local/types_helper.php:108 | 8 | - Missing Assignation In Branches
- Undefined Properties
- Use Positive Condition
- Nested Ifthen
- Uses Default Values
- Should Typecast
|
/mod/lti/lib.php:543 | 8 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/accessrule/seb/rule.php:481 | 8 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/classes/output/renderer.php:1369 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/mod/quiz/classes/output/renderer.php:1391 | 8 | - Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
- Missing Some Returntype
|
/mod/quiz/classes/quiz_attempt.php:628 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/classes/quiz_attempt.php:1626 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/lib.php:715 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/quiz/lib.php:1254 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/lib.php:1517 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/quiz/report/overview/tests/helpers.php:41 | 8 | - Unused Public Methods
- Mismatch Parameter Name
- Swapped Arguments
- Ambiguous Static
- Empty Function
- Undefined Classes
|
/mod/quiz/report/statistics/tests/statistics_test.php:164 | 8 | - Weak Type With Array
- False To Array Conversion
- Buried Assignation
- Useless Parenthesis
- Written Only Variables
- Used Once Variables (In Scope)
|
/mod/resource/locallib.php:252 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/classes/external.php:234 | 8 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Buried Assignation
- Use Positive Condition
- Null Or Boolean Arrays
- Iffectations
|
/mod/scorm/datamodels/scormlib.php:859 | 8 | - No Default For Referenced Parameter
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/datamodels/sequencinglib.php:299 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/datamodels/sequencinglib.php:717 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/lib.php:100 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/lib.php:634 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/scorm/lib.php:799 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/survey/tests/generator/lib.php:61 | 8 | - Scalar Are Not Arrays
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Uses Default Values
- Use ::Class Operator
- Strict Comparison With Booleans
|
/mod/url/locallib.php:165 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/url/locallib.php:533 | 8 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/wiki/classes/privacy/provider.php:264 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Make Alias
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
|
/mod/wiki/locallib.php:202 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/privacy/classes/local/request/contextlist.php:164 | 8 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Iffectations
- Strpos()-like Comparison
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/privacy/classes/local/request/moodle_content_writer.php:349 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
- Missing Some Returntype
|
/privacy/classes/local/request/moodle_content_writer.php:369 | 8 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
- Missing Some Returntype
|
/question/bank/columnsortorder/tests/column_manager_test.php:345 | 8 | - Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
- Could Make A Function
- Preprocessable
|
/question/engine/tests/helpers.php:488 | 8 | - Max Level Of Nesting
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/report/outline/lib.php:138 | 8 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/repository/flickr_public/image.php:114 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/repository/nextcloud/classes/configuration_exception.php:44 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/repository/nextcloud/classes/request_exception.php:44 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/repository/s3/S3.php:603 | 8 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
|
/repository/url/lib.php:56 | 8 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
- Never Called Parameter
|
/repository/url/locallib.php:260 | 8 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Never Called Parameter
|
/repository/user/lib.php:53 | 8 | - Mismatch Parameter Name
- Max Level Of Nesting
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/search/classes/engine.php:537 | 8 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Must Return Methods
- Used Once Variables (In Scope)
- Method Could Be Static
|
/search/engine/simpledb/classes/engine.php:242 | 8 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/search/tests/fixtures/mock_search_engine.php:67 | 8 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/tag/classes/area.php:43 | 8 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/user/classes/search/user.php:47 | 8 | - Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
|
/user/lib.php:152 | 8 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
None:450 | 8 | - Maybe Missing New
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:532 | 8 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Undefined Classes
- Preprocessable
|
None:569 | 8 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Switch Without Default
- Preprocessable
|
None:624 | 8 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:641 | 8 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:690 | 8 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Preprocessable
- Use === null
|
None:792 | 8 | - Don't Pollute Global Space
- Undefined Properties
- No Class In Global
- Maybe Missing New
- Unused Global
- Empty Classes
- Class Could Be Final
|
/admin/mnet/trustedhosts.php:48 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Unused Returned Value
- Could Make A Function
- Preprocessable
|
/admin/presets/classes/local/setting/adminpresets_setting.php:213 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/presets/classes/manager.php:189 | 7 | - Assumptions
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/admin/presets/classes/manager.php:1099 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Should Use Local Class
- StandaloneType True False Null
- Method Could Be Static
|
/admin/roles/permissions.php:172 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/admin/roles/permissions.php:187 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/admin/tool/analytics/cli/guess_course_start_and_end.php:113 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/admin/tool/behat/cli/run.php:423 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/admin/tool/behat/cli/util_single_run.php:201 | 7 | - Unsupported Types With Operators
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/admin/tool/behat/cli/util_single_run.php:302 | 7 | - Wrong Type For Native PHP Function
- Check JSON
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
|
/admin/tool/brickfield/classes/local/htmlchecker/brickfield_accessibility.php:342 | 7 | - Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php:156 | 7 | - Wrong Type For Native PHP Function
- Missing Cases In Switch
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_test.php:286 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/admin/tool/customlang/classes/local/mlang/phpparser.php:41 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/admin/tool/dataprivacy/classes/expired_context.php:151 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/log/store/database/classes/log/store.php:36 | 7 | - Ambiguous Static
- Ambiguous Visibilities
- Scalar Or Object Property
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/admin/tool/log/store/database/classes/privacy/provider.php:41 | 7 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/admin/tool/log/store/standard/classes/privacy/provider.php:41 | 7 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/admin/tool/mfa/factor/sms/classes/factor.php:107 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/admin/tool/monitor/lib.php:88 | 7 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/admin/tool/policy/classes/api.php:98 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/policy/classes/api.php:839 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/policy/classes/output/page_viewalldoc.php:115 | 7 | - Undefined Properties
- Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Callback Function Needs Return
- Undefined Classes
|
/admin/tool/task/renderer.php:178 | 7 | - Append And Assign Arrays
- Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Callback Function Needs Return
- Undefined Classes
|
/admin/tool/uploadcourse/classes/tracker.php:213 | 7 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Pre-increment
- Could Make A Function
|
/admin/tool/uploadcourse/classes/tracker.php:214 | 7 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Pre-increment
- Could Make A Function
|
/admin/tool/uploadcourse/classes/tracker.php:216 | 7 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Pre-increment
- Could Make A Function
|
/admin/tool/uploadcourse/classes/tracker.php:217 | 7 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Pre-increment
- Could Make A Function
|
/admin/tool/uploadcourse/classes/tracker.php:218 | 7 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Pre-increment
- Could Make A Function
|
/admin/tool/uploaduser/locallib.php:189 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/admin/tool/usertours/classes/manager.php:696 | 7 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/usertours/classes/step.php:758 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Used Once Variables (In Scope)
- Useless Argument
|
/analytics/classes/local/indicator/binary.php:71 | 7 | - Method Is Not An If
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/analytics/classes/local/indicator/binary.php:90 | 7 | - Method Is Not An If
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/analytics/classes/local/indicator/linear.php:98 | 7 | - Method Is Not An If
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/analytics/classes/model_config.php:147 | 7 | - Use Named Boolean In Argument Definition
- Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/analytics/classes/model_config.php:205 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Could Make A Function
- Wrong Type Returned
- Preprocessable
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Client.php:3891 | 7 | - Method Is Not An If
- Assumptions
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/auth/db/auth.php:291 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
|
/auth/mnet/auth.php:700 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/auth/mnet/auth.php:904 | 7 | - Unused Parameter
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/backup/backup.php:250 | 7 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/backup/cc/cc_lib/cc_asssesment.php:260 | 7 | - Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_asssesment.php:419 | 7 | - Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Unreachable Method
|
/backup/cc/cc_lib/cc_asssesment.php:659 | 7 | - Unused Public Methods
- Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/cc_convert_moodle2.php:178 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/backup/cc/cc_lib/cc_converters.php:84 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_version1.php:220 | 7 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version1.php:280 | 7 | - Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version1.php:409 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_version1.php:466 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_version1.php:506 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/controller/restore_controller.class.php:93 | 7 | - Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
- Could Use self
|
/backup/controller/tests/controller_test.php:275 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/backup/converter/convertlib.php:188 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/backup/copyprogress.php:57 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/backup/moodle2/restore_stepslib.php:1616 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Nested Ifthen
- Undefined Variable
- Iffectations
|
/backup/restorefile.php:208 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/backup/util/dbops/restore_dbops.class.php:1908 | 7 | - Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/factories/backup_factory.class.php:99 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/backup/util/factories/backup_factory.class.php:134 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/backup/util/factories/backup_factory.class.php:148 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/backup/util/ui/backup_ui.class.php:180 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/backup/util/ui/base_ui.class.php:266 | 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
|
/backup/util/ui/restore_ui.class.php:336 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/backup/util/ui/restore_ui_stage.class.php:183 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/badges/classes/form/backpack.php:120 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/badges/classes/output/external_badge.php:91 | 7 | - Undefined Properties
- Return True False
- Should Use Ternary Operator
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/blocks/accessreview/block_accessreview.php:310 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/blocks/classes/external/fetch_addable_blocks.php:103 | 7 | - Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
|
/blocks/moodleblock.class.php:82 | 7 | - Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/blocks/moodleblock.class.php:100 | 7 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
- Wrong Typed Property Default
|
/blocks/moodleblock.class.php:523 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/blocks/moodleblock.class.php:725 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/blog/lib.php:403 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/blog/lib.php:474 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/blog/rsslib.php:145 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Too Many Local Variables
- Used Once Variables (In Scope)
- Undefined Classes
|
/calendar/classes/external/day_exporter.php:189 | 7 | - Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
- Could Inject Parameter
|
/calendar/externallib.php:247 | 7 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Use Positive Condition
- Nested Ifthen
- Null Or Boolean Arrays
|
/calendar/lib.php:1188 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
|
/calendar/lib.php:1204 | 7 | - Max Level Of Nesting
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/calendar/lib.php:2316 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/calendar/lib.php:2613 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:3114 | 7 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:3826 | 7 | - Double Checks
- Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/calendar/lib.php:3857 | 7 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/cohort/upload_form.php:260 | 7 | - No Null For Native PHP Functions
- Written Only Variables
- Iffectations
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
|
/competency/classes/template_cohort.php:189 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/competency/tests/generator/lib.php:399 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:529 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/completion/classes/cm_completion_details.php:279 | 7 | - Undefined Properties
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/completion/classes/manager.php:436 | 7 | - Max Level Of Nesting
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/completion/criteria/completion_criteria_duration.php:168 | 7 | - Check Division By Zero
- Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
- Preprocessable
|
/completion/criteria/completion_criteria_duration.php:276 | 7 | - Check Division By Zero
- Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
- Preprocessable
|
/completion/criteria/completion_criteria_duration.php:281 | 7 | - Check Division By Zero
- Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
- Preprocessable
|
/contentbank/classes/contentbank.php:338 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Make Alias
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/classes/management_renderer.php:1011 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/classes/reportbuilder/local/formatters/completion.php:41 | 7 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- StandaloneType True False Null
- Missing Some Returntype
|
/course/delete.php:103 | 7 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/course/externallib.php:1834 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/course/externallib.php:1844 | 7 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Use Positive Condition
- Nested Ifthen
- Null Or Boolean Arrays
|
/course/format/classes/base.php:753 | 7 | - Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Unused Returned Value
|
/course/format/classes/base.php:1034 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/course/format/classes/base.php:1063 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/course/format/classes/output/local/content/section.php:319 | 7 | - Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Used Once Variables (In Scope)
- Useless Argument
|
/course/format/classes/sectiondelegate.php:91 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unreachable Method
- Method Could Be Static
|
/course/format/topics/lib.php:294 | 7 | - Useless Coalesce
- Useless Short Ternary
- Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/course/format/weeks/lib.php:319 | 7 | - Useless Coalesce
- Useless Short Ternary
- Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/course/lib.php:772 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/course/lib.php:3652 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/course/lib.php:3814 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:4621 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:4649 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/course/moodleform_mod.php:202 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/customfield/classes/field.php:95 | 7 | - Empty Json Error
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Wrong Type Returned
- Useless Null Coalesce
|
/customfield/classes/handler.php:188 | 7 | - Method Is Not An If
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Missing Some Returntype
|
/enrol/cohort/locallib.php:167 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/enrol/guest/lib.php:264 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/lti/ims-blti/blti_util.php:191 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/enrol/lti/lib.php:99 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/manual/lib.php:148 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/enrol/self/lib.php:84 | 7 | - Buried Assignation
- Should Use Ternary Operator
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Mismatched Typehint
- Logical Should Use Symbolic Operators
|
/enrol/self/lib.php:676 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Nested Ifthen
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/files/classes/converter.php:166 | 7 | - Method Is Not An If
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/filter/algebra/filter.php:154 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Nested Ifthen
- Undefined Variable
- Iffectations
|
/filter/mediaplugin/filter.php:78 | 7 | - Buried Assignation
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Assign And Lettered Logical Operator Precedence
- Logical Should Use Symbolic Operators
|
/filter/tex/lib.php:29 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/filter/tex/lib.php:176 | 7 | - Wrong Argument Type
- Bail Out Early
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Strict Comparison With Booleans
|
/filter/tex/texdebug.php:135 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/filter/tex/texdebug.php:198 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/grade/classes/component_gradeitem.php:530 | 7 | - Avoid Using stdClass
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/edit/tree/grade.php:89 | 7 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/grade/grading/form/guide/guideeditor.php:370 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
|
/grade/grading/form/lib.php:615 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/grade/grading/form/lib.php:1067 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/grade/import/csv/tests/load_data_test.php:168 | 7 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
- Could Make A Function
|
/grade/lib.php:1108 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/grade/lib.php:3782 | 7 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
|
/grade/querylib.php:34 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/report/grader/lib.php:1472 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/grade/report/lib.php:345 | 7 | - Unused Public Methods
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/report/singleview/classes/local/screen/grade_select.php:27 | 7 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/grade/report/singleview/classes/local/screen/user_select.php:29 | 7 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/grade/report/singleview/tests/fixtures/screen.php:41 | 7 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/grade/report/user/index.php:64 | 7 | - Missing Assignation In Branches
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Else If Versus Elseif
- Use === null
|
/group/lib.php:337 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/classes/editor_framework.php:258 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/h5p/classes/framework.php:547 | 7 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/h5p/h5plib/v126/joubel/core/h5p.classes.php:3300 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/h5p/h5plib/v126/joubel/core/h5p.classes.php:4429 | 7 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/accesslib.php:650 | 7 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:788 | 7 | - Assumptions
- Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Insufficient Typehint
- Useless Argument
- Undefined Classes
|
/lib/accesslib.php:1715 | 7 | - Assumptions
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/accesslib.php:1908 | 7 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:2306 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/accesslib.php:2453 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:2527 | 7 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/accesslib.php:3612 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Insufficient Typehint
- Undefined Classes
|
/lib/accesslib.php:4200 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
|
/lib/adminlib.php:8830 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/adodb/adodb-active-record.inc.php:53 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/adodb/adodb-active-record.inc.php:378 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-active-record.inc.php:543 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-active-record.inc.php:649 | 7 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-active-record.inc.php:821 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-active-recordx.inc.php:405 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb-active-recordx.inc.php:563 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-active-recordx.inc.php:670 | 7 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-datadict.inc.php:359 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-pear.inc.php:144 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/adodb/adodb-perf.inc.php:22 | 7 | - Uses Default Values
- include_once() Usage
- Could Make A Function
- No Parenthesis For Language Construct
- Preprocessable
- Could Use __DIR__
- Use Constant Instead Of Function
|
/lib/adodb/adodb-perf.inc.php:244 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Same Name For Property And Method
- Never Called Parameter
|
/lib/adodb/adodb-time.inc.php:1361 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/lib/adodb/adodb-xmlschema.inc.php:115 | 7 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-xmlschema.inc.php:1724 | 7 | - Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
- Preprocessable
- Logical Should Use Symbolic Operators
|
/lib/adodb/adodb-xmlschema.inc.php:1770 | 7 | - Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
- Preprocessable
- Logical Should Use Symbolic Operators
|
/lib/adodb/adodb-xmlschema03.inc.php:133 | 7 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-xmlschema03.inc.php:1891 | 7 | - Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
- Preprocessable
- Logical Should Use Symbolic Operators
|
/lib/adodb/adodb-xmlschema03.inc.php:1937 | 7 | - Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
- Preprocessable
- Logical Should Use Symbolic Operators
|
/lib/adodb/adodb-xmlschema03.inc.php:2112 | 7 | - Variable Is Not A Condition
- Buried Assignation
- Nested Ifthen
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/lib/adodb/adodb.inc.php:697 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:1133 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:1769 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/adodb/adodb.inc.php:1903 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type Returned
|
/lib/adodb/adodb.inc.php:3970 | 7 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:4872 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb.inc.php:5258 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Parent First
- Never Called Parameter
|
/lib/adodb/adodb.inc.php:5831 | 7 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/datadict/datadict-firebird.inc.php:92 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/drivers/adodb-db2.inc.php:1350 | 7 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/adodb/drivers/adodb-informix72.inc.php:479 | 7 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-mssql.inc.php:480 | 7 | - Bail Out Early
- No Need For Else
- Iffectations
- Native Alias Functions Usage
- Undefined Functions
- @ Operator
- Drop Else After Return
|
/lib/adodb/drivers/adodb-mssql.inc.php:728 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/adodb/drivers/adodb-mssql.inc.php:878 | 7 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Native Alias Functions Usage
- Undefined Functions
- @ Operator
|
/lib/adodb/drivers/adodb-mssql.inc.php:993 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-mssqlnative.inc.php:1263 | 7 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/lib/adodb/drivers/adodb-mysqli.inc.php:1368 | 7 | - Variable Is Not A Condition
- Use PHP Object API
- Useless Parenthesis
- Undefined Variable
- Uses Default Values
- @ Operator
|
/lib/adodb/drivers/adodb-oci8.inc.php:1577 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/adodb/drivers/adodb-postgres64.inc.php:787 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/drivers/adodb-sqlite.inc.php:502 | 7 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/lib/adodb/drivers/adodb-sqlite3.inc.php:799 | 7 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
- Never Called Parameter
|
/lib/adodb/drivers/adodb-sybase.inc.php:358 | 7 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-text.inc.php:280 | 7 | - Cast To Boolean
- Buried Assignation
- Useless Parenthesis
- Native Alias Functions Usage
- Several Instructions On The Same Line
- Uses Default Values
- Pre-increment
|
/lib/adodb/perf/perf-oci8.inc.php:491 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/authlib.php:367 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/authlib.php:427 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/AbstractConfigurationProvider.php:16 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- No Public Access
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/aws-sdk/src/Api/Serializer/RestSerializer.php:177 | 7 | - Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/ClientResolver.php:835 | 7 | - Method Is Not An If
- Unused Public Methods
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/lib/aws-sdk/src/ClientResolver.php:900 | 7 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/CommandPool.php:137 | 7 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
|
/lib/aws-sdk/src/DynamoDb/SessionHandler.php:215 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/aws-sdk/src/S3/ObjectUploader.php:113 | 7 | - Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Undefined Classes
- Modified Typed Parameter
- Method Could Be Static
|
/lib/aws-sdk/src/S3/S3MultiRegionClient.php:210 | 7 | - Method Collision Traits
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/badgeslib.php:424 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Could Inject Parameter
- Modified Typed Parameter
|
/lib/behat/behat_deprecated_base.php:44 | 7 | - 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
|
/lib/behat/classes/behat_config_manager.php:223 | 7 | - Wrong Type For Native PHP Function
- Check JSON
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/lib/behat/classes/behat_config_util.php:1385 | 7 | - Wrong Type For Native PHP Function
- Check JSON
- Modernize Empty With Expression
- Uses Default Values
- @ Operator
- Could Make A Function
|
/lib/behat/classes/behat_generator_base.php:552 | 7 | - Ambiguous Static
- Relay Function
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/behat/classes/behat_session_trait.php:847 | 7 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Long Arguments
- Uses Default Values
- Could Make A Function
|
/lib/behat/extension/Moodle/BehatExtension/Output/Formatter/MoodleScreenshotFormatter.php:145 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/behat/extension/Moodle/BehatExtension/Output/Formatter/MoodleScreenshotFormatter.php:156 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/behat/extension/Moodle/BehatExtension/Output/Formatter/MoodleStepcountFormatter.php:134 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/behat/extension/Moodle/BehatExtension/Output/Formatter/MoodleStepcountFormatter.php:152 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/bennu/iCalendar_components.php:104 | 7 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Bail Out Early
- No Need For Else
- Null Or Boolean Arrays
- Drop Else After Return
|
/lib/bennu/iCalendar_properties.php:20 | 7 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
- Wrong Typed Property Default
|
/lib/blocklib.php:2395 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/blocklib.php:2431 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Useless Return
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/classes/cron.php:101 | 7 | - Unsupported Types With Operators
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Mismatched Typehint
- Unused Returned Value
- Could Make A Function
|
/lib/classes/date.php:713 | 7 | - Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/event/base.php:367 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/classes/hub/registration.php:291 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Wrong Number Of Arguments
- Uses Default Values
- Unused Returned Value
- Preprocessable
|
/lib/classes/param.php:1040 | 7 | - Wrong Type For Native PHP Function
- Empty Blocks
- Undefined Variable
- Strpos()-like Comparison
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/lib/classes/param.php:1044 | 7 | - Missing Assignation In Branches
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Empty Blocks
- Wrong Type With Call
- Uses Default Values
- Else If Versus Elseif
|
/lib/classes/plugin_manager.php:1388 | 7 | - Wrong Argument Type
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/string_manager.php:81 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/text.php:366 | 7 | - Max Level Of Nesting
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Missing Some Returntype
|
/lib/classes/update/checker.php:525 | 7 | - Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/classes/update/checker.php:609 | 7 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Unused Returned Value
- Use random_int()
- Could Make A Function
- Preprocessable
|
/lib/classes/user.php:216 | 7 | - Ambiguous Static
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/classes/user.php:1225 | 7 | - Avoid Using stdClass
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/classes/useragent.php:64 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/lib/clilib.php:83 | 7 | - Assumptions
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/clilib.php:190 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/completionlib.php:1678 | 7 | - Double Checks
- Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
|
/lib/db/upgradelib.php:824 | 7 | - Double Checks
- Assumptions
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Wrong Type With Default
|
/lib/db/upgradelib.php:931 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Wrong Type With Default
|
/lib/db/upgradelib.php:981 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Wrong Type With Default
|
/lib/db/upgradelib.php:1022 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Wrong Type With Default
|
/lib/db/upgradelib.php:1062 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- Wrong Type With Default
|
/lib/ddllib.php:126 | 7 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/auroramysql_native_moodle_database.php:50 | 7 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/lib/dml/moodle_database.php:2373 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/dml/moodle_database.php:2571 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/dml/mysqli_native_moodle_database.php:103 | 7 | - Missing Assignation In Branches
- Weak Type With Array
- Scalar Are Not Arrays
- strpos() Too Much
- Uses Default Values
- Logical Should Use Symbolic Operators
|
/lib/dml/pgsql_native_moodle_database.php:1562 | 7 | - Method Is Not An If
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/lib/dml/sqlsrv_native_moodle_database.php:782 | 7 | - Max Level Of Nesting
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/dml/tests/dml_test.php:6434 | 7 | - Unused Public Methods
- Ambiguous Static
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/dml/tests/fixtures/test_moodle_database.php:198 | 7 | - Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/enrollib.php:852 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/enrollib.php:1936 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/enrollib.php:2470 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/lib/enrollib.php:2492 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/enrollib.php:2688 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- No Return Used
|
/lib/enrollib.php:2827 | 7 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/enrollib.php:2850 | 7 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/environmentlib.php:1109 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Useless Argument
- Undefined Classes
|
/lib/environmentlib.php:1150 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Useless Argument
- Undefined Classes
|
/lib/environmentlib.php:1186 | 7 | - Method Is Not An If
- Don't Pollute Global Space
- Max Level Of Nesting
- Useless Referenced Argument
- No Class In Global
- Undefined Classes
|
/lib/evalmath/evalmath.class.php:135 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/evalmath/evalmath.class.php:599 | 7 | - Ambiguous Static
- Relay Function
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/filelib.php:748 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/filelib.php:1866 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filelib.php:1917 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filelib.php:1970 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filelib.php:1987 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/filestorage/file_exceptions.php:114 | 7 | - Incompatible Signature Methods With Covariance
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filestorage/file_storage.php:1910 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/filestorage/file_storage.php:1923 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/filestorage/file_storage.php:1955 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
|
/lib/filestorage/stored_file.php:73 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/filterlib.php:340 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/form/autocomplete.php:195 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/form/choicedropdown.php:174 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
|
/lib/form/defaultcustom.php:266 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
|
/lib/form/filetypes.php:117 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
|
/lib/form/float.php:134 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/form/selectgroups.php:225 | 7 | - Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/formslib.php:631 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/formslib.php:767 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/formslib.php:3654 | 7 | - Mismatch Parameter Name
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/formslib.php:3656 | 7 | - Use Positive Condition
- Bail Out Early
- No Need For Else
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/lib/grade/grade_category.php:369 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_category.php:488 | 7 | - Too Many Local Variables
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_grade.php:1070 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/grade_item.php:304 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/grade_object.php:484 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/lib/grade/grade_outcome.php:132 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_scale.php:132 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/gradelib.php:1654 | 7 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- StandaloneType True False Null
|
/lib/graphlib.php:1300 | 7 | - Unused Parameter
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/grouplib.php:1171 | 7 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/lib/grouplib.php:1639 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/guzzlehttp/guzzle/src/Exception/ClientException.php:8 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Unthrown Exception
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/guzzlehttp/guzzle/src/Exception/ServerException.php:8 | 7 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Unthrown Exception
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:521 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/guzzlehttp/guzzle/src/RedirectMiddleware.php:147 | 7 | - Assumptions
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Could Inject Parameter
- Method Could Be Static
|
/lib/htmlpurifier/HTMLPurifier/Generator.php:275 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/htmlpurifier/HTMLPurifier/Injector/Linkify.php:52 | 7 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Buried Assignation
- Several Instructions On The Same Line
- Uses Default Values
- Pre-increment
|
/lib/htmlpurifier/HTMLPurifier/Injector/PurifierLinkify.php:53 | 7 | - Unsupported Types With Operators
- Variable Is Not A Condition
- Buried Assignation
- Several Instructions On The Same Line
- Uses Default Values
- Pre-increment
|
/lib/htmlpurifier/HTMLPurifier/Printer.php:144 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/lib/htmlpurifier/HTMLPurifier/URIFilter.php:57 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/jmespath/src/SyntaxErrorException.php:20 | 7 | - Weak Type With Array
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Mixed Concat And Interpolation
- Uses Default Values
- Could Make A Function
|
/lib/lti1p3/src/DeepLinkResources/Iframe.php:13 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/DeepLinkResources/Iframe.php:14 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/DeepLinkResources/Window.php:13 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/DeepLinkResources/Window.php:14 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/LtiServiceConnector.php:22 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/markdown/Markdown.php:1563 | 7 | - No Default For Referenced Parameter
- Unused Parameter
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/mathslib.php:75 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/modinfolib.php:2908 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Wrong Type With Default
|
/lib/moodlelib.php:745 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- StandaloneType True False Null
|
/lib/moodlelib.php:1537 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:1714 | 7 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:1935 | 7 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Wrong Type With Default
|
/lib/moodlelib.php:5515 | 7 | - Wrong Type For Native PHP Function
- Repeated Regex
- Undefined Variable
- Wrong Number Of Arguments
- Uses Default Values
- Could Make A Function
|
/lib/moodlelib.php:6094 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:6646 | 7 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Missing Some Returntype
|
/lib/moodlelib.php:8065 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:8111 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/moodlelib.php:8364 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/moodlelib.php:8407 | 7 | - Weak Type With Array
- False To Array Conversion
- Wrong Type For Native PHP Function
- Uses Default Values
- Use random_int()
- Could Make A Function
|
/lib/navigationlib.php:995 | 7 | - Wrong Argument Type
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/navigationlib.php:1200 | 7 | - Weak Type With Array
- array_key_exists() Works On Arrays
- Comparison Is Always The Same
- Bail Out Early
- No Need For Else
- Drop Else After Return
|
/lib/navigationlib.php:2787 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
|
/lib/outputcomponents.php:4975 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
|
/lib/outputlib.php:222 | 7 | - Unsupported Types With Operators
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/lib/outputlib.php:771 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/outputrenderers.php:2673 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/Common.php:182 | 7 | - Method Is Not An If
- Max Level Of Nesting
- Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/pear/HTML/QuickForm.php:1339 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/lib/pear/HTML/QuickForm.php:1503 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Useless Parenthesis
- Iffectations
- Uses Default Values
- Could Make A Function
|
/lib/pear/HTML/QuickForm.php:1680 | 7 | - Method Signature Must Be Compatible
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/Renderer.php:57 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer.php:70 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer.php:111 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer.php:126 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer.php:154 | 7 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/Renderer/Array.php:116 | 7 | - No Null For Index
- Don't Mix ++
- Var Keyword
- Assign Default To Properties
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Array.php:161 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/pear/HTML/QuickForm/Renderer/Default.php:392 | 7 | - Method Is Not An If
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:48 | 7 | - No Null For Index
- Don't Mix ++
- Var Keyword
- Assign Default To Properties
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:380 | 7 | - Ambiguous Static
- Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:392 | 7 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:410 | 7 | - Ambiguous Static
- Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Rule/Callback.php:61 | 7 | - Method Is Not An If
- Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/Rule/Compare.php:71 | 7 | - Mismatch Parameter Name
- Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/group.php:474 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm/input.php:199 | 7 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Never Called Parameter
|
/lib/pear/HTML/QuickForm/xbutton.php:144 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/php-di/php-di/src/Definition/InstanceDefinition.php:19 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Resolver/DecoratorResolver.php:29 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Resolver/FactoryResolver.php:38 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Source/AttributeBasedAutowiring.php:34 | 7 | - Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/php-di/php-di/src/Definition/Source/NoAutowiring.php:17 | 7 | - Unused Public Methods
- Must Return Methods
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/php-di/php-di/src/Definition/Source/ReflectionBasedAutowiring.php:19 | 7 | - Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/php-di/php-di/src/Proxy/ProxyFactory.php:26 | 7 | - Property Used In One Method Only
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
|
/lib/php-jwt/src/CachedKeySet.php:130 | 7 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/phpmailer/moodle_phpmailer.php:75 | 7 | - Method Is Not An If
- Mismatch Parameter Name
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/markbaker/matrix/classes/src/Operators/Division.php:19 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:3704 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:4796 | 7 | - Weak Type With Array
- Scalar Are Not Arrays
- Comparison Is Always The Same
- Null Or Boolean Arrays
- Avoid Optional Properties
- Uses Default Values
- Preprocessable
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:4803 | 7 | - Missing Assignation In Branches
- Weak Type With Array
- Scalar Are Not Arrays
- Use Positive Condition
- Null Or Boolean Arrays
- Uses Default Values
- Could Make A Function
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:760 | 7 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:247 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:283 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:319 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:355 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:464 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:1131 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:1269 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php:768 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:504 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:639 | 7 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Information/Value.php:292 | 7 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:73 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:95 | 7 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:143 | 7 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php:398 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:138 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:229 | 7 | - Unused Public Methods
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:274 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:364 | 7 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:372 | 7 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData/Concatenate.php:59 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Useless Argument
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Properties.php:635 | 7 | - No Default For Referenced Parameter
- Unused Parameter
- Lost References
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache1.php:78 | 7 | - PHP Native Class Type Compatibility
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php:67 | 7 | - PHP Native Class Type Compatibility
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory/SimpleCache3.php:101 | 7 | - PHP Native Class Type Compatibility
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Csv.php:435 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php:312 | 7 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php:204 | 7 | - Assumptions
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:431 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:1371 | 7 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/StringTable.php:296 | 7 | - Method Is Not An If
- Insufficient Typehint
- Should Use Local Class
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpxmlrpc/Encoder.php:293 | 7 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
- Missing Some Returntype
|
/lib/phpxmlrpc/Helper/Charset.php:30 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/lib/phpxmlrpc/Helper/Logger.php:11 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/lib/phpxmlrpc/Helper/Logger.php:52 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/phpxmlrpc/Helper/Logger.php:64 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/lib/phpxmlrpc/Server.php:170 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/phpxmlrpc/Server.php:359 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/plist/classes/CFPropertyList/CFData.php:58 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/plist/classes/CFPropertyList/CFDate.php:81 | 7 | - Method Is Not An If
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Could Use self
|
/lib/plist/classes/CFPropertyList/CFDate.php:98 | 7 | - Method Is Not An If
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Could Use self
- Never Called Parameter
|
/lib/portfolio/formats.php:496 | 7 | - Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/portfoliolib.php:777 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/questionlib.php:1266 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Written Only Variables
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
|
/lib/scssphp/Compiler.php:287 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/lib/scssphp/Compiler.php:9666 | 7 | - Check Division By Zero
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use random_int()
- Could Make A Function
- Wrong Type Returned
|
/lib/scssphp/SourceMap/SourceMapGenerator.php:379 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/lib/setup.php:958 | 7 | - Wrong Argument Type
- Merge If Then
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/lib/setuplib.php:1717 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/simplepie/src/Enclosure.php:865 | 7 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/lib/simplepie/src/SimplePie.php:1477 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/soaplib.php:43 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
|
/lib/tablelib.php:63 | 7 | - No Null For Index
- Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Mismatch Properties Typehints
|
/lib/tablelib.php:90 | 7 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/tablelib.php:1447 | 7 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Bail Out Early
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Use === null
|
/lib/tablelib.php:1463 | 7 | - Weak Type With Array
- Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Else If Versus Elseif
|
/lib/tablelib.php:1498 | 7 | - Wrong Argument Type
- Check JSON
- Modernize Empty With Expression
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/lib/tablelib.php:1527 | 7 | - Weak Type With Array
- Wrong Argument Type
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/lib/tablelib.php:1530 | 7 | - Weak Type With Array
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Else If Versus Elseif
|
/lib/tablelib.php:2106 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/tcpdf/include/barcodes/pdf417.php:882 | 7 | - Weak Type With Array
- Buried Assignation
- Use Positive Condition
- Nested Ifthen
- Iffectations
- Uses Default Values
- Strict Comparison With Booleans
|
/lib/tcpdf/include/barcodes/pdf417.php:889 | 7 | - Weak Type With Array
- Buried Assignation
- Nested Ifthen
- Iffectations
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/include/barcodes/pdf417.php:891 | 7 | - Missing Assignation In Branches
- Weak Type With Array
- Useless Parenthesis
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/include/tcpdf_fonts.php:2514 | 7 | - False To Array Conversion
- Useless Parenthesis
- Null Or Boolean Arrays
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/tcpdf.php:7107 | 7 | - Variable Is Not A Condition
- Bail Out Early
- No Need For Else
- Useless Parenthesis
- Drop Else After Return
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/tcpdf.php:7454 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tcpdf/tcpdf.php:16663 | 7 | - Weak Type With Array
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Avoid Substr() One
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/tcpdf.php:18514 | 7 | - Weak Type With Array
- Don't Collect Void
- Modernize Empty With Expression
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/lib/tcpdf/tcpdf.php:21664 | 7 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/lib/testing/classes/util.php:856 | 7 | - Wrong Type For Native PHP Function
- Check JSON
- Uses Default Values
- @ Operator
- Could Make A Function
- Preprocessable
|
/lib/tests/admintree_test.php:128 | 7 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Returned Value
- New Object Then Immediate Call
|
/lib/tests/admintree_test.php:204 | 7 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Used Once Variables (In Scope)
- Unused Returned Value
- New Object Then Immediate Call
|
/lib/tests/behat/behat_hooks.php:489 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/tests/behat/behat_hooks.php:875 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/tests/external/dynamic_tabs_get_content_test.php:49 | 7 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/lib/tests/navigationlib_test.php:88 | 7 | - Weak Type With Array
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- strpos() Too Much
- Suspicious Comparison
- Uses Default Values
- Could Make A Function
|
/lib/tests/statslib_test.php:71 | 7 | - Check Division By Zero
- Useless Parenthesis
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
- Should Typecast
- Preprocessable
|
/lib/validateurlsyntax.php:200 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:215 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:408 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:420 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:516 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:528 | 7 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/weblib.php:513 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/weblib.php:1101 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/lib/xhprof/xhprof_lib/display/xhprof.php:752 | 7 | - Mixed Concat And Interpolation
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Used Once Variables (In Scope)
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:816 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:817 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1206 | 7 | - Avoid Parenthesis With Language Construct
- Double Instructions
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
- Repeated print()
|
/lib/xmldb/xmldb_field.php:229 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/xmldb/xmldb_field.php:486 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/xmldb/xmldb_index.php:224 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/lib/xmldb/xmldb_key.php:348 | 7 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/login/index.php:397 | 7 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Repeated print()
|
/media/classes/manager.php:99 | 7 | - Ambiguous Static
- Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/message/externallib.php:3484 | 7 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/message/externallib.php:3561 | 7 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/message/output/airnotifier/classes/manager.php:328 | 7 | - Check JSON
- Merge If Then
- Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/message/tests/privacy/provider_test.php:2826 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mnet/xmlrpc/serverlib.php:222 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/assignmentplugin.php:106 | 7 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/assign/assignmentplugin.php:309 | 7 | - Wrong Type For Native PHP Function
- Don't Collect Void
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Use ::Class Operator
- Preprocessable
|
/mod/assign/assignmentplugin.php:647 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/externallib.php:373 | 7 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Use ::Class Operator
|
/mod/assign/feedback/editpdf/fpdi/PdfParser/Filter/AsciiHex.php:41 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/mod/assign/feedback/editpdf/fpdi/PdfReader/Page.php:109 | 7 | - Max Level Of Nesting
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/assign/feedback/file/lib.php:38 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Insufficient Typehint
- Undefined Classes
- Could Inject Parameter
|
/mod/assign/gradingtable.php:716 | 7 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/mod/assign/lib.php:250 | 7 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/lib.php:1003 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/assign/lib.php:1686 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/assign/locallib.php:160 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
- Property Could Be Local
|
/mod/assign/locallib.php:903 | 7 | - Undefined Properties
- Wrong Argument Type
- Modernize Empty With Expression
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/locallib.php:2009 | 7 | - Undefined Properties
- No Need For Else
- Useless Parenthesis
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Drop Else After Return
|
/mod/assign/locallib.php:6171 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/assign/locallib.php:7531 | 7 | - Ambiguous Static
- Unused Parameter
- Too Many Local Variables
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
|
/mod/assign/renderable.php:343 | 7 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Empty Classes
- Already Parents Interface
- Class Could Be Final
|
/mod/assign/submission/file/lib.php:38 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Insufficient Typehint
- Undefined Classes
- Could Inject Parameter
|
/mod/assign/submission/onlinetext/lib.php:38 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Insufficient Typehint
- Undefined Classes
- Could Inject Parameter
|
/mod/assign/submissionplugin.php:97 | 7 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/assign/submissionplugin.php:107 | 7 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/assign/tests/feedback_test.php:78 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
|
/mod/bigbluebuttonbn/classes/form/guest_add.php:84 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
- Method Could Be Static
|
/mod/bigbluebuttonbn/classes/local/extension/mod_instance_helper.php:33 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
- Unreachable Method
|
/mod/bigbluebuttonbn/classes/local/extension/mod_instance_helper.php:41 | 7 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
- Unreachable Method
|
/mod/bigbluebuttonbn/classes/local/helpers/files.php:102 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Should Use Local Class
- Missing Some Returntype
|
/mod/bigbluebuttonbn/classes/recording.php:534 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/mod/bigbluebuttonbn/classes/recording.php:719 | 7 | - Wrong Number Of Arguments
- Uses Default Values
- Undefined Classes
- Could Inject Parameter
- Preprocessable
- Missing Some Returntype
|
/mod/bigbluebuttonbn/classes/task/base_send_notification.php:35 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
- Wrong Typed Property Default
|
/mod/bigbluebuttonbn/lib.php:453 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/bigbluebuttonbn/mod_form.php:339 | 7 | - Method Is Not An If
- Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Method Could Be Static
|
/mod/bigbluebuttonbn/mod_form.php:623 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/mod/bigbluebuttonbn/mod_form.php:697 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Should Use Local Class
- Method Could Be Static
|
/mod/bigbluebuttonbn/mod_form.php:723 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Should Use Local Class
- StandaloneType True False Null
- Method Could Be Static
|
/mod/bigbluebuttonbn/tests/fixtures/extension/simple/classes/bigbluebuttonbn/mod_form_addons.php:37 | 7 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Should Make Alias
- Avoid Using stdClass
- Objects Don't Need References
- Empty Function
|
/mod/bigbluebuttonbn/tests/local/helpers/files_test.php:207 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/book/lib.php:201 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/book/tool/importhtml/import_form.php:70 | 7 | - Buried Assignation
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Iffectations
- Drop Else After Return
|
/mod/choice/lib.php:104 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Could Make A Function
- Echo With Concat
- Preprocessable
|
/mod/choice/lib.php:1213 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/data/classes/form/save_as_preset.php:82 | 7 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Max Level Of Nesting
- Ambiguous Static
- Method Signature Must Be Compatible
- Undefined Classes
|
/mod/data/classes/output/presets.php:226 | 7 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Could Inject Parameter
|
/mod/data/classes/preset.php:56 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/mod/data/classes/template.php:650 | 7 | - Undefined Properties
- Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
- Wrong Type Returned
|
/mod/data/classes/template.php:702 | 7 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
- Missing Some Returntype
|
/mod/data/field.php:203 | 7 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/data/field/picture/field.class.php:165 | 7 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/data/lib.php:574 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/mod/data/lib.php:660 | 7 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- StandaloneType True False Null
|
/mod/data/lib.php:805 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Wrong Type With Default
|
/mod/data/lib.php:1093 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/data/lib.php:1448 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/data/lib.php:3807 | 7 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
|
/mod/data/lib.php:4065 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Memoize MagicCall
- Never Called Parameter
|
/mod/data/lib.php:4274 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/data/tests/generator/lib.php:390 | 7 | - Ambiguous Static
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/mod/data/view.php:328 | 7 | - Missing Assignation In Branches
- Wrong Argument Type
- Modernize Empty With Expression
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/feedback/classes/course_select_form.php:46 | 7 | - Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Parent First
- Could Inject Parameter
|
/mod/feedback/import.php:144 | 7 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
|
/mod/feedback/item/captcha/lib.php:95 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/mod/feedback/item/captcha/lib.php:108 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/mod/feedback/item/feedback_item_class.php:274 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/feedback/item/feedback_item_class.php:314 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/mod/feedback/lib.php:1128 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/mod/feedback/lib.php:1154 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/mod/feedback/lib.php:3194 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/folder/lib.php:102 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/forum/classes/local/exporters/author.php:165 | 7 | - Unused Parameter
- Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
|
/mod/forum/classes/local/vaults/discussion_list.php:114 | 7 | - Method Signature Must Be Compatible
- Too Many Local Variables
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/forum/lib.php:4334 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/lib.php:4685 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/mod/forum/lib.php:4753 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Mismatched Default Arguments
- Undefined Classes
|
/mod/forum/lib.php:6645 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/forum/lib.php:6737 | 7 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Should Make Alias
- Avoid Using stdClass
- Useless Argument
- StandaloneType True False Null
|
/mod/forum/lib.php:6871 | 7 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
|
/mod/forum/locallib.php:298 | 7 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/forum/report/summary/classes/summary_table.php:319 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Wrong Type Returned
|
/mod/forum/report/summary/classes/summary_table.php:331 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Wrong Type Returned
|
/mod/glossary/edit_form.php:124 | 7 | - Wrong Argument Type
- Merge If Then
- Variable Is Not A Condition
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/glossary/lib.php:825 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/glossary/lib.php:2172 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/h5pactivity/classes/external/get_user_attempts.php:76 | 7 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Never Called Parameter
|
/mod/h5pactivity/lib.php:208 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- StandaloneType True False Null
- Could Inject Parameter
- Missing Some Returntype
|
/mod/h5pactivity/lib.php:466 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Unused Parameter
- Insufficient Typehint
- Undefined Classes
|
/mod/h5pactivity/tests/external/get_attempts_test.php:95 | 7 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Variable Is Not A Condition
- Useless Parenthesis
- Indices Are Int Or String
|
/mod/imscp/lib.php:379 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/lesson/lib.php:668 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/lib.php:1666 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/lesson/locallib.php:403 | 7 | - Bail Out Early
- No Need For Else
- Long Arguments
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Drop Else After Return
|
/mod/lesson/locallib.php:668 | 7 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Memoize MagicCall
|
/mod/lesson/locallib.php:2509 | 7 | - Max Level Of Nesting
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lesson/locallib.php:3132 | 7 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/mod/lesson/locallib.php:3137 | 7 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/mod/lesson/pagetypes/essay.php:335 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/mod/lti/lib.php:460 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/lti/locallib.php:2130 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/lti/locallib.php:3797 | 7 | - Method Is Not An If
- Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/lti/service/gradebookservices/tests/gradebookservices_test.php:311 | 7 | - Wrong Number Of Arguments
- Native Alias Functions Usage
- Empty Function
- Uses Default Values
- Undefined Classes
- Could Make A Function
|
/mod/lti/service/gradebookservices/tests/lineitem_test.php:121 | 7 | - Wrong Number Of Arguments
- Native Alias Functions Usage
- Empty Function
- Uses Default Values
- Undefined Classes
- Could Make A Function
|
/mod/quiz/lib.php:744 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/quiz/lib.php:2307 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/quiz/report/statistics/statistics_table.php:539 | 7 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Mismatched Default Arguments
- Wrong Type With Default
- Method Could Be Static
|
/mod/quiz/tests/quiz_question_helper_test_trait.php:68 | 7 | - Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/resource/lib.php:95 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/datamodels/sequencinglib.php:41 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/scorm/lib.php:665 | 7 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/scorm/lib.php:1694 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/scorm/locallib.php:1907 | 7 | - Missing Assignation In Branches
- Undefined Variable
- Iffectations
- Strpos()-like Comparison
- Uses Default Values
- Strict Comparison With Booleans
|
/mod/url/lib.php:97 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/mod/wiki/lib.php:366 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/wiki/locallib.php:1569 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/wiki/renderer.php:548 | 7 | - Undefined Properties
- Using Deprecated Method
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/mod/workshop/classes/privacy/provider.php:301 | 7 | - Unused Parameter
- Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
|
/mod/workshop/lib.php:1130 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/mod/workshop/lib.php:1137 | 7 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/mod/workshop/lib.php:1377 | 7 | - Missing Assignation In Branches
- Wrong Argument Type
- Use Positive Condition
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/mod/workshop/lib.php:1900 | 7 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
- Memoize MagicCall
|
/mod/workshop/lib.php:2080 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Memoize MagicCall
- Never Called Parameter
|
/portfolio/classes/privacy/provider.php:42 | 7 | - Forgotten Interface
- Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/privacy/classes/local/request/helper.php:243 | 7 | - Unused Parameter
- Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
|
/privacy/classes/local/request/moodle_content_writer.php:569 | 7 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Drop Else After Return
|
/question/bank/managecategories/classes/helper.php:256 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Unreachable Method
- Never Called Parameter
|
/question/classes/local/bank/view.php:874 | 7 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Useless Instructions
- Indices Are Int Or String
- Wrong Type Returned
- No Choice
|
/question/classes/question_reference_manager.php:107 | 7 | - Weak Type With Array
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
- Could Make A Function
|
/question/engine/lib.php:82 | 7 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/question/engine/questionattempt.php:1863 | 7 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/questionusage.php:1156 | 7 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/tests/helpers.php:490 | 7 | - Bail Out Early
- No Need For Else
- Avoid get_class()
- Nested Ifthen
- Switch To Switch
- Use ::Class Operator
- Drop Else After Return
|
/question/format/gift/format.php:573 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/question/type/calculatedsimple/question.php:38 | 7 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Empty Classes
- Already Parents Interface
- Class Could Be Final
|
/question/type/ddimageortext/question.php:37 | 7 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Empty Classes
- Already Parents Interface
- Class Could Be Final
|
/question/type/ddmarker/renderer.php:147 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/question/type/gapselect/question.php:37 | 7 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Empty Classes
- Already Parents Interface
- Class Could Be Final
|
/question/type/questionbase.php:528 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/type/rendererbase.php:228 | 7 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Never Called Parameter
|
/reportbuilder/tests/local/aggregation/avg_test.php:100 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Missing Some Returntype
|
/reportbuilder/tests/local/aggregation/groupconcat_test.php:134 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Missing Some Returntype
|
/reportbuilder/tests/local/aggregation/groupconcatdistinct_test.php:144 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Missing Some Returntype
|
/reportbuilder/tests/local/aggregation/sum_test.php:101 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Missing Some Returntype
|
/reportbuilder/tests/local/report/column_test.php:442 | 7 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
- StandaloneType True False Null
- Missing Some Returntype
|
/repository/draftfiles_ajax.php:106 | 7 | - Check JSON
- Variable Is Not A Condition
- Print And Die
- Useless Parenthesis
- Uses Default Values
- No Parenthesis For Language Construct
|
/repository/draftfiles_ajax.php:232 | 7 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Nested Ifthen
- Undefined Variable
- Iffectations
|
/repository/filesystem/lib.php:141 | 7 | - Mismatch Parameter Name
- Max Level Of Nesting
- Ambiguous Static
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
|
/repository/filesystem/lib.php:464 | 7 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/repository/flickr/lib.php:307 | 7 | - Useless Method
- Unused Public Methods
- Mismatch Parameter Name
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
|
/repository/flickr_public/lib.php:134 | 7 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
|
/repository/googledocs/lib.php:48 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
- Property Could Be Local
|
/repository/googledocs/lib.php:505 | 7 | - Mismatch Parameter Name
- Ambiguous Static
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/repository/lib.php:2832 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/repository/onedrive/lib.php:41 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
- Property Could Be Local
|
/repository/repository_ajax.php:139 | 7 | - Missing Assignation In Branches
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/repository/s3/S3.php:769 | 7 | - Buried Assignation
- Use Positive Condition
- Wrong Parameter Type
- Iffectations
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/repository/s3/S3.php:2351 | 7 | - Max Level Of Nesting
- Unused Parameter
- Illegal Name For Method
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/repository/url/lib.php:238 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/repository/url/locallib.php:394 | 7 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/repository/wikimedia/classes/privacy/provider.php:43 | 7 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Unused Classes
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/repository/youtube/lib.php:50 | 7 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
- Property Could Be Local
|
/repository/youtube/lib.php:124 | 7 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
|
/search/classes/engine.php:364 | 7 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/search/engine/simpledb/db/upgrade.php:29 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/search/tests/fixtures/testable_core_search.php:76 | 7 | - Useless Method
- Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Method Could Be Static
|
/tag/classes/reportbuilder/local/systemreports/tags.php:80 | 7 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Wrong Type Returned
|
/tag/manage.php:125 | 7 | - array_key_exists() Works On Arrays
- Wrong Argument Type
- Buried Assignation
- Should Use Ternary Operator
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/theme/boost/lib.php:33 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/user/editadvanced_form.php:94 | 7 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
- Could Make A Function
|
/user/editadvanced_form.php:96 | 7 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
- Could Make A Function
|
/user/filters/lib.php:157 | 7 | - Should Use Local Class
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
- Missing Some Returntype
|
/user/filters/lib.php:332 | 7 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/user/filters/lib.php:349 | 7 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/user/lib.php:682 | 7 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/user/lib.php:738 | 7 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/user/profile/definelib.php:126 | 7 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/webservice/lib.php:366 | 7 | - Wrong Type For Native PHP Function
- Undefined Properties
- Wrong Parameter Type
- Wrong Number Of Arguments
- Uses Default Values
- Use random_int()
|
/webservice/soap/locallib.php:100 | 7 | - Wrong Argument Type
- Bail Out Early
- Wrong Type With Call
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
- Could Make A Function
|
None:374 | 7 | - Check Division By Zero
- Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:538 | 7 | - Undefined Properties
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Uses Default Values
- Use ::Class Operator
- Preprocessable
|
None:609 | 7 | - Maybe Missing New
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:864 | 7 | - Unused Public Methods
- Undefined Properties
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
None:884 | 7 | - Don't Pollute Global Space
- No Class In Global
- Maybe Missing New
- Unused Global
- Empty Classes
- Class Could Be Final
|
None:935 | 7 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Preprocessable
|
/admin/classes/table/plugin_management_table.php:224 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Relay Function
- Method Could Be Static
|
/admin/mnet/peers.php:133 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/admin/mnet/peers.php:259 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Native Alias Functions Usage
- Could Make A Function
- Preprocessable
|
/admin/mnet/testclient.php:73 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Repeated print()
|
/admin/mnet/testclient.php:147 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Repeated print()
|
/admin/mnet/testclient.php:184 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Repeated print()
|
/admin/presets/classes/local/setting/adminpresets_admin_setting_special_calendar_weekend.php:38 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/admin/presets/classes/manager.php:988 | 6 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- StandaloneType True False Null
- Never Called Parameter
|
/admin/roles/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/admin/testoutgoingmailconf.php:77 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/admin/tool/admin_presets/classes/local/action/load.php:121 | 6 | - Undefined Properties
- Merge If Then
- Buried Assignation
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
|
/admin/tool/analytics/classes/task/predict_models.php:76 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/admin/tool/analytics/classes/task/train_models.php:86 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/admin/tool/brickfield/classes/brickfieldconnect.php:122 | 6 | - Assumptions
- Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Missing Some Returntype
|
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php:85 | 6 | - Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Class-typed References
- No Boolean As Default
- Unused Parameter
- Objects Don't Need References
|
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php:361 | 6 | - Nested Ifthen
- Switch To Switch
- Could Make A Function
- Avoid Substr() One
- Preprocessable
- Else If Versus Elseif
|
/admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_test.php:43 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- No Public Access
- Never Used Properties
- Undefined Classes
- Unfinished Object
|
/admin/tool/brickfield/classes/local/tool/tool.php:239 | 6 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/brickfield/tests/local/htmlchecker/common/checks/all_checks.php:31 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/admin/tool/customlang/locallib.php:42 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/admin/tool/dataprivacy/classes/expired_contexts_manager.php:633 | 6 | - Undefined Properties
- Nested Ifthen
- Written Only Variables
- Iffectations
- Used Once Variables
- Used Once Variables (In Scope)
|
/admin/tool/dataprivacy/classes/privacy/provider.php:51 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/admin/tool/httpsreplace/classes/url_finder.php:77 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/admin/tool/installaddon/classes/installer.php:55 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/admin/tool/licensemanager/classes/output/table.php:111 | 6 | - Use Named Boolean In Argument Definition
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/admin/tool/log/classes/log/manager.php:31 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/admin/tool/log/classes/log/manager.php:34 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/admin/tool/log/store/database/tests/privacy/provider_test.php:65 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/admin/tool/log/store/database/tests/store_test.php:44 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Cast To Boolean
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
|
/admin/tool/log/store/database/tests/store_test.php:70 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/admin/tool/log/store/standard/tests/store_test.php:49 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Cast To Boolean
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
|
/admin/tool/log/store/standard/tests/store_test.php:425 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Cast To Boolean
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
|
/admin/tool/log/store/standard/tests/store_test.php:465 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Cast To Boolean
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
|
/admin/tool/lp/lib.php:64 | 6 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/admin/tool/lp/lib.php:138 | 6 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:329 | 6 | - No Default For Referenced Parameter
- Unused Parameter
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:3111 | 6 | - Buried Assignation
- Use Positive Condition
- No Need For Else
- Iffectations
- Uses Default Values
- Drop Else After Return
|
/admin/tool/messageinbound/roundcube/rcube_imap_generic.php:3446 | 6 | - Identical Consecutive Expression
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Static Methods Called From Object
|
/admin/tool/messageinbound/roundcube/rcube_mime.php:796 | 6 | - Static Inclusions
- Modernize Empty With Expression
- Useless Parenthesis
- Uses Default Values
- @ Operator
- No Parenthesis For Language Construct
|
/admin/tool/messageinbound/roundcube/rcube_result_thread.php:378 | 6 | - Weak Type With Array
- No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Wrong Parameter Type
- Should Use Existing Constants
|
/admin/tool/mfa/factor/token/classes/factor.php:217 | 6 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/admin/tool/mobile/classes/privacy/provider.php:39 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/admin/tool/mobile/mobile.webmanifest.php:42 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/admin/tool/mobile/tests/externallib_test.php:874 | 6 | - Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Unused Returned Value
- Could Make A Function
|
/admin/tool/mobile/tests/externallib_test.php:889 | 6 | - Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Unused Returned Value
- Could Make A Function
|
/admin/tool/mobile/tests/externallib_test.php:922 | 6 | - Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Unused Returned Value
- Could Make A Function
|
/admin/tool/monitor/tests/generator/lib.php:114 | 6 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/admin/tool/moodlenet/classes/external.php:143 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Nested Ifthen
- Wrong Type With Call
- Null Or Boolean Arrays
- Iffectations
|
/admin/tool/moodlenet/db/upgrade.php:31 | 6 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/admin/tool/policy/acceptances.php:31 | 6 | - Wrong Argument Type
- Identical Consecutive Expression
- Wrong Type With Call
- Double Assignation
- Double Instructions
- Could Make A Function
|
/admin/tool/policy/classes/output/page_agreedocs.php:147 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Merge If Then
- Nested Ifthen
- Uses Default Values
- Strict Comparison With Booleans
|
/admin/tool/policy/classes/output/page_agreedocs.php:194 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Merge If Then
- Bail Out Early
- Uses Default Values
- Strict Comparison With Booleans
|
/admin/tool/policy/tests/behat/behat_tool_policy.php:59 | 6 | - Max Level Of Nesting
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Modified Typed Parameter
- Method Could Be Static
|
/admin/tool/policy/tests/privacy/provider_test.php:378 | 6 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/admin/tool/spamcleaner/index.php:234 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Echo With Concat
|
/admin/tool/uploadcourse/classes/course.php:576 | 6 | - Double Checks
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
- Use === null
|
/admin/tool/uploadcourse/cli/uploadcourse.php:158 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Should Typecast
|
/admin/tool/uploaduser/locallib.php:476 | 6 | - No Default For Referenced Parameter
- Assumptions
- Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Undefined Classes
|
/admin/tool/uploaduser/picture.php:102 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Repeated print()
|
/admin/tool/usertours/classes/helper.php:162 | 6 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/admin/tool/usertours/classes/local/target/base.php:68 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Unreachable Method
|
/admin/tool/usertours/classes/manager.php:315 | 6 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/admin/user/user_bulk_forms.php:80 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/admin/webservice/service_users.php:119 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/admin/webservice/tokens.php:62 | 6 | - Wrong Argument Type
- Modernize Empty With Expression
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/analytics/classes/course.php:105 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/analytics/classes/local/analyser/base.php:393 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/analytics/classes/local/target/base.php:309 | 6 | - Unused Public Methods
- Unused Parameter
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/analytics/tests/prediction_test.php:849 | 6 | - Should Use Local Class
- Undefined Classes
- Use ::Class Operator
- Wrong Type With Default
- Method Could Be Static
- Never Called Parameter
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/OutOfSequenceBeforeAuthenticationCallException.php:43 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/OutOfSequenceBeforeClientException.php:43 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/OutOfSequenceBeforeProxyException.php:43 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/ProxyChain/Trusted.php:42 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/auth/cas/CAS/vendor/apereo/phpcas/source/CAS/Request/CurlRequest.php:40 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/auth/cas/CAS/vendor/composer/autoload_real.php:7 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/auth/cas/auth.php:324 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/auth/oauth2/classes/api.php:48 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Should Use Local Class
- Undefined Classes
- No Return Used
|
/auth/shibboleth/classes/admin_setting_special_convert_data_configfile.php:69 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Used Once Variables (In Scope)
- Strpos()-like Comparison
- Uses Default Values
- Could Make A Function
|
/backup/cc/cc_lib/cc_asssesment.php:239 | 6 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Undefined Classes
|
/backup/cc/cc_lib/cc_asssesment.php:486 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/backup/cc/cc_lib/cc_asssesment.php:607 | 6 | - Ambiguous Static
- Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_resources.php:129 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Insufficient Typehint
- Useless Argument
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_version1.php:56 | 6 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Unreachable Method
- Method Could Be Static
|
/backup/cc/cc_lib/cc_version1.php:193 | 6 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Undefined Classes
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_version1.php:300 | 6 | - Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version1.php:328 | 6 | - Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version1.php:346 | 6 | - Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version11.php:74 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Useless Argument
- Undefined Classes
- Modified Typed Parameter
|
/backup/cc/cc_lib/cc_version_base.php:48 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:50 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:52 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:54 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/cc_version_base.php:56 | 6 | - Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/cc/cc_lib/gral_lib/cssparser.php:33 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/backup/cc/cc_lib/gral_lib/functions.php:92 | 6 | - Wrong Type For Native PHP Function
- Htmlentities Calls
- Uses Default Values
- var_dump()... Usage
- Could Make A Function
- Echo With Concat
|
/backup/moodle2/backup_activity_task.class.php:361 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/backup/moodle2/backup_block_task.class.php:216 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Unreachable Method
|
/backup/moodle2/restore_stepslib.php:1326 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/backup/moodle2/restore_stepslib.php:1368 | 6 | - Missing Assignation In Branches
- strpos() Too Much
- Nested Ifthen
- Useless Parenthesis
- Uses Default Values
- Else If Versus Elseif
|
/backup/moodle2/restore_stepslib.php:2127 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/backup/moodle2/restore_stepslib.php:2177 | 6 | - Missing Assignation In Branches
- strpos() Too Much
- Nested Ifthen
- Useless Parenthesis
- Uses Default Values
- Else If Versus Elseif
|
/backup/moodle2/tests/backup_encrypted_content_test.php:117 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/backup/restorefile.php:146 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/backup/util/helper/backup_helper.class.php:134 | 6 | - Weak Type With Array
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Drop Else After Return
- Strict Comparison With Booleans
|
/backup/util/helper/backup_helper.class.php:404 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Scalar Are Not Arrays
- Unsupported Types With Operators
- Null Or Boolean Arrays
- Indices Are Int Or String
|
/backup/util/structure/backup_optigroup_element.class.php:156 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/backup/util/ui/backup_ui_stage.class.php:94 | 6 | - Mismatch Parameter Name
- Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/backup_ui_stage.class.php:258 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/util/ui/import_extensions.php:163 | 6 | - Unused Public Methods
- Ambiguous Static
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/backup/util/ui/restore_ui_stage.class.php:615 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/util/ui/restore_ui_stage.class.php:727 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/backup/util/xml/parser/tests/parser_test.php:756 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/backup/util/xml/parser/tests/parser_test.php:764 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Repeated Regex
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/badges/classes/output/badgeclass.php:76 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/badges/classes/output/badgeclass.php:79 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/badges/classes/output/issued_badge.php:122 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/badges/classes/reportbuilder/local/entities/badge.php:33 | 6 | - Exit Without Argument
- Exit() Usage
- Could Make A Function
- Preprocessable
- Implied If
- Logical Should Use Symbolic Operators
|
/badges/tests/badgeslib_test.php:549 | 6 | - Fn Argument Variable Confusion
- Written Only Variables
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
|
/blocks/accessreview/block_accessreview.php:249 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/blocks/accessreview/block_accessreview.php:279 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/blocks/admin_bookmarks/block_admin_bookmarks.php:85 | 6 | - No Null For Native PHP Functions
- Wrong Argument Type
- Wrong Type With Call
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
|
/blocks/admin_bookmarks/create.php:37 | 6 | - No Null For Native PHP Functions
- Wrong Argument Type
- Wrong Type With Call
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
|
/blocks/admin_bookmarks/delete.php:39 | 6 | - No Null For Native PHP Functions
- Wrong Argument Type
- Wrong Type With Call
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
|
/blocks/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/blocks/moodleblock.class.php:52 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/blocks/moodleblock.class.php:58 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/blocks/moodleblock.class.php:70 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/blocks/moodleblock.class.php:76 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/blocks/moodleblock.class.php:146 | 6 | - Ambiguous Static
- Should Use Local Class
- Empty Function
- Forgotten Visibility
- StandaloneType True False Null
- Missing Some Returntype
|
/blocks/moodleblock.class.php:397 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/blocks/moodleblock.class.php:532 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
|
/blocks/private_files/renderer.php:81 | 6 | - Undefined Properties
- Using Deprecated Method
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/blocks/rss_client/managefeeds.php:140 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Echo With Concat
|
/blocks/rss_client/settings.php:34 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/blocks/tag_youtube/edit_form.php:60 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/blog/classes/external.php:256 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/blog/lib.php:768 | 6 | - Missing Assignation In Branches
- Nested Ifthen
- Undefined Variable
- Uses Default Values
- Strict Comparison With Booleans
- Else If Versus Elseif
|
/blog/lib.php:1207 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/blog/locallib.php:234 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Used Once Variables
- Used Once Variables (In Scope)
- Double Object Assignation
|
/calendar/classes/external/event_icon_exporter.php:47 | 6 | - Max Level Of Nesting
- Too Many Local Variables
- Mismatched Default Arguments
- Undefined Classes
- Parent First
- Wrong Type With Default
|
/calendar/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/calendar/externallib.php:634 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/calendar/externallib.php:1044 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/calendar/lib.php:3972 | 6 | - Double Checks
- Assumptions
- Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Useless Argument
|
/calendar/lib.php:3980 | 6 | - Weak Type With Array
- Wrong Argument Type
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/cohort/classes/privacy/provider.php:218 | 6 | - Ambiguous Static
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/cohort/lib.php:394 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/cohort/upload.php:87 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Repeated print()
|
/cohort/upload_form.php:379 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Could Make A Function
- Preprocessable
|
/communication/classes/api.php:68 | 6 | - Ambiguous Visibilities
- Used Once Variables (In Scope)
- Scalar Or Object Property
- StandaloneType True False Null
- Wrong Type With Default
- Unfinished Object
|
/communication/provider/matrix/classes/communication_feature.php:581 | 6 | - Ambiguous Static
- Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- Missing Some Returntype
|
/communication/provider/matrix/classes/matrix_client.php:43 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/communication/provider/matrix/tests/behat/behat_communication_matrix.php:46 | 6 | - Method Is Not An If
- Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
|
/competency/classes/course_competency.php:101 | 6 | - Buried Assignation
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/competency/tests/generator/lib.php:247 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:269 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:321 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:347 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:377 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:421 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:455 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/generator/lib.php:477 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/competency/tests/privacy/provider_test.php:2690 | 6 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/completion/classes/manager.php:553 | 6 | - Check JSON
- Buried Assignation
- Iffectations
- Uses Default Values
- @ Operator
- Could Make A Function
|
/completion/tests/externallib_test.php:136 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/contentbank/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/course/classes/cache/course_image.php:36 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/course/classes/cache/course_image.php:70 | 6 | - Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Could Inject Parameter
- Method Could Be Static
|
/course/classes/hook/after_form_submission.php:40 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Avoid Using stdClass
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
|
/course/classes/hook/after_form_validation.php:51 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/course/classes/management/helper.php:275 | 6 | - Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/course/classes/management_renderer.php:336 | 6 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
|
/course/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/course/classes/reportbuilder/local/formatters/enrolment.php:43 | 6 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Missing Some Returntype
|
/course/externallib.php:1664 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Use ::Class Operator
|
/course/externallib.php:2875 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/course/format/classes/base.php:85 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
- Property Could Be Local
|
/course/format/classes/output/local/content/cm.php:198 | 6 | - Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Useless Argument
- Missing Some Returntype
|
/course/format/classes/output/local/content/cm.php:258 | 6 | - Assumptions
- Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Used Once Variables (In Scope)
|
/course/format/classes/output/local/content/section.php:256 | 6 | - Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Used Once Variables (In Scope)
- Useless Argument
|
/course/format/classes/output/local/content/section.php:286 | 6 | - Class-typed References
- Unused Parameter
- Avoid Using stdClass
- Objects Don't Need References
- Insufficient Typehint
- Useless Argument
|
/course/format/classes/output/local/content/section/cmlist.php:103 | 6 | - Wrong Type For Native PHP Function
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/course/format/classes/output/local/content/section/cmlist.php:105 | 6 | - Wrong Type For Native PHP Function
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
|
/course/format/classes/output/section_renderer.php:307 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/course/format/tests/local/cmactions_test.php:120 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/course/format/tests/stateactions_test.php:658 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Variable Is Not A Condition
- Useless Parenthesis
- Indices Are Int Or String
|
/course/format/tests/stateactions_test.php:659 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Variable Is Not A Condition
- Useless Parenthesis
- Indices Are Int Or String
|
/course/format/topics/lib.php:54 | 6 | - Wrong Argument Type
- Cast To Boolean
- Useless Parenthesis
- Wrong Type With Call
- Use ::Class Operator
- Wrong Type Returned
|
/course/format/weeks/lib.php:53 | 6 | - Wrong Argument Type
- Cast To Boolean
- Useless Parenthesis
- Wrong Type With Call
- Use ::Class Operator
- Wrong Type Returned
|
/course/lib.php:408 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- One Variable String
- Could Make A Function
|
/course/lib.php:409 | 6 | - Weak Type With Array
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- One Variable String
- Could Make A Function
|
/course/lib.php:983 | 6 | - Double Checks
- Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
|
/course/lib.php:1622 | 6 | - Don't Pollute Global Space
- No Class In Global
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/course/lib.php:2762 | 6 | - Buried Assignation
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Iffectations
- Drop Else After Return
|
/course/lib.php:4511 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Assign And Lettered Logical Operator Precedence
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/course/lib.php:4524 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Assign And Lettered Logical Operator Precedence
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/course/lib.php:4555 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/course/lib.php:4568 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/course/lib.php:4695 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/course/lib.php:4700 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/course/user.php:102 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/customfield/classes/data_controller.php:353 | 6 | - No Need For Triple Equal
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Switch To Switch
- Drop Else After Return
|
/enrol/cohort/settings.php:39 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Useless Instructions
- Could Make A Function
- No Choice
- Useless Null Coalesce
|
/enrol/fee/classes/plugin.php:256 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/enrol/guest/classes/external/validate_password.php:94 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Unused Returned Value
|
/enrol/locallib.php:590 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/enrol/locallib.php:1175 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/enrol/lti/cartridge.php:25 | 6 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/enrol/lti/classes/helper.php:445 | 6 | - Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php:279 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Should Use Local Class
- Method Could Be Static
|
/enrol/lti/classes/tool_provider.php:180 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/enrol/lti/ims-blti/OAuth.php:123 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/enrol/lti/ims-blti/OAuth.php:133 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/enrol/lti/ims-blti/OAuth.php:652 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/enrol/lti/ims-blti/OAuth.php:664 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/enrol/lti/settings.php:32 | 6 | - Recycled Variables
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- $this Belongs To Classes Or Traits
|
/enrol/lti/tests/sync_members_test.php:308 | 6 | - Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/enrol/manual/settings.php:66 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Useless Instructions
- Could Make A Function
- No Choice
- Useless Null Coalesce
|
/enrol/paypal/lib.php:251 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/enrol/self/externallib.php:179 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Merge If Then
- Nested Ifthen
- Null Or Boolean Arrays
- Logical Should Use Symbolic Operators
|
/enrol/self/locallib.php:95 | 6 | - Wrong Argument Type
- Should Use Ternary Operator
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/enrol/tests/course_enrolment_manager_test.php:147 | 6 | - Weak Type With Array
- Recycled Variables
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
|
/enrol/tests/course_enrolment_manager_test.php:152 | 6 | - Weak Type With Array
- Recycled Variables
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
|
/enrol/tests/course_enrolment_manager_test.php:214 | 6 | - Weak Type With Array
- Recycled Variables
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
|
/enrol/tests/course_enrolment_manager_test.php:221 | 6 | - Weak Type With Array
- Recycled Variables
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
|
/files/classes/privacy/provider.php:46 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/files/converter/googledrive/test.php:55 | 6 | - Wrong Argument Type
- Modernize Empty With Expression
- Wrong Type With Call
- Double Assignation
- Undefined Variable
- Could Make A Function
|
/filter/emoticon/tests/filter_test.php:214 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unpreprocessed Values
- Unused Returned Value
- Could Make A Function
|
/filter/mathjaxloader/filter.php:111 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/filter/tex/filter.php:115 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
- Never Called Parameter
|
/filter/tex/latex.php:11 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/filter/tex/lib.php:36 | 6 | - Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Iffectations
- Use ::Class Operator
- Could Make A Function
|
/filter/tex/lib.php:138 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/filter/tex/settings.php:70 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/filter/tex/settings.php:71 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/filter/tex/settings.php:72 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/filter/tex/settings.php:73 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Unused Returned Value
- Could Make A Function
|
/filter/urltolink/filter.php:69 | 6 | - Unused Parameter
- Too Many Local Variables
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/grade/classes/external/get_feedback.php:79 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
|
/grade/classes/privacy/provider.php:1234 | 6 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/grade/classes/privacy/provider.php:1284 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/edit/outcome/course.php:137 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/grade/edit/outcome/edit.php:168 | 6 | - Useless Coalesce
- Useless Short Ternary
- Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Unused Returned Value
|
/grade/edit/outcome/edit_form.php:147 | 6 | - Merge If Then
- Buried Assignation
- Wrong Type With Call
- Written Only Variables
- Iffectations
- Logical Should Use Symbolic Operators
|
/grade/edit/tree/outcomeitem.php:186 | 6 | - Missing Assignation In Branches
- Empty Blocks
- Avoid Optional Properties
- Uses Default Values
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/grade/export/keymanager.php:49 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/grade/export/lib.php:325 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/grade/export/ods/export.php:46 | 6 | - Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/grade/export/txt/export.php:46 | 6 | - Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/grade/export/xls/export.php:46 | 6 | - Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/grade/export/xml/export.php:46 | 6 | - Wrong Argument Type
- Merge If Then
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/grade/grading/classes/privacy/provider.php:42 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/grade/grading/form/guide/classes/privacy/provider.php:39 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/grade/grading/form/guide/lib.php:111 | 6 | - Unused Public Methods
- Mismatch Parameter Name
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/form/lib.php:556 | 6 | - Undefined Variable
- Used Once Variables
- Used Once Variables (In Scope)
- Useless Instructions
- No Choice
- Useless Null Coalesce
|
/grade/grading/form/rubric/lib.php:108 | 6 | - Unused Public Methods
- Mismatch Parameter Name
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/grading/lib.php:461 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/grade/import/csv/classes/load_data.php:556 | 6 | - Wrong Argument Type
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Logical Should Use Symbolic Operators
|
/grade/lib.php:1844 | 6 | - Wrong Argument Type
- No Need For Else
- Empty Blocks
- Wrong Type With Call
- Drop Else After Return
- Logical Should Use Symbolic Operators
|
/grade/lib.php:1946 | 6 | - Bail Out Early
- No Need For Else
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/grade/lib.php:2695 | 6 | - strpos() Too Much
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Drop Else After Return
|
/grade/lib.php:3070 | 6 | - strpos() Too Much
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Drop Else After Return
|
/grade/lib.php:3136 | 6 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- Undefined Properties
- Nested Ifthen
- Switch To Switch
- Uses Default Values
|
/grade/lib.php:3187 | 6 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- Undefined Properties
- Nested Ifthen
- Switch To Switch
- Uses Default Values
|
/grade/lib.php:4011 | 6 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Could Make A Function
- Wrong Type Returned
|
/grade/report/grader/classes/external/get_users_in_report.php:91 | 6 | - Wrong Number Of Arguments
- Used Once Variables (In Scope)
- Uses Default Values
- Undefined Classes
- New Object Then Immediate Call
- Could Inject Parameter
|
/grade/report/grader/lib.php:404 | 6 | - Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
- list() May Omit Variables
|
/grade/report/grader/lib.php:609 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/grade/report/grader/lib.php:1030 | 6 | - Missing Assignation In Branches
- Use Positive Condition
- Nested Ifthen
- Written Only Variables
- Undefined Variable
- Else If Versus Elseif
|
/grade/report/grader/lib.php:1229 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/grade/report/grader/lib.php:1572 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/grade/report/grader/lib.php:2009 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Wrong Number Of Arguments
- Uses Default Values
- Wrong Type Returned
- Preprocessable
|
/grade/report/grader/lib.php:2072 | 6 | - Missing Assignation In Branches
- Use Positive Condition
- Nested Ifthen
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/grade/report/grader/preferences_form.php:144 | 6 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Use Positive Condition
- Should Use Ternary Operator
- Null Or Boolean Arrays
- Indices Are Int Or String
|
/grade/report/history/index.php:113 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/grade/report/overview/lib.php:410 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/grade/report/overview/lib.php:419 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/grade/report/singleview/classes/external/singleview.php:78 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
|
/grade/report/singleview/tests/fixtures/screen.php:47 | 6 | - Unused Public Methods
- Type Must Be Returned
- Method Signature Must Be Compatible
- Must Return Methods
- Empty Function
- Methods Without Return
|
/grade/report/user/classes/external/user.php:101 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Else If Versus Elseif
|
/grade/report/user/classes/report/user.php:227 | 6 | - Use Named Boolean In Argument Definition
- Undefined Classes
- StandaloneType True False Null
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
|
/grade/report/user/lib.php:176 | 6 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Could Inject Parameter
|
/group/assign.php:49 | 6 | - Merge If Then
- Buried Assignation
- Nested Ifthen
- Iffectations
- Assign And Lettered Logical Operator Precedence
- Logical Should Use Symbolic Operators
|
/group/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/group/externallib.php:311 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/group/grouping_form.php:99 | 6 | - Buried Assignation
- Nested Ifthen
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/group/import.php:163 | 6 | - Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/group/import.php:173 | 6 | - Undefined Properties
- Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/h5p/classes/api.php:422 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/h5p/classes/editor_ajax.php:79 | 6 | - Mismatch Parameter Name
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
- Never Called Parameter
|
/h5p/classes/framework.php:528 | 6 | - Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Hidden Nullable Typehint
|
/lib/accesslib.php:1839 | 6 | - Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
|
/lib/accesslib.php:1880 | 6 | - Comparison Is Always The Same
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Weak Typing
- Drop Else After Return
|
/lib/accesslib.php:2840 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
|
/lib/accesslib.php:2972 | 6 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:3123 | 6 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/accesslib.php:3511 | 6 | - Don't Pollute Global Space
- No Class In Global
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/accesslib.php:5128 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Insufficient Typehint
- Undefined Classes
|
/lib/adminlib.php:541 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/adminlib.php:8879 | 6 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- StandaloneType True False Null
|
/lib/adodb/adodb-csvlib.inc.php:113 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Iffectations
- Uses Default Values
- Drop Else After Return
|
/lib/adodb/adodb-lib.inc.php:712 | 6 | - Bail Out Early
- No Need For Else
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Drop Else After Return
|
/lib/adodb/adodb-loadbalancer.inc.php:458 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Undefined Variable
- Drop Else After Return
- Strict Comparison With Booleans
|
/lib/adodb/adodb-pear.inc.php:275 | 6 | - Should Use Local Class
- Useless Argument
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/adodb-perf.inc.php:229 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Same Name For Property And Method
|
/lib/adodb/adodb-perf.inc.php:514 | 6 | - Relay Function
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/adodb-perf.inc.php:519 | 6 | - Relay Function
- Should Use Local Class
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/adodb/adodb-xmlschema.inc.php:897 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Useless Referenced Argument
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema.inc.php:1110 | 6 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-xmlschema.inc.php:1937 | 6 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema03.inc.php:529 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Useless Referenced Argument
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema03.inc.php:951 | 6 | - Ambiguous Static
- Useless Referenced Argument
- Too Many Local Variables
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/adodb/adodb-xmlschema03.inc.php:1217 | 6 | - Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/adodb-xmlschema03.inc.php:1497 | 6 | - Forgotten Visibility
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Same Name For Property And Method
- Hidden Nullable Typehint
|
/lib/adodb/adodb.inc.php:504 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:512 | 6 | - Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:518 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:521 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:1356 | 6 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:3474 | 6 | - Logical To in_array
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
- Strict Comparison With Booleans
|
/lib/adodb/adodb.inc.php:3966 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Same Name For Property And Method
- Mismatch Properties Typehints
|
/lib/adodb/adodb.inc.php:4452 | 6 | - Logical To in_array
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
- Strict Comparison With Booleans
|
/lib/adodb/adodb.inc.php:5517 | 6 | - Don't Pollute Global Space
- No Class In Global
- Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/adodb/adodb.inc.php:5808 | 6 | - Don't Pollute Global Space
- Useless Referenced Argument
- No Class In Global
- Useless Argument
- Undefined Classes
- Could Inject Parameter
|
/lib/adodb/drivers/adodb-ado.inc.php:602 | 6 | - False To Array Conversion
- Wrong Argument Type
- Should Use Ternary Operator
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
|
/lib/adodb/drivers/adodb-ado5.inc.php:649 | 6 | - False To Array Conversion
- Wrong Argument Type
- Should Use Ternary Operator
- Useless Parenthesis
- Wrong Type With Call
- Could Make A Function
|
/lib/adodb/drivers/adodb-ads.inc.php:745 | 6 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Undefined Functions
- @ Operator
|
/lib/adodb/drivers/adodb-db2.inc.php:1753 | 6 | - Make Global A Property
- Useless Global
- Undefined Variable
- Used Once Variables (In Scope)
- Global Usage
- Could Be A Static Variable
|
/lib/adodb/drivers/adodb-db2.inc.php:1887 | 6 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Undefined Functions
- @ Operator
|
/lib/adodb/drivers/adodb-fbsql.inc.php:191 | 6 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Undefined Functions
- @ Operator
|
/lib/adodb/drivers/adodb-fbsql.inc.php:217 | 6 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-ldap.inc.php:43 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/adodb/drivers/adodb-ldap.inc.php:45 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Same Name For Property And Method
|
/lib/adodb/drivers/adodb-mysqli.inc.php:79 | 6 | - Scalar Or Object Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/adodb/drivers/adodb-mysqli.inc.php:161 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/adodb/drivers/adodb-mysqli.inc.php:1217 | 6 | - Weak Type With Array
- Check All Types
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/lib/adodb/drivers/adodb-pdo.inc.php:793 | 6 | - Scalar Or Object Property
- Var Keyword
- Assign Default To Properties
- Forgotten Visibility
- Inherited Property Type Must Match
- Mismatch Properties Typehints
|
/lib/adodb/drivers/adodb-postgres64.inc.php:87 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Same Name For Property And Method
|
/lib/adodb/drivers/adodb-postgres64.inc.php:107 | 6 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-sqlitepo.inc.php:47 | 6 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Different Argument Counts
|
/lib/adodb/drivers/adodb-sybase.inc.php:349 | 6 | - Variable Is Not A Condition
- Useless Parenthesis
- Undefined Variable
- Used Once Variables (In Scope)
- Undefined Functions
- @ Operator
|
/lib/antivirus/clamav/classes/scanner.php:47 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type With Call
- Switch To Switch
- Drop Else After Return
|
/lib/authlib.php:108 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/authlib.php:114 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/authlib.php:277 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
|
/lib/authlib.php:475 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/authlib.php:1034 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/aws-sdk/src/AbstractConfigurationProvider.php:19 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Property
- Undefined Classes
- Unfinished Object
|
/lib/aws-sdk/src/Arn/S3/MultiRegionAccessPointArn.php:13 | 6 | - Already Parents Trait
- Repeated Interface
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/aws-sdk/src/ClientResolver.php:473 | 6 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/lib/aws-sdk/src/ClientResolver.php:790 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/ClientResolver.php:812 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/ClientResolver.php:864 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/aws-sdk/src/ClientResolver.php:869 | 6 | - Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/ClientResolver.php:884 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/aws-sdk/src/Crypto/AesGcmEncryptingStream.php:14 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/aws-sdk/src/DynamoDb/DynamoDbClient.php:152 | 6 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/lib/aws-sdk/src/DynamoDb/DynamoDbClient.php:191 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/aws-sdk/src/DynamoDb/Marshaler.php:64 | 6 | - Unused Public Methods
- Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/lib/aws-sdk/src/DynamoDb/Marshaler.php:256 | 6 | - Assumptions
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/lib/aws-sdk/src/DynamoDb/WriteRequestBatch.php:132 | 6 | - Ambiguous Static
- Mismatched Default Arguments
- Undefined Classes
- No Return Used
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/aws-sdk/src/EndpointDiscovery/EndpointList.php:79 | 6 | - Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/Glacier/MultipartUploader.php:241 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Could Inject Parameter
- Modified Typed Parameter
- Method Could Be Static
|
/lib/aws-sdk/src/JsonCompiler.php:21 | 6 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/aws-sdk/src/Middleware.php:69 | 6 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/aws-sdk/src/Multipart/AbstractUploadManager.php:287 | 6 | - No Default For Referenced Parameter
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/lib/aws-sdk/src/S3/S3Client.php:227 | 6 | - Method Collision Traits
- Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/lib/aws-sdk/src/S3/S3Client.php:452 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/S3/S3Client.php:848 | 6 | - Unused Public Methods
- Assumptions
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/aws-sdk/src/S3Control/S3ControlClient.php:174 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Could Inject Parameter
|
/lib/aws-sdk/src/Signature/SignatureV4.php:413 | 6 | - Ambiguous Static
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Modified Typed Parameter
- Method Could Be Static
|
/lib/badgeslib.php:583 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
|
/lib/behat/behat_field_manager.php:277 | 6 | - Useless Argument
- Undefined Interfaces
- Undefined Classes
- StandaloneType True False Null
- Could Inject Parameter
- Missing Some Returntype
|
/lib/behat/classes/behat_config_util.php:700 | 6 | - Too Many Array Dimensions
- Modernize Empty With Expression
- Wrong Number Of Arguments
- Uses Default Values
- Undefined Classes
- Missing Some Returntype
|
/lib/behat/classes/behat_config_util.php:756 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
- Never Called Parameter
- Missing Some Returntype
|
/lib/behat/classes/util.php:225 | 6 | - Don't Read And Write In One Expression
- Check JSON
- Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
|
/lib/behat/classes/util.php:485 | 6 | - Ambiguous Static
- Should Use Local Class
- Useless Argument
- Undefined Interfaces
- Undefined Classes
- Could Inject Parameter
|
/lib/behat/extension/Moodle/BehatExtension/ServiceContainer/BehatExtension.php:264 | 6 | - Method Is Not An If
- Ambiguous Static
- Should Use Local Class
- Undefined Interfaces
- Undefined Classes
- Method Could Be Static
|
/lib/behat/lib.php:486 | 6 | - Missing Assignation In Branches
- Wrong Type For Native PHP Function
- Iffectations
- Strpos()-like Comparison
- Uses Default Values
- Strict Comparison With Booleans
|
/lib/bennu/iCalendar_components.php:16 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/bennu/iCalendar_components.php:17 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/bennu/iCalendar_components.php:18 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/bennu/iCalendar_components.php:365 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/bennu/iCalendar_components.php:443 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/bennu/iCalendar_components.php:561 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/bennu/iCalendar_components.php:612 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/bennu/iCalendar_properties.php:19 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/bennu/iCalendar_properties.php:22 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/bennu/iCalendar_properties.php:26 | 6 | - Property Used In One Method Only
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/bennu/iCalendar_properties.php:1233 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/bennu/iCalendar_properties.php:1234 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Inherited Property Type Must Match
|
/lib/blocklib.php:1445 | 6 | - Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/blocklib.php:1596 | 6 | - Variable Is Not A Condition
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/lib/classes/analytics/indicator/any_course_access.php:92 | 6 | - Weak Type With Array
- Undefined Properties
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/lib/classes/content/export/zipwriter.php:65 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/lib/classes/context.php:1076 | 6 | - Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
|
/lib/classes/cron.php:416 | 6 | - Unsupported Types With Operators
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Wrong Parameter Type
|
/lib/classes/cron.php:427 | 6 | - Unsupported Types With Operators
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Wrong Parameter Type
|
/lib/classes/cron.php:525 | 6 | - Unsupported Types With Operators
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Wrong Parameter Type
|
/lib/classes/cron.php:536 | 6 | - Unsupported Types With Operators
- Wrong Type For Native PHP Function
- Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Wrong Parameter Type
|
/lib/classes/dataformat/base.php:95 | 6 | - Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Unreachable Method
|
/lib/classes/encryption.php:203 | 6 | - Method Is Not An If
- Ambiguous Static
- Mismatched Default Arguments
- StandaloneType True False Null
- Wrong Type With Default
- Missing Some Returntype
|
/lib/classes/event/base.php:173 | 6 | - Assumptions
- Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/classes/external/editmode.php:68 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/classes/formatting.php:162 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Never Called Parameter
- Missing Some Returntype
|
/lib/classes/http_client.php:171 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Method Could Be Static
- Missing Some Returntype
|
/lib/classes/hub/site_registration_form.php:311 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Unused Returned Value
- Could Make A Function
- Preprocessable
|
/lib/classes/hub/site_registration_form.php:314 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Unused Returned Value
- Could Make A Function
- Preprocessable
|
/lib/classes/message/manager.php:182 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/classes/moodlenet/share_progress_table.php:112 | 6 | - Missing Assignation In Branches
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/lib/classes/navigation/views/primary.php:132 | 6 | - Merge If Then
- Buried Assignation
- Iffectations
- Uses Default Values
- Strict Comparison With Booleans
- Else If Versus Elseif
|
/lib/classes/oauth2/client.php:481 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- Undefined Properties
- Wrong Type With Call
- Null Or Boolean Arrays
- Unused Returned Value
|
/lib/classes/output/icon_system.php:59 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/lib/classes/param.php:1038 | 6 | - Wrong Type For Native PHP Function
- Repeated Regex
- Empty Blocks
- Nested Ifthen
- Uses Default Values
- Else If Versus Elseif
|
/lib/classes/plugin_manager.php:1315 | 6 | - Undefined Properties
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugin_manager.php:1316 | 6 | - Weak Type With Array
- Variable Is Not A Condition
- Don't Collect Void
- Wrong Type With Call
- Implied If
- Logical Should Use Symbolic Operators
|
/lib/classes/plugininfo/base.php:644 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/classes/plugininfo/repository.php:105 | 6 | - Missing Assignation In Branches
- Nested Ifthen
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Use ::Class Operator
|
/lib/classes/report_helper.php:58 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Scalar Are Not Arrays
- Unsupported Types With Operators
- Null Or Boolean Arrays
- Indices Are Int Or String
|
/lib/classes/session/database.php:296 | 6 | - PHP Native Class Type Compatibility
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- StandaloneType True False Null
- Missing Some Returntype
|
/lib/classes/session/manager.php:592 | 6 | - Undefined Properties
- Bail Out Early
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/lib/classes/session/manager.php:1255 | 6 | - False To Array Conversion
- Timestamp Difference
- Useless Parenthesis
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/classes/string_manager_install.php:250 | 6 | - Unused Public Methods
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/lib/classes/task/course_backup_task.php:56 | 6 | - Buried Assignation
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Iffectations
- Drop Else After Return
|
/lib/classes/task/file_temp_cleanup_task.php:45 | 6 | - Max Level Of Nesting
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/lib/classes/user.php:964 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- No Parenthesis For Language Construct
|
/lib/classes/user.php:1410 | 6 | - Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/clilib.php:175 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/componentlib.class.php:307 | 6 | - Bail Out Early
- No Need For Else
- Iffectations
- Uses Default Values
- Could Make A Function
- Drop Else After Return
|
/lib/componentlib.class.php:356 | 6 | - Bail Out Early
- No Need For Else
- Iffectations
- Uses Default Values
- Could Make A Function
- Drop Else After Return
|
/lib/datalib.php:2213 | 6 | - Assumptions
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Wrong Type With Default
|
/lib/db/upgradelib.php:178 | 6 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/db/upgradelib.php:332 | 6 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/db/upgradelib.php:548 | 6 | - Fn Argument Variable Confusion
- Written Only Variables
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
|
/lib/db/upgradelib.php:549 | 6 | - Fn Argument Variable Confusion
- Written Only Variables
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
|
/lib/db/upgradelib.php:656 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
|
/lib/db/upgradelib.php:661 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Wrong Argument Type
- Wrong Type With Call
- Indices Are Int Or String
|
/lib/ddl/database_manager.php:958 | 6 | - Assumptions
- Max Level Of Nesting
- Too Many Local Variables
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/deprecatedlib.php:1114 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/lib/dml/auroramysql_native_moodle_database.php:39 | 6 | - Don't Pollute Global Space
- Trait Not Found
- Forgotten Interface
- Abstract Or Implements
- No Class In Global
- Class Could Be Final
|
/lib/dml/auroramysql_native_moodle_database.php:60 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Method Signature Must Be Compatible
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/lib/dml/mariadb_native_moodle_database.php:39 | 6 | - Don't Pollute Global Space
- Trait Not Found
- Forgotten Interface
- Abstract Or Implements
- No Class In Global
- Class Could Be Final
|
/lib/dml/moodle_database.php:1296 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/dml/mysqli_native_moodle_database.php:39 | 6 | - Don't Pollute Global Space
- Trait Not Found
- Forgotten Interface
- Abstract Or Implements
- No Class In Global
- Could Be Abstract Class
|
/lib/dml/mysqli_native_moodle_database.php:57 | 6 | - Property Used In One Method Only
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
- Property Could Be Local
|
/lib/dml/pgsql_native_moodle_recordset.php:110 | 6 | - No Null For Native PHP Functions
- Buried Assignation
- Same Conditions In Condition
- Nested Ifthen
- Iffectations
- Uses Default Values
|
/lib/dml/sqlsrv_native_moodle_database.php:682 | 6 | - Method Is Not An If
- Should Use Local Class
- Useless Argument
- Undefined Classes
- No Return Used
- Method Could Be Static
|
/lib/dml/tests/dml_test.php:220 | 6 | - Identical Consecutive Expression
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Randomly Sorted Arrays
- list() May Omit Variables
|
/lib/dml/tests/fixtures/read_slave_moodle_database_special.php:111 | 6 | - Unused Public Methods
- PHP Native Class Type Compatibility
- PHP Native Interfaces and Return Type
- Avoid Using stdClass
- Should Use Local Class
- Method Could Be Static
|
/lib/dml/tests/fixtures/read_slave_moodle_recordset_special.php:47 | 6 | - Unused Public Methods
- PHP Native Class Type Compatibility
- PHP Native Interfaces and Return Type
- Avoid Using stdClass
- Should Use Local Class
- Method Could Be Static
|
/lib/dml/tests/fixtures/test_moodle_database.php:48 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/lib/enrollib.php:310 | 6 | - Buried Assignation
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/lib/enrollib.php:1995 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/enrollib.php:2045 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/enrollib.php:2056 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/lib/enrollib.php:2069 | 6 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/enrollib.php:2084 | 6 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/enrollib.php:2459 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/enrollib.php:3342 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/lib/environmentlib.php:1284 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
|
/lib/evalmath/evalmath.class.php:260 | 6 | - Wrong Argument Type
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
- Use === null
|
/lib/evalmath/evalmath.class.php:301 | 6 | - Wrong Argument Type
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
- Use === null
|
/lib/evalmath/evalmath.class.php:431 | 6 | - Weak Type With Array
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Could Make A Function
- Use === null
|
/lib/external/classes/external_api.php:300 | 6 | - Ambiguous Static
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/external/classes/external_settings.php:31 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- No Public Access
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/external/externallib.php:466 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
|
/lib/external/externallib.php:469 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/lib/external/tests/external_externallib_test.php:148 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/lib/external/tests/external_externallib_test.php:149 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/lib/external/tests/external_externallib_test.php:161 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/lib/external/tests/external_externallib_test.php:162 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/lib/filebrowser/file_info_stored.php:133 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/lib/filebrowser/virtual_root_file.php:131 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/filelib.php:5212 | 6 | - Missing Assignation In Branches
- strpos() Too Much
- Nested Ifthen
- Switch To Switch
- Uses Default Values
- Else If Versus Elseif
|
/lib/filestorage/stored_file.php:757 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/filestorage/tgz_packer.php:601 | 6 | - Method Is Not An If
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/filestorage/zip_archive.php:596 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Buried Assignation
- Iffectations
- Uses Default Values
- Could Make A Function
|
/lib/filestorage/zip_archive.php:738 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Buried Assignation
- Wrong fopen() Mode
- Iffectations
- Uses Default Values
|
/lib/filterlib.php:813 | 6 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/form/selectgroups.php:54 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/form/selectgroups.php:538 | 6 | - Weak Type With Array
- Wrong Type For Native PHP Function
- Return True False
- Should Use Ternary Operator
- Uses Default Values
- Strict Comparison With Booleans
|
/lib/geopattern-php/GeoPattern/SVG.php:15 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/lib/google/curlio.php:42 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Property Could Be Local
|
/lib/google/src/Google/Logger/Null.php:41 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Empty Function
- Undefined Classes
- Different Argument Counts
|
/lib/google/src/Google/Logger/Psr.php:91 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Empty Function
- Undefined Classes
- Different Argument Counts
|
/lib/grade/grade_category.php:294 | 6 | - Max Level Of Nesting
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_grade.php:1051 | 6 | - Undefined Properties
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
- Use === null
|
/lib/grade/grade_item.php:812 | 6 | - Max Level Of Nesting
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/grade/grade_item.php:2591 | 6 | - Bail Out Early
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Use ::Class Operator
|
/lib/grade/grade_object.php:432 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/grade_object.php:440 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grade/tests/fixtures/lib.php:90 | 6 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/lib/grade/tests/fixtures/lib.php:93 | 6 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/lib/gradelib.php:707 | 6 | - Buried Assignation
- Use Positive Condition
- Should Use Ternary Operator
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
|
/lib/gradelib.php:967 | 6 | - Don't Pollute Global Space
- No Class In Global
- Infinite Recursion
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/grouplib.php:1452 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/grouplib.php:1563 | 6 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/lib/guzzlehttp/guzzle/src/Exception/BadResponseException.php:11 | 6 | - Forgotten Interface
- Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/lib/guzzlehttp/guzzle/src/Exception/BadResponseException.php:34 | 6 | - Useless Method
- Unused Public Methods
- Method Signature Must Be Compatible
- Relay Function
- Method Could Be Static
- Missing Some Returntype
|
/lib/guzzlehttp/guzzle/src/Exception/ConnectException.php:13 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/guzzlehttp/guzzle/src/Exception/RequestException.php:15 | 6 | - Forgotten Interface
- Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
|
/lib/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php:5 | 6 | - Repeated Interface
- Can't Throw Throwable
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:162 | 6 | - Assumptions
- Max Level Of Nesting
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/guzzlehttp/guzzle/src/Handler/StreamHandler.php:538 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/guzzlehttp/guzzle/src/Pool.php:111 | 6 | - Method Is Not An If
- Assumptions
- Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Useless Argument
|
/lib/htmlpurifier/HTMLPurifier.php:85 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Same Name For Property And Method
- Property Could Be Local
|
/lib/htmlpurifier/HTMLPurifier.php:266 | 6 | - Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Same Name For Property And Method
- Hidden Nullable Typehint
|
/lib/htmlpurifier/HTMLPurifier.php:291 | 6 | - Ambiguous Static
- Relay Function
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/htmlpurifier/HTMLPurifier/HTMLModule.php:280 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/htmlpurifier/HTMLPurifier/HTMLModule/Tidy.php:22 | 6 | - No Null For Index
- Property Used In One Method Only
- No Public Access
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/htmlpurifier/HTMLPurifier/Injector.php:253 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/htmlpurifier/HTMLPurifier/Injector.php:260 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/htmlpurifier/HTMLPurifier/Lexer/PH5P.php:3747 | 6 | - Use Positive Condition
- No Need For Else
- Empty Blocks
- Wrong Type With Call
- Randomly Sorted Arrays
- Drop Else After Return
|
/lib/htmlpurifier/HTMLPurifier/PropertyList.php:76 | 6 | - Method Is Not An If
- Unused Public Methods
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/installlib.php:62 | 6 | - Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
- list() May Omit Variables
- Preprocessable
|
/lib/laravel/serializable-closure/src/Support/ReflectionClosure.php:37 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/lti1p3/src/DeepLinkResources/Icon.php:13 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/DeepLinkResources/Icon.php:14 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/JwksEndpoint.php:11 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Empty Function
- Unfinished Object
|
/lib/lti1p3/src/LtiGrade.php:24 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- Null Or Boolean Arrays
- Useless Instructions
- Use ::Class Operator
- No Choice
|
/lib/lti1p3/src/LtiMessageLaunch.php:73 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/LtiServiceConnector.php:201 | 6 | - Undefined Properties
- Check JSON
- Useless Instructions
- Uses Default Values
- No Choice
- Useless Null Coalesce
|
/lib/lti1p3/src/ServiceRequest.php:47 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/lti1p3/src/ServiceRequest.php:49 | 6 | - No Null For Index
- Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- Wrong Type With Default
- Property Could Be Local
|
/lib/ltiprovider/src/OAuth/OAuthDataStore.php:14 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/lib/modinfolib.php:894 | 6 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Avoid Using stdClass
- Should Use Local Class
|
/lib/moodlelib.php:798 | 6 | - Test Then Cast
- No Need For Else
- Nested Ifthen
- Drop Else After Return
- Logical Should Use Symbolic Operators
- Use === null
|
/lib/moodlelib.php:1238 | 6 | - Wrong Argument Type
- Concat Empty String
- Wrong Type With Call
- Undefined Variable
- Useless Instructions
- Unused Returned Value
|
/lib/moodlelib.php:1438 | 6 | - Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
|
/lib/moodlelib.php:3535 | 6 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Avoid Using stdClass
- Undefined Classes
- Modified Typed Parameter
|
/lib/moodlelib.php:3783 | 6 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Too Many Local Variables
|
/lib/moodlelib.php:3794 | 6 | - Wrong Argument Type
- Empty Blocks
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/lib/moodlelib.php:6843 | 6 | - Don't Pollute Global Space
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/moodlelib.php:8794 | 6 | - Missing Assignation In Branches
- Nested Ifthen
- Switch To Switch
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/lib/moodlelib.php:8854 | 6 | - Missing Assignation In Branches
- Use Positive Condition
- Nested Ifthen
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/lib/moodlelib.php:9316 | 6 | - Buried Assignation
- Nested Ifthen
- No Hardcoded Path
- Iffectations
- Uses Default Values
- @ Operator
|
/lib/mustache/src/Mustache/Autoloader.php:25 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/lib/mustache/src/Mustache/Parser.php:73 | 6 | - Assumptions
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/mustache/src/Mustache/Parser.php:276 | 6 | - Method Is Not An If
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/lib/myprofilelib.php:74 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/lib/navigationlib.php:1088 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Variable
- Used Once Variables (In Scope)
- Indices Are Int Or String
|
/lib/navigationlib.php:2163 | 6 | - Undefined Properties
- Bail Out Early
- No Need For Else
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/lib/navigationlib.php:4175 | 6 | - Useless Referenced Argument
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Return
- Undefined Classes
|
/lib/navigationlib.php:4285 | 6 | - Ambiguous Static
- Insufficient Typehint
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/navigationlib.php:4328 | 6 | - Incompatible Signature Methods With Covariance
- Useless Referenced Argument
- Class-typed References
- Objects Don't Need References
- Useless Return
- Undefined Classes
|
/lib/navigationlib.php:5155 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/navigationlib.php:5313 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/lib/openspout/src/Writer/XLSX/Options/PageSetup.php:13 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- Undefined Interfaces
- StandaloneType True False Null
- Unfinished Object
|
/lib/outputcomponents.php:774 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/lib/outputcomponents.php:1127 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/outputcomponents.php:1383 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/outputcomponents.php:3668 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Use Positive Condition
- Iffectations
- Uses Default Values
- Strict Comparison With Booleans
|
/lib/outputcomponents.php:4920 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/lib/outputcomponents.php:4944 | 6 | - Don't Pollute Global Space
- Forgotten Interface
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
|
/lib/outputcomponents.php:5035 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/lib/outputcomponents.php:5057 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/lib/outputlib.php:68 | 6 | - Bail Out Early
- No Need For Else
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/lib/outputlib.php:741 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Iffectations
- Drop Else After Return
- Could Use self
|
/lib/outputlib.php:2390 | 6 | - Undefined Properties
- Check All Types
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/lib/outputrenderers.php:1298 | 6 | - Undefined Properties
- strpos() Too Much
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
- Else If Versus Elseif
|
/lib/outputrenderers.php:2791 | 6 | - Missing Assignation In Branches
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Preprocessable
|
/lib/outputrenderers.php:2886 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Used Once Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/lib/outputrequirementslib.php:727 | 6 | - strpos() Too Much
- Comparison Is Always The Same
- Nested Ifthen
- Uses Default Values
- Could Make A Function
- Else If Versus Elseif
|
/lib/pear/HTML/Common.php:307 | 6 | - Method Is Not An If
- Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm.php:1635 | 6 | - Ambiguous Static
- Useless Referenced Argument
- Unused Parameter
- Useless Argument
- Forgotten Visibility
- Undefined Classes
|
/lib/pear/HTML/QuickForm.php:1816 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Forgotten Visibility
- Undefined Classes
- Could Inject Parameter
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:92 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:268 | 6 | - Property Used In One Method Only
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:286 | 6 | - Property Used In One Method Only
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:350 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:356 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:368 | 6 | - Property Used In One Method Only
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:374 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:386 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:398 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/Renderer/Object.php:404 | 6 | - Ambiguous Visibilities
- Never Used Properties
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Unfinished Object
|
/lib/pear/HTML/QuickForm/advcheckbox.php:53 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/pear/HTML/QuickForm/file.php:49 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/lib/pear/HTML/QuickForm/file.php:334 | 6 | - Non Integer Nor String As Index
- Unsupported Types With Operators
- Buried Assignation
- No Need For Else
- Indices Are Int Or String
- Drop Else After Return
|
/lib/pear/HTML/QuickForm/html.php:53 | 6 | - Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/pear/HTML/QuickForm/select.php:53 | 6 | - Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/pear/PEAR.php:811 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Var Keyword
- Forgotten Visibility
- Undefined Classes
- Wrong Type With Default
|
/lib/php-css-parser/CSSList/Document.php:157 | 6 | - Unused Public Methods
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/php-di/php-di/src/Compiler/Compiler.php:81 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Resolver/FactoryResolver.php:37 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Resolver/ObjectCreator.php:37 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Used Once Variables (In Scope)
- Unfinished Object
- Property Could Be Local
|
/lib/php-di/php-di/src/Definition/Resolver/ObjectCreator.php:49 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- StandaloneType True False Null
- Missing Some Returntype
|
/lib/php-di/php-di/src/Definition/Source/AttributeBasedAutowiring.php:95 | 6 | - Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/php-jwt/src/JWT.php:50 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- No Public Access
- StandaloneType True False Null
- Unfinished Object
|
/lib/php-jwt/src/JWT.php:99 | 6 | - No Default For Referenced Parameter
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/composer/autoload_real.php:7 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Unfinished Object
- Property Could Be Local
|
/lib/phpspreadsheet/vendor/markbaker/matrix/classes/src/Operators/Multiplication.php:19 | 6 | - Ambiguous Static
- Undefined Classes
- No Return Used
- Could Inject Parameter
- Wrong Type With Default
- Never Called Parameter
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:4489 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Overwritten Literals
- Indices Are Int Or String
- Mismatched Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:4857 | 6 | - Assumptions
- Comparison Is Always The Same
- Bail Out Early
- No Need For Else
- Avoid Optional Properties
- Drop Else After Return
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5000 | 6 | - Assumptions
- Comparison Is Always The Same
- Bail Out Early
- No Need For Else
- Avoid Optional Properties
- Drop Else After Return
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php:5029 | 6 | - Assumptions
- Comparison Is Always The Same
- Bail Out Early
- No Need For Else
- Avoid Optional Properties
- Drop Else After Return
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php:96 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Useless Instructions
- Indices Are Int Or String
- No Choice
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:454 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:714 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:737 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:783 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:806 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php:829 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:1348 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php:1364 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:345 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:375 | 6 | - Unused Public Methods
- Ambiguous Static
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:405 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:420 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:435 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:450 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:465 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php:480 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef/RowColumnInformation.php:45 | 6 | - Mismatched Default Arguments
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php:1437 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Retyped Reference
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:39 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:55 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php:231 | 6 | - Unused Public Methods
- Relay Function
- Should Use Local Class
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/CellRange.php:106 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Method Signature Must Be Compatible
- Same Name For Property And Method
- Non Nullable Getters
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Html.php:517 | 6 | - Method Is Not An If
- Assumptions
- Unused Parameter
- Wrong Type With Default
- Modified Typed Parameter
- Retyped Reference
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php:221 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php:370 | 6 | - Assumptions
- Max Level Of Nesting
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php:469 | 6 | - Method Is Not An If
- Assumptions
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:1624 | 6 | - Buried Assignation
- Use Positive Condition
- Should Use Ternary Operator
- Iffectations
- Uses Default Values
- Could Make A Function
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php:279 | 6 | - Method Is Not An If
- Assumptions
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/DateFormatter.php:102 | 6 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Should Use Local Class
- Undefined Classes
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat/Wizard/NumberBase.php:15 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php:86 | 6 | - Property Used In One Method Only
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/CellIterator.php:36 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php:136 | 6 | - Use Named Boolean In Argument Definition
- Insufficient Typehint
- Should Use Local Class
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Style.php:595 | 6 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Workbook.php:151 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:503 | 6 | - Method Is Not An If
- Use Named Boolean In Argument Definition
- Insufficient Typehint
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
|
/lib/phpspreadsheet/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php:1367 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
/lib/phpunit/classes/advanced_testcase.php:639 | 6 | - strpos() Too Much
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Could Make A Function
|
/lib/phpunit/classes/base_testcase.php:133 | 6 | - Assumptions
- Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Undefined Classes
|
/lib/phpunit/classes/constraint_object_is_equal_with_exceptions.php:89 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Undefined Classes
- StandaloneType True False Null
- Wrong Type With Default
|
/lib/phpxmlrpc/Helper/Http.php:235 | 6 | - Missing Assignation In Branches
- Weak Type With Array
- Buried Assignation
- Iffectations
- Uses Default Values
- @ Operator
|
/lib/phpxmlrpc/Response.php:211 | 6 | - Method Is Not An If
- Unused Public Methods
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/lib/plist/classes/CFPropertyList/CFArray.php:285 | 6 | - Unused Public Methods
- PHP Native Class Type Compatibility
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/portfolio/formats/leap2a/lib.php:142 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Bail Out Early
- Indices Are Int Or String
|
/lib/portfolio/plugin.php:336 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/portfolio/plugin.php:349 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/portfolio/plugin.php:368 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/resourcelib.php:164 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Strpos()-like Comparison
- Uses Default Values
- Drop Else After Return
|
/lib/rsslib.php:173 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
|
/lib/scssphp/Compiler.php:4916 | 6 | - Max Level Of Nesting
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
|
/lib/scssphp/Compiler.php:5560 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/scssphp/Compiler.php:5627 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/scssphp/Node/Number.php:225 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/lib/setup.php:970 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/lib/setuplib.php:323 | 6 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/setuplib.php:341 | 6 | - Incompatible Signature Methods With Covariance
- Forgotten Visibility
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/setuplib.php:983 | 6 | - False To Array Conversion
- strpos() Too Much
- Bail Out Early
- No Need For Else
- Uses Default Values
- Drop Else After Return
|
/lib/simplepie/src/Content/Type/Sniffer.php:230 | 6 | - Don't Read And Write In One Expression
- Buried Assignation
- Bail Out Early
- No Need For Else
- Iffectations
- Drop Else After Return
|
/lib/simplepie/src/Content/Type/Sniffer.php:236 | 6 | - Don't Read And Write In One Expression
- Buried Assignation
- No Need For Else
- Iffectations
- Could Make A Function
- Drop Else After Return
|
/lib/simplepie/src/Gzdecode.php:307 | 6 | - Wrong Type For Native PHP Function
- Bail Out Early
- No Need For Else
- Useless Parenthesis
- Could Make A Function
- Drop Else After Return
|
/lib/simplepie/src/SimplePie.php:424 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/lib/simplepie/src/SimplePie.php:1382 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Relay Function
- Mismatched Default Arguments
- Undefined Classes
|
/lib/simplepie/src/SimplePie.php:1454 | 6 | - Unused Public Methods
- Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/lib/tablelib.php:1052 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/lib/tablelib.php:1443 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Use === null
|
/lib/tcpdf/include/tcpdf_fonts.php:625 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Overwritten Literals
- Undefined Variable
- Indices Are Int Or String
|
/lib/tcpdf/include/tcpdf_fonts.php:1094 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Overwritten Literals
- Undefined Variable
- Indices Are Int Or String
|
/lib/tcpdf/include/tcpdf_fonts.php:1525 | 6 | - Buried Assignation
- Uses Default Values
- Preprocessable
- Could Use __DIR__
- Logical Should Use Symbolic Operators
- Use Constant Instead Of Function
|
/lib/tcpdf/include/tcpdf_fonts.php:2565 | 6 | - False To Array Conversion
- Null Or Boolean Arrays
- Uses Default Values
- Strict Comparison With Booleans
- Else If Versus Elseif
- Logical Should Use Symbolic Operators
|
/lib/tcpdf/include/tcpdf_images.php:214 | 6 | - False To Array Conversion
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/lib/tcpdf/tcpdf.php:21655 | 6 | - No Null For Native PHP Functions
- Wrong Type For Native PHP Function
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
- Preprocessable
|
/lib/tcpdf/tcpdf_barcodes_1d.php:128 | 6 | - Weak Type With Array
- Check Division By Zero
- Don't Collect Void
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
|
/lib/tcpdf/tcpdf_barcodes_1d.php:155 | 6 | - Weak Type With Array
- Check Division By Zero
- Don't Collect Void
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
|
/lib/tcpdf/tcpdf_barcodes_1d.php:220 | 6 | - Weak Type With Array
- Check Division By Zero
- Don't Collect Void
- Useless Parenthesis
- Uses Default Values
- Could Make A Function
|
/lib/tcpdf/tcpdf_parser.php:310 | 6 | - Weak Type With Array
- Too Many Array Dimensions
- Used Once Variables
- Used Once Variables (In Scope)
- Uses Default Values
- Should Typecast
|
/lib/testing/classes/util.php:34 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/lib/testing/generator/component_generator_base.php:69 | 6 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
|
/lib/testing/generator/data_generator.php:899 | 6 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/testing/lib.php:289 | 6 | - Merge If Then
- Nested Ifthen
- Written Only Variables
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
|
/lib/tests/accesslib_test.php:937 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/lib/tests/external/check/get_result_admintree_test.php:150 | 6 | - Variable Is Not A Condition
- Cast To Boolean
- Return True False
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/lib/tests/external/moodlenet_get_share_info_activity_test.php:138 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Could Make A Function
|
/lib/tests/fixtures/testable_encryption.php:28 | 6 | - Useless Method
- Ambiguous Static
- Relay Function
- Mismatched Default Arguments
- StandaloneType True False Null
- Missing Some Returntype
|
/lib/tests/modinfolib_test.php:626 | 6 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/lib/tests/moodle_page_test.php:897 | 6 | - Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/lib/tests/moodlelib_test.php:1552 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Unused Returned Value
- Could Make A Function
|
/lib/tests/moodlelib_test.php:2153 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Indices Are Int Or String
- Could Make A Function
|
/lib/tests/navigationlib_test.php:724 | 6 | - Undefined Classes
- Parent First
- Wrong Type With Default
- Modified Typed Parameter
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/tests/other/todochecker.php:50 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Uses Default Values
|
/lib/tests/other/todochecker.php:159 | 6 | - strpos() Too Much
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Could Make A Function
|
/lib/tests/performance/filtersettingsperformancetester.php:133 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/lib/tests/task/database_logger_test.php:280 | 6 | - Wrong Argument Type
- Timestamp Difference
- Useless Parenthesis
- Wrong Type With Call
- Unused Returned Value
- Preprocessable
|
/lib/tests/task/database_logger_test.php:302 | 6 | - Wrong Argument Type
- Timestamp Difference
- Useless Parenthesis
- Wrong Type With Call
- Unused Returned Value
- Preprocessable
|
/lib/tests/task/database_logger_test.php:455 | 6 | - Wrong Argument Type
- Timestamp Difference
- Useless Parenthesis
- Wrong Type With Call
- Unused Returned Value
- Preprocessable
|
/lib/tests/upgradelib_test.php:136 | 6 | - Weak Type With Array
- Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Unused Returned Value
- Could Make A Function
|
/lib/upgradelib.php:1764 | 6 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/upgradelib.php:2607 | 6 | - Comparison Is Always The Same
- Merge If Then
- Logical Mistakes
- Undefined Variable
- Uses Default Values
- Logical Should Use Symbolic Operators
|
/lib/validateurlsyntax.php:188 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:191 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:194 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:197 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:203 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:206 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:212 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:221 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:224 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:227 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:396 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:399 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:402 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:405 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:411 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:417 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:426 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:429 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:432 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:504 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:507 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:510 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:513 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:519 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:525 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:534 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:537 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/validateurlsyntax.php:540 | 6 | - Wrong Type For Native PHP Function
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Avoid Substr() One
- Preprocessable
|
/lib/weblib.php:232 | 6 | - Method Is Not An If
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
|
/lib/weblib.php:452 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/wiki_to_markdown.php:58 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Var Keyword
- Assign Default To Properties
- Forgotten Visibility
|
/lib/xapi/classes/iri.php:72 | 6 | - Ambiguous Static
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Missing Some Returntype
|
/lib/xhprof/xhprof_lib/display/xhprof.php:58 | 6 | - Don't Pollute Global Space
- No Class In Global
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/lib/xhprof/xhprof_lib/display/xhprof.php:835 | 6 | - Avoid Parenthesis With Language Construct
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1083 | 6 | - Mixed Concat And Interpolation
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1084 | 6 | - Mixed Concat And Interpolation
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1107 | 6 | - Avoid Parenthesis With Language Construct
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1116 | 6 | - Avoid Parenthesis With Language Construct
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1134 | 6 | - Avoid Parenthesis With Language Construct
- Undefined Variable
- Uses Default Values
- Could Make A Function
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_lib/display/xhprof.php:1173 | 6 | - Mixed Concat And Interpolation
- Avoid Parenthesis With Language Construct
- Undefined Variable
- Used Once Variables
- Echo With Concat
- No Parenthesis For Language Construct
|
/lib/xhprof/xhprof_moodle.php:457 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
|
/lib/xhprof/xhprof_moodle.php:644 | 6 | - Weak Type With Array
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Undefined Variable
- Drop Else After Return
|
/lib/xmldb/xmldb_table.php:530 | 6 | - Missing Assignation In Branches
- Use Positive Condition
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Else If Versus Elseif
|
/lib/zipstream/src/File.php:25 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Scalar Or Object Property
- Assign Default To Properties
- Undefined Interfaces
- Wrong Type With Default
|
/lib/zipstream/src/ZipStream.php:211 | 6 | - Property Used In One Method Only
- Used Once Variables (In Scope)
- Undefined Class Constants
- Undefined Interfaces
- Wrong Type With Default
- Property Could Be Local
|
/login/change_password_form.php:104 | 6 | - Wrong Argument Type
- Buried Assignation
- Written Only Variables
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
|
/login/lib.php:413 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/media/classes/manager.php:111 | 6 | - Ambiguous Static
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Same Name For Property And Method
- Hidden Nullable Typehint
|
/media/classes/player.php:242 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/media/player/videojs/classes/plugin.php:106 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Overwritten Literals
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
|
/message/classes/external/get_unread_notification_count.php:81 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/message/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/message/classes/search/base_message.php:144 | 6 | - Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
- Method Could Be Static
|
/message/classes/time_last_message_between_users.php:41 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/message/output/email/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/message/output/email/message_output_email.php:39 | 6 | - Mismatch Parameter Name
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Forgotten Visibility
- Undefined Classes
- Method Could Be Static
|
/message/output/popup/externallib.php:229 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/message/tests/inbound_test.php:650 | 6 | - Useless Method
- Ambiguous Static
- Relay Function
- Undefined Classes
- No Return Used
- Method Could Be Static
|
/message/tests/messagelib_test.php:37 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/mnet/service/enrol/index.php:55 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/mnet/xmlrpc/serverlib.php:248 | 6 | - Don't Pollute Global Space
- Max Level Of Nesting
- No Class In Global
- Too Many Local Variables
- Useless Argument
- Undefined Classes
|
/mod/assign/assignmentplugin.php:117 | 6 | - Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/assignmentplugin.php:273 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/assignmentplugin.php:551 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/classes/cache/overrides.php:41 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/mod/assign/classes/privacy/provider.php:48 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/externallib.php:1658 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/assign/externallib.php:2868 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/assign/feedback/comments/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/feedback/editpdf/classes/privacy/provider.php:45 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/feedback/editpdf/fpdi/Tcpdf/Fpdi.php:232 | 6 | - Method Signature Must Be Compatible
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Different Argument Counts
- Never Called Parameter
|
/mod/assign/feedback/editpdf/locallib.php:360 | 6 | - Unused Public Methods
- Mismatch Parameter Name
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Avoid Using stdClass
- Undefined Classes
|
/mod/assign/feedback/file/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/feedback/file/locallib.php:103 | 6 | - Use Positive Condition
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Null Or Boolean Arrays
- Drop Else After Return
|
/mod/assign/feedback/file/locallib.php:625 | 6 | - Missing Assignation In Branches
- Buried Assignation
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
- Else If Versus Elseif
|
/mod/assign/feedback/offline/importgradeslib.php:181 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/feedbackplugin.php:78 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/lib.php:234 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/lib.php:754 | 6 | - Don't Pollute Global Space
- No Class In Global
- Too Many Local Variables
- Useless Return
- Undefined Classes
- Never Called Parameter
|
/mod/assign/lib.php:1159 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Undefined Classes
- Could Inject Parameter
- Missing Some Returntype
|
/mod/assign/locallib.php:115 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Wrong Typed Property Default
|
/mod/assign/locallib.php:583 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/mod/assign/locallib.php:588 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/mod/assign/locallib.php:633 | 6 | - Don't Collect Void
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Switch To Switch
- Drop Else After Return
|
/mod/assign/locallib.php:6086 | 6 | - Missing Assignation In Branches
- Undefined Properties
- Use Positive Condition
- Nested Ifthen
- Uses Default Values
- Strict Comparison With Booleans
|
/mod/assign/locallib.php:9642 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Wrong Type Returned
|
/mod/assign/locallib.php:9804 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/mod/assign/overridedelete.php:26 | 6 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/mod/assign/overrideedit.php:26 | 6 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/mod/assign/overrides.php:26 | 6 | - Missing Include
- Uses Default Values
- include_once() Usage
- No Parenthesis For Language Construct
- Could Use __DIR__
- Use Constant Instead Of Function
|
/mod/assign/overrides.php:321 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/submission/comments/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/submission/file/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/submission/onlinetext/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/assign/submissionplugin.php:76 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/assign/submissionplugin.php:116 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
|
/mod/assign/submissionplugin.php:125 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Empty Function
|
/mod/assign/submissionplugin.php:146 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/assign/tests/externallib_test.php:1265 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/externallib_test.php:1795 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/externallib_test.php:1814 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/externallib_test.php:1875 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/fixtures/testable_assign.php:100 | 6 | - Unused Public Methods
- Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/mod/assign/tests/locallib_test.php:109 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:142 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:262 | 6 | - Wrong Argument Type
- Useless Parenthesis
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/mod/assign/tests/locallib_test.php:2522 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2530 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2553 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2557 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2560 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2625 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2633 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2644 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2648 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2651 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2663 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2672 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2699 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2715 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2742 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:2758 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:3029 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:3440 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/assign/tests/locallib_test.php:3447 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/bigbluebuttonbn/classes/local/extension/mod_form_addons.php:79 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Class-typed References
- Should Make Alias
- Avoid Using stdClass
- Objects Don't Need References
|
/mod/bigbluebuttonbn/classes/local/extension/mod_instance_helper.php:50 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Unreachable Method
|
/mod/bigbluebuttonbn/classes/local/helpers/roles.php:95 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/bigbluebuttonbn/classes/local/helpers/roles.php:164 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/mod/bigbluebuttonbn/classes/local/helpers/roles.php:189 | 6 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- Undefined Classes
- StandaloneType True False Null
|
/mod/bigbluebuttonbn/lib.php:308 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Useless Argument
|
/mod/bigbluebuttonbn/mod_form.php:460 | 6 | - Assumptions
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Modified Typed Parameter
|
/mod/bigbluebuttonbn/mod_form.php:535 | 6 | - Assumptions
- Class-typed References
- Unused Parameter
- Objects Don't Need References
- Useless Argument
- Modified Typed Parameter
|
/mod/bigbluebuttonbn/tests/behat/behat_mod_bigbluebuttonbn.php:56 | 6 | - Method Is Not An If
- Unused Public Methods
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Interfaces
- Undefined Classes
|
/mod/bigbluebuttonbn/tests/fixtures/extension/simple/classes/bigbluebuttonbn/mod_form_addons.php:48 | 6 | - Method Is Not An If
- Assumptions
- Unused Parameter
- Should Use Local Class
- StandaloneType True False Null
- Method Could Be Static
|
/mod/book/tool/importhtml/import_form.php:80 | 6 | - Buried Assignation
- Written Only Variables
- Iffectations
- Used Once Variables
- Used Once Variables (In Scope)
- Else If Versus Elseif
|
/mod/book/tool/importhtml/locallib.php:166 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/book/tool/print/classes/output/print_book_page.php:80 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/chat/classes/external.php:174 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Buried Assignation
- Null Or Boolean Arrays
- Undefined Variable
- Iffectations
|
/mod/chat/classes/external.php:273 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Buried Assignation
- Null Or Boolean Arrays
- Undefined Variable
- Iffectations
|
/mod/chat/classes/external.php:356 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Buried Assignation
- Null Or Boolean Arrays
- Undefined Variable
- Iffectations
|
/mod/chat/gui_header_js/chatinput.php:36 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/chat/report.php:109 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Buried Assignation
- Use Positive Condition
- Wrong Type With Call
- Iffectations
|
/mod/chat/view.php:147 | 6 | - Wrong Argument Type
- Mixed Concat And Interpolation
- Wrong Type With Call
- Common Alternatives
- Undefined Variable
- Unused Returned Value
|
/mod/choice/lib.php:1179 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/data/classes/external.php:989 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/data/classes/output/presets.php:138 | 6 | - Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- StandaloneType True False Null
|
/mod/data/classes/template.php:568 | 6 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/mod/data/classes/template.php:583 | 6 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/mod/data/classes/template.php:674 | 6 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Avoid Using stdClass
- Used Once Variables (In Scope)
- Useless Argument
- Missing Some Returntype
|
/mod/data/classes/template.php:721 | 6 | - Use Named Boolean In Argument Definition
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Method Could Be Static
|
/mod/data/field/picture/field.class.php:256 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/mod/data/lib.php:2766 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/mod/data/lib.php:4236 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/data/tests/entries_export_test.php:199 | 6 | - Undefined Properties
- Fn Argument Variable Confusion
- Wrong Number Of Arguments
- Empty Function
- Uses Default Values
- Undefined Classes
|
/mod/feedback/analysis_to_excel.php:95 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Could Make A Function
- Should Typecast
- Preprocessable
|
/mod/feedback/classes/external.php:450 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:547 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:615 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/external.php:740 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/feedback/classes/form/create_template_form.php:62 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/mod/feedback/classes/form/use_template_form.php:57 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/mod/feedback/item/label/lib.php:234 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- No Boolean As Default
- Empty Function
- Undefined Classes
|
/mod/feedback/lib.php:1886 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- StandaloneType True False Null
- Modified Typed Parameter
|
/mod/feedback/lib.php:2335 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/feedback/lib.php:2372 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/feedback/lib.php:3156 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/folder/lib.php:327 | 6 | - Using Deprecated Method
- Wrong Argument Type
- Mixed Concat And Interpolation
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/mod/forum/classes/local/exporters/post.php:635 | 6 | - Unused Parameter
- Wrong Number Of Arguments
- Uses Default Values
- Undefined Classes
- Unused Inherited Variable In Closure
- Could Inject Parameter
|
/mod/forum/classes/local/vaults/discussion_list.php:363 | 6 | - Use Named Boolean In Argument Definition
- Should Use Local Class
- Useless Argument
- Undefined Classes
- StandaloneType True False Null
- Method Could Be Static
|
/mod/forum/classes/message/inbound/reply_handler.php:104 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/forum/classes/potential_subscriber_selector.php:156 | 6 | - Unused Public Methods
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
|
/mod/forum/classes/privacy/provider.php:48 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/forum/classes/privacy/provider.php:985 | 6 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
|
/mod/forum/classes/privacy/provider.php:1044 | 6 | - Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- No Return Used
|
/mod/forum/classes/privacy/provider.php:1143 | 6 | - Undefined Properties
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/forum/classes/task/cron_task.php:432 | 6 | - Buried Assignation
- Nested Ifthen
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
- Logical Should Use Symbolic Operators
|
/mod/forum/externallib.php:677 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/mod/forum/externallib.php:1264 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Could Make A Function
- list() May Omit Variables
|
/mod/forum/externallib.php:1269 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Could Make A Function
|
/mod/forum/lib.php:6380 | 6 | - Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
|
/mod/forum/mod_form.php:174 | 6 | - Wrong Argument Type
- Wrong Type With Call
- No Hardcoded Hash
- Could Make A Function
- Multiply By One
- Preprocessable
|
/mod/forum/post.php:240 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/forum/rsslib.php:355 | 6 | - Missing Assignation In Branches
- Unsupported Types With Operators
- Variable Is Not A Condition
- Nested Ifthen
- Undefined Variable
- Else If Versus Elseif
|
/mod/forum/subscribe.php:95 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
- Logical Should Use Symbolic Operators
- Use === null
|
/mod/forum/subscribers.php:145 | 6 | - Method Is Not An If
- Assumptions
- Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
|
/mod/glossary/classes/local/concept_cache.php:53 | 6 | - Ambiguous Static
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Never Called Parameter
|
/mod/glossary/classes/output/standard_action_bar.php:207 | 6 | - Wrong Argument Type
- Identical Consecutive Expression
- Wrong Type With Call
- Indices Are Int Or String
- Could Make A Function
- New Object Then Immediate Call
|
/mod/glossary/classes/privacy/provider.php:331 | 6 | - Undefined Properties
- Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/glossary/lib.php:4472 | 6 | - Wrong Argument Type
- Merge If Then
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/glossary/view.php:344 | 6 | - Wrong Argument Type
- Merge If Then
- Variable Is Not A Condition
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/h5pactivity/classes/output/result.php:259 | 6 | - Ambiguous Static
- Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- Method Could Be Static
- Missing Some Returntype
|
/mod/h5pactivity/classes/output/result.php:279 | 6 | - Avoid Using stdClass
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/h5pactivity/lib.php:222 | 6 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Could Inject Parameter
- Wrong Type With Default
|
/mod/h5pactivity/lib.php:318 | 6 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Wrong Type With Default
|
/mod/h5pactivity/lib.php:573 | 6 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Useless Argument
- Undefined Classes
|
/mod/h5pactivity/lib.php:740 | 6 | - Double Checks
- Assumptions
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- Avoid Using stdClass
|
/mod/h5pactivity/tests/external/get_results_test.php:97 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Indices Are Int Or String
- Useless Null Coalesce
|
/mod/h5pactivity/tests/external/log_report_viewed.php:86 | 6 | - Non Integer Nor String As Index
- Weak Type With Array
- Unsupported Types With Operators
- Undefined Properties
- Indices Are Int Or String
- Useless Null Coalesce
|
/mod/lesson/classes/cache/overrides.php:41 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/mod/lesson/classes/external.php:555 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:638 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:749 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:819 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:902 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1719 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/external.php:1837 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/lesson/classes/privacy/provider.php:54 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/lesson/continue.php:107 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Echo With Concat
|
/mod/lesson/index.php:52 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Used Once Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/lesson.php:66 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/mod/lesson/lib.php:906 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/lib.php:1112 | 6 | - Buried Assignation
- Written Only Variables
- Undefined Variable
- Iffectations
- Used Once Variables (In Scope)
- Use ::Class Operator
|
/mod/lesson/lib.php:1628 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/lesson/locallib.php:2666 | 6 | - Undefined Properties
- Bail Out Early
- No Need For Else
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/mod/lesson/mod_form.php:261 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/pagetypes/cluster.php:181 | 6 | - Undefined Properties
- Wrong Argument Type
- Identical Consecutive Expression
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/pagetypes/endofbranch.php:206 | 6 | - Undefined Properties
- Wrong Argument Type
- Identical Consecutive Expression
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/pagetypes/endofcluster.php:176 | 6 | - Undefined Properties
- Wrong Argument Type
- Identical Consecutive Expression
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/report.php:230 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Common Alternatives
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/tests/external/external_test.php:398 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/view.php:161 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/mod/lesson/view.php:246 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/lti/OAuth.php:237 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/mod/lti/OAuth.php:247 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/mod/lti/OAuth.php:747 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/mod/lti/OAuth.php:759 | 6 | - Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Forgotten Visibility
- Undefined Classes
- Unreachable Method
|
/mod/lti/classes/local/ltiservice/service_base.php:236 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/lti/classes/privacy/provider.php:240 | 6 | - Undefined Properties
- Wrong Argument Type
- Bail Out Early
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/mod/lti/edit_form.php:373 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/mod/lti/locallib.php:3192 | 6 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Wrong Type With Default
|
/mod/lti/locallib.php:4251 | 6 | - Missing Assignation In Branches
- Unsupported Types With Operators
- Variable Is Not A Condition
- Nested Ifthen
- Uses Default Values
- Else If Versus Elseif
|
/mod/quiz/accessrule/seb/classes/local/table/template_list.php:54 | 6 | - Incompatible Signature Methods With Covariance
- Undefined Classes
- Parent First
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
|
/mod/quiz/accessrule/seb/rule.php:504 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/mod/quiz/accessrule/seb/rule.php:531 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/quiz/accessrule/seb/settings.php:36 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/mod/quiz/classes/cache/overrides.php:41 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/mod/quiz/classes/external.php:518 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/external.php:1922 | 6 | - Weak Type With Array
- Scalar Are Not Arrays
- False To Array Conversion
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/quiz/classes/local/access_rule_base.php:307 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/quiz/lib.php:2265 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/quiz/report/statistics/report.php:521 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Repeated print()
|
/mod/quiz/report/statistics/statisticslib.php:79 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Undefined Classes
- Never Called Parameter
|
/mod/quiz/report/statistics/tests/statistics_test.php:162 | 6 | - Weak Type With Array
- False To Array Conversion
- Useless Parenthesis
- Written Only Variables
- Iffectations
- Used Once Variables (In Scope)
|
/mod/quiz/tests/privacy_legacy_quizaccess_polyfill_test.php:112 | 6 | - Repeated Interface
- Abstract Or Implements
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/quiz/tests/repaginate_test.php:46 | 6 | - Useless Method
- Relay Function
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/quiz/tests/repaginate_test.php:49 | 6 | - Useless Method
- Relay Function
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/mod/resource/lib.php:455 | 6 | - Using Deprecated Method
- Wrong Argument Type
- Mixed Concat And Interpolation
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
|
/mod/scorm/classes/cache/elements.php:32 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/mod/scorm/lib.php:1770 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Useless Argument
- Undefined Classes
- Memoize MagicCall
|
/mod/scorm/locallib.php:1227 | 6 | - Bail Out Early
- No Need For Else
- Same Conditions In Condition
- Nested Ifthen
- Could Be Spaceship
- Drop Else After Return
|
/mod/scorm/tests/formatduration_test.php:62 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Used Once Variables (In Scope)
- Uses Default Values
- Could Make A Function
|
/mod/survey/graph.php:109 | 6 | - Wrong Type For Native PHP Function
- Wrong Argument Type
- Wrong Type With Call
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
|
/mod/survey/graph.php:183 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- One Variable String
- Could Make A Function
|
/mod/wiki/classes/external.php:882 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Use Positive Condition
- Should Use Ternary Operator
- Null Or Boolean Arrays
- Use === null
|
/mod/wiki/classes/external.php:978 | 6 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Use Positive Condition
- Nested Ifthen
- Null Or Boolean Arrays
|
/mod/wiki/classes/external.php:1144 | 6 | - Missing Assignation In Branches
- Scalar Are Not Arrays
- False To Array Conversion
- Use Positive Condition
- Null Or Boolean Arrays
- Use === null
|
/mod/wiki/create.php:74 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/wiki/diff/difflib.php:305 | 6 | - Empty Loop
- Empty Blocks
- Static Loop
- Pre-increment
- Could Make A Function
- Avoid Substr() One
|
/mod/wiki/diff/difflib.php:380 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Used Once Property
- Var Keyword
- Forgotten Visibility
- Undefined Classes
|
/mod/wiki/editors/wikieditor.php:33 | 6 | - Don't Pollute Global Space
- Trait Not Found
- Already Parents Trait
- No Class In Global
- Multiple Identical Trait Or Interface
- Class Could Be Final
|
/mod/wiki/locallib.php:661 | 6 | - Use Instanceof
- Check All Types
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/mod/wiki/pagelib.php:440 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Could Make A Function
- Echo With Concat
|
/mod/workshop/assessment.php:92 | 6 | - Missing Assignation In Branches
- Unsupported Types With Operators
- Variable Is Not A Condition
- Nested Ifthen
- Logical Should Use Symbolic Operators
- Use === null
|
/mod/workshop/backup/moodle1/lib.php:338 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Unreachable Method
- Method Could Be Static
|
/mod/workshop/classes/external.php:486 | 6 | - Scalar Are Not Arrays
- False To Array Conversion
- Null Or Boolean Arrays
- Written Only Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/mod/workshop/classes/privacy/provider.php:48 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/mod/workshop/eval/lib.php:70 | 6 | - Unused Public Methods
- Ambiguous Static
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/mod/workshop/index.php:89 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/mod/workshop/lib.php:349 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Use ::Class Operator
- Could Make A Function
|
/mod/workshop/lib.php:585 | 6 | - Wrong Argument Type
- Return True False
- Should Use Ternary Operator
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/mod/workshop/lib.php:599 | 6 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/workshop/lib.php:600 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/lib.php:638 | 6 | - Wrong Argument Type
- Return True False
- Should Use Ternary Operator
- Wrong Type With Call
- Undefined Variable
- Could Make A Function
|
/mod/workshop/lib.php:652 | 6 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/workshop/lib.php:653 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/lib.php:800 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/workshop/lib.php:801 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- Could Make A Function
|
/mod/workshop/lib.php:843 | 6 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/workshop/lib.php:844 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/lib.php:896 | 6 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/workshop/lib.php:897 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/lib.php:934 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
- Preprocessable
|
/mod/workshop/lib.php:1150 | 6 | - Don't Pollute Global Space
- No Class In Global
- Avoid Using stdClass
- Undefined Classes
- Wrong Type With Default
- Never Called Parameter
|
/mod/workshop/lib.php:1325 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Use Positive Condition
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
|
/mod/workshop/locallib.php:4228 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/mod/workshop/locallib.php:4297 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/mod/workshop/locallib.php:4539 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/mod/workshop/locallib.php:4556 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/mod/workshop/renderer.php:1085 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Use === null
|
/mod/workshop/renderer.php:1086 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Use === null
|
/mod/workshop/renderer.php:1124 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Use === null
|
/mod/workshop/renderer.php:1128 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Use === null
|
/mod/workshop/submission.php:312 | 6 | - Wrong Argument Type
- Variable Is Not A Condition
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/submission.php:339 | 6 | - Wrong Argument Type
- Merge If Then
- Bail Out Early
- Wrong Type With Call
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/mod/workshop/switchphase.php:74 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Repeated print()
|
/mod/workshop/tests/fixtures/testable.php:37 | 6 | - Relay Function
- Mismatched Default Arguments
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/privacy/classes/local/request/helper.php:262 | 6 | - Unused Parameter
- Avoid Using stdClass
- Insufficient Typehint
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
|
/privacy/classes/local/request/writer.php:38 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/question/bank/columnsortorder/classes/column_manager.php:105 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
|
/question/bank/deletequestion/classes/plugin_feature.php:53 | 6 | - Unused Public Methods
- Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/question/bank/deletequestion/delete.php:66 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Logical Should Use Symbolic Operators
|
/question/bank/deletequestion/delete.php:78 | 6 | - Wrong Argument Type
- Buried Assignation
- Nested Ifthen
- Wrong Type With Call
- Iffectations
- Could Make A Function
|
/question/bank/editquestion/classes/edit_action.php:88 | 6 | - Wrong Argument Type
- Bail Out Early
- No Need For Else
- Wrong Type With Call
- Could Make A Function
- Drop Else After Return
|
/question/bank/exporttoxml/lib.php:35 | 6 | - Double Checks
- Don't Pollute Global Space
- No Class In Global
- Unused Parameter
- Used Once Variables (In Scope)
- Missing Some Returntype
|
/question/bank/managecategories/classes/helper.php:298 | 6 | - Max Level Of Nesting
- Use Named Boolean In Argument Definition
- No Boolean As Default
- Too Many Local Variables
- Wrong Type With Default
- Unreachable Method
|
/question/bank/managecategories/classes/plugin_feature.php:40 | 6 | - Undefined Classes
- Could Inject Parameter
- Wrong Type With Default
- Unreachable Method
- Method Could Be Static
- Hidden Nullable Typehint
|
/question/bank/previewquestion/preview.php:67 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Wrong Type With Call
- Iffectations
- Could Make A Function
- Else If Versus Elseif
|
/question/bank/previewquestion/preview.php:174 | 6 | - Missing Assignation In Branches
- Wrong Argument Type
- Nested Ifthen
- Wrong Type With Call
- Could Make A Function
- Else If Versus Elseif
|
/question/behaviour/behaviourbase.php:578 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/question/behaviour/informationitem/behaviour.php:90 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Wrong Type With Call
- Use ::Class Operator
- Drop Else After Return
|
/question/classes/local/bank/plugin_features_base.php:114 | 6 | - Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/question/classes/privacy/provider.php:49 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/question/engine/questionattemptstep.php:629 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/states.php:261 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/question/engine/tests/helpers.php:795 | 6 | - Ambiguous Visibilities
- Assign Default To Properties
- StandaloneType True False Null
- Unfinished Object
- Mismatch Properties Typehints
- Wrong Typed Property Default
|
/question/format/blackboard_six/format.php:217 | 6 | - Wrong Argument Type
- Don't Mix ++
- Wrong Type With Call
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/calculated/questiontype.php:1212 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/calculatedmulti/question.php:40 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/calculatedmulti/question.php:90 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/calculatedsimple/questiontype.php:252 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/ddimageortext/questionbase.php:38 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Could Be Abstract Class
|
/question/type/ddmarker/question.php:38 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/ddmarker/question.php:188 | 6 | - Weak Type With Array
- array_key_exists() Works On Arrays
- Wrong Type For Native PHP Function
- Bail Out Early
- Suspicious Comparison
- Uses Default Values
|
/question/type/ddwtos/question.php:37 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/essay/edit_essay_form.php:64 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/essay/edit_essay_form.php:74 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/missingtype/questiontype.php:92 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/question/type/multianswer/db/upgradelib.php:163 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Switch To Switch
- Could Make A Function
- Drop Else After Return
|
/question/type/multianswer/question.php:43 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/questionbase.php:887 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Useless Abstract Class
- Already Parents Interface
|
/question/type/randomsamatch/question.php:36 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/shortanswer/question.php:37 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/truefalse/question.php:37 | 6 | - Don't Pollute Global Space
- Repeated Interface
- No Class In Global
- Multiple Identical Trait Or Interface
- Already Parents Interface
- Class Could Be Final
|
/question/type/truefalse/question.php:72 | 6 | - Wrong Argument Type
- No Need For Else
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Drop Else After Return
|
/rating/classes/privacy/provider.php:195 | 6 | - Ambiguous Static
- Insufficient Typehint
- Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/rating/lib.php:538 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Written Only Variables
- Used Once Variables
- Used Once Variables (In Scope)
- list() May Omit Variables
|
/report/configlog/classes/reportbuilder/local/systemreports/config_changes.php:93 | 6 | - Useless Coalesce
- Useless Short Ternary
- Wrong Argument Type
- Variable Is Not A Condition
- Wrong Type With Call
- Wrong Type Returned
|
/report/log/classes/table_log.php:97 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/reportbuilder/classes/local/helpers/database.php:136 | 6 | - Should Use Local Class
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
- Never Called Parameter
- Missing Some Returntype
|
/reportbuilder/classes/local/helpers/schedule.php:49 | 6 | - Ambiguous Static
- Avoid Using stdClass
- Mismatched Default Arguments
- StandaloneType True False Null
- Could Inject Parameter
- Never Called Parameter
|
/reportbuilder/classes/privacy/provider.php:48 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/reportbuilder/classes/system_report.php:298 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Missing Some Returntype
|
/reportbuilder/classes/system_report.php:308 | 6 | - Unused Public Methods
- Unused Parameter
- Avoid Using stdClass
- Should Use Local Class
- Used Once Variables (In Scope)
- Empty Function
|
/repository/draftfiles_ajax.php:312 | 6 | - False To Array Conversion
- Wrong Argument Type
- Wrong Type With Call
- Null Or Boolean Arrays
- Use ::Class Operator
- Could Make A Function
|
/repository/filepicker.php:360 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
- Echo With Concat
|
/repository/filesystem/lib.php:325 | 6 | - Wrong Argument Type
- Buried Assignation
- Wrong Type With Call
- Iffectations
- Uses Default Values
- @ Operator
|
/repository/filesystem/lib.php:756 | 6 | - Missing Assignation In Branches
- Iffectations
- Strpos()-like Comparison
- Uses Default Values
- @ Operator
- Could Make A Function
|
/repository/flickr/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/repository/googledocs/classes/local/node/file_node.php:122 | 6 | - Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/repository/googledocs/classes/local/node/file_node.php:155 | 6 | - Avoid Using stdClass
- Should Use Local Class
- Useless Argument
- StandaloneType True False Null
- Method Could Be Static
- Missing Some Returntype
|
/repository/lib.php:230 | 6 | - Variable Is Not A Condition
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Nested Ifthen
- Drop Else After Return
|
/repository/lib.php:1857 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/repository/lib.php:1975 | 6 | - Bail Out Early
- No Need For Else
- Nested Ifthen
- Iffectations
- Use ::Class Operator
- Drop Else After Return
|
/repository/lib.php:2162 | 6 | - Wrong Type For Native PHP Function
- Wrong Parameter Type
- Uses Default Values
- Could Make A Function
- Strict Comparison With Booleans
- Logical Should Use Symbolic Operators
|
/repository/lib.php:2538 | 6 | - Wrong Argument Type
- Don't Collect Void
- Wrong Type With Call
- Use ::Class Operator
- Could Make A Function
- Wrong Type Returned
|
/repository/manage_instances.php:209 | 6 | - Undefined Properties
- Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Use ::Class Operator
- Could Make A Function
|
/repository/nextcloud/lib.php:87 | 6 | - Property Used In One Method Only
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
- Property Could Be Local
|
/repository/onedrive/lib.php:259 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Undefined Variable
- Used Once Variables (In Scope)
- Use ::Class Operator
- Could Make A Function
|
/repository/repository_callback.php:70 | 6 | - Wrong Argument Type
- Check JSON
- Wrong Type With Call
- Uses Default Values
- Use ::Class Operator
- Could Make A Function
|
/repository/s3/S3.php:1829 | 6 | - Useless Referenced Argument
- Unused Parameter
- Illegal Name For Method
- Should Use Local Class
- Useless Argument
- Undefined Classes
|
/repository/s3/S3.php:2318 | 6 | - Undefined Properties
- Bail Out Early
- No Need For Else
- Uses Default Values
- Drop Else After Return
- Strict Comparison With Booleans
|
/repository/youtube/lib.php:257 | 6 | - Use Named Boolean In Argument Definition
- Method Signature Must Be Compatible
- No Boolean As Default
- Undefined Classes
- Different Argument Counts
- Method Could Be Static
|
/search/classes/manager.php:143 | 6 | - Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Same Name For Property And Method
- Unfinished Object
|
/search/classes/manager.php:1502 | 6 | - Use Named Boolean In Argument Definition
- No Boolean As Default
- Should Use Local Class
- Undefined Classes
- Could Inject Parameter
- Method Could Be Static
|
/search/engine/simpledb/classes/engine.php:286 | 6 | - Incompatible Signature Methods With Covariance
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Method Could Be Static
- Hidden Nullable Typehint
|
/search/engine/solr/classes/engine.php:1239 | 6 | - Unused Public Methods
- Incompatible Signature Methods With Covariance
- Ambiguous Static
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/tag/classes/privacy/provider.php:43 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/tag/classes/reportbuilder/local/systemreports/tags.php:140 | 6 | - Wrong Argument Type
- Timestamp Difference
- Wrong Type With Call
- Empty Function
- Undefined Classes
- Unused Returned Value
|
/tag/classes/tag.php:1052 | 6 | - Wrong Argument Type
- Wrong Type With Call
- Native Alias Functions Usage
- Unused Returned Value
- Could Make A Function
- Preprocessable
|
/theme/boost/classes/output/core_renderer.php:160 | 6 | - Undefined Properties
- Wrong Argument Type
- Modernize Empty With Expression
- Wrong Type With Call
- Overwritten Literals
- Could Make A Function
|
/theme/yui_combo.php:436 | 6 | - strpos() Too Much
- No Need For Else
- Nested Ifthen
- Uses Default Values
- Drop Else After Return
- Logical Should Use Symbolic Operators
|
/user/classes/fields.php:60 | 6 | - Property Used In One Method Only
- Ambiguous Static
- Ambiguous Visibilities
- Undefined Classes
- Wrong Type With Default
- Unfinished Object
|
/user/classes/privacy/provider.php:44 | 6 | - Repeated Interface
- Multiple Identical Trait Or Interface
- Class, Interface, Enum Or Trait With Identical Names
- Already Parents Interface
- Interfaces Is Not Implemented
- Class Could Be Final
|
/user/filters/lib.php:341 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/user/filters/lib.php:358 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/user/lib.php:1191 | 6 | - Bail Out Early
- No Need For Else
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
- Drop Else After Return
|
/user/profile/definelib.php:50 | 6 | - Useless Referenced Argument
- Unused Parameter
- Should Use Local Class
- Useless Argument
- Undefined Classes
- Method Could Be Static
|
/user/profile/definelib.php:171 | 6 | - Unused Public Methods
- Useless Referenced Argument
- Unused Parameter
- Used Once Variables (In Scope)
- Empty Function
- Undefined Classes
|
/user/profile/field/menu/field.class.php:93 | 6 | - Don't Read And Write In One Expression
- Buried Assignation
- Should Use Ternary Operator
- Iffectations
- Uses Default Values
- Strict Comparison With Booleans
|
/user/profile/field/social/define.class.php:58 | 6 | - Method Is Not An If
- Unused Public Methods
- Mismatch Parameter Name
- Useless Referenced Argument
- Undefined Classes
- Method Could Be Static
|
/user/profile/lib.php:806 | 6 | - Double Checks
- Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
|
/user/profile/lib.php:891 | 6 | - Don't Pollute Global Space
- Use Named Boolean In Argument Definition
- No Class In Global
- No Boolean As Default
- Avoid Using stdClass
- StandaloneType True False Null
|
/user/selector/lib.php:356 | 6 | - Unused Public Methods
- Unused Parameter
- Should Use Local Class
- Used Once Variables (In Scope)
- Undefined Classes
- Method Could Be Static
|
/webservice/classes/token_table.php:149 | 6 | - Method Is Not An If
- Unused Public Methods
- Avoid Using stdClass
- Should Use Local Class
- Method Could Be Static
- Missing Some Returntype
|
/webservice/lib.php:336 | 6 | - Wrong Argument Type
- Bail Out Early
- Wrong Type With Call
- Written Only Variables
- Undefined Variable
- Used Once Variables (In Scope)
|
/webservice/lib.php:1025 | 6 | - Wrong Argument Type
- Buried Assignation
- Modernize Empty With Expression
- Wrong Type With Call
- Iffectations
- Use ::Class Operator
|
/webservice/lib.php:1387 | 6 | - Method Is Not An If
- Unused Parameter
- Used Once Variables (In Scope)
- Undefined Classes
- Wrong Type With Default
- Hidden Nullable Typehint
|
/webservice/renderer.php:37 | 6 | - Useless Referenced Argument
- Unused Parameter
- Too Many Local Variables
- Should Use Local Class
- Undefined Classes
- Method Could Be Static
|
None:545 | 6 | - Unused Public Methods
- Useless Brackets
- Unused Global
- $this Belongs To Classes Or Traits
- Undefined Classes
- Global Usage
|
None:563 | 6 | - Undefined Properties
- Useless Brackets
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Uses Default Values
- Preprocessable
|
None:678 | 6 | - Maybe Missing New
- Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
|
None:821 | 6 | - Don't Pollute Global Space
- No Class In Global
- Maybe Missing New
- Empty Classes
- $this Belongs To Classes Or Traits
- Class Could Be Final
|
None:984 | 6 | - Undefined Properties
- Maybe Missing New
- Useless Brackets
- $this Belongs To Classes Or Traits
- Undefined Classes
- Unpreprocessed Values
|
None:1071 | 6 | - Useless Brackets
- Unused Global
- Parent, Static Or Self Outside Class
- $this Belongs To Classes Or Traits
- Preprocessable
- Logical Should Use Symbolic Operators
|