Showing 293 of 293 total issues
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Closing brace must be on a line by itself Open
Open
) {}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
throw new InvalidConfigException
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public bool $idPreassigned = false,
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
$this->getOtherGuidRules());
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
public ?string $createdAtAttribute = 'created_at',
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
throw new IntegrityException
- Exclude checks
Whitespace found at end of line Open
Open
*
- Exclude checks
The method composite_guid_strs is not named in camelCase. Open
Open
public static function composite_guid_strs($guids): string
{
if (!is_array($guids) || empty($guids)) {
return '';
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method divide_guid_strs is not named in camelCase. Open
Open
public static function divide_guid_strs($guids): array
{
if (!is_string($guids) || strlen($guids) == 0 || strlen($guids) % 36 > 0) {
return [];
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}