Showing 98 of 98 total issues
Each class must be in a namespace of at least one level (a top-level vendor name) Open
class CreateDummyRowsTable extends Migration
- Exclude checks
Multiple consecutive blank lines Open
- Read upRead up
- Exclude checks
MD012 - Multiple consecutive blank lines
Tags: whitespace, blank_lines
Aliases: no-multiple-blanks
This rule is triggered when there are multiple consecutive blank lines in the document:
Some text here
Some more text here
To fix this, delete the offending lines:
Some text here
Some more text here
Note: this rule will not be triggered if there are multiple consecutive blank lines inside code blocks.
Line length Open
'date_of_birth' => \Roelofr\EncryptionCast\Casts\EncryptedAttribute::class . ':date'
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Line length Open
'medication' => \Roelofr\EncryptionCast\Casts\EncryptedAttribute::class . ':' . \App\Casts\MedicationCast::class
- Read upRead up
- Exclude checks
MD013 - Line length
Tags: line_length
Aliases: line-length Parameters: linelength, codeblocks, tables (number; default 80, boolean; default true)
This rule is triggered when there are lines that are longer than the configured line length (default: 80 characters). To fix this, split the line up into multiple lines.
This rule has an exception where there is no whitespace beyond the configured line length. This allows you to still include items such as long URLs without being forced to break them in the middle.
You also have the option to exclude this rule for code blocks and tables. To
do this, set the code_blocks
and/or tables
parameters to false.
Code blocks are included in this rule by default since it is often a requirement for document readability, and tentatively compatible with code rules. Still, some languages do not lend themselves to short lines.
Expected an indentation at 4 instead of at 2. Open
<testsuites>
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
</coverage>
- Exclude checks
Unexpected trailing spaces found. Open
- Exclude checks
Unexpected additional newlines at the end of the file. Open
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
<!-- We just use PSR-12, but need to modify two rules to work with Laravel -->
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
</rule>
- Exclude checks
Expected an indentation at 8 instead of at 6. Open
<property name="linesCountBetweenDescriptionAndAnnotations" type="int" value="0" />
- Exclude checks
Expected an indentation at 8 instead of at 6. Open
<property name="linesCountAfterLastContent" type="int" value="0" />
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
`AustinHeapEncryptedAttribute`.
- Exclude checks
Unexpected trailing spaces found. Open
- Exclude checks
Unexpected trailing spaces found. Open
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
<!-- Never use "else if". -->
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
</rule>
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses" />
- Exclude checks
Expected an indentation at 4 instead of at 2. Open
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash" />
- Exclude checks