src/includes/polyfills.php
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class Kint
- Exclude checks
Each class must be in a namespace of at least one level (a top-level vendor name) Open
Open
class PC
- Exclude checks
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 7 and the first side effect is on line 69. Open
Open
<?php
- Exclude checks
Avoid classes with short names like PC. Configured minimum length is 3. Open
Open
class PC
{
public static function debug()
{
}
- Read upRead up
- Exclude checks
ShortClassName
Since: 2.9
Detects when classes or interfaces have a very short name.
Example
class Fo {
}
interface Fo {
}
Source https://phpmd.org/rules/naming.html#shortclassname
Each class must be in a file by itself Open
Open
class PC
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks