roelofr/laravel-encryption-cast

View on GitHub

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

Multiple consecutive blank lines
Open


Severity: Info
Found in README.md by markdownlint

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'
Severity: Info
Found in README.md by markdownlint

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
Severity: Info
Found in README.md by markdownlint

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>
Severity: Minor
Found in phpunit.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  </coverage>
Severity: Minor
Found in phpunit.xml by editorconfig

Unexpected trailing spaces found.
Open

            
Severity: Minor
Found in .github/workflows/test.yml by editorconfig

Unexpected additional newlines at the end of the file.
Open

Severity: Minor
Found in LICENSE.md by editorconfig

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 -->
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  </rule>
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 8 instead of at 6.
Open

      <property name="linesCountBetweenDescriptionAndAnnotations" type="int" value="0" />
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 8 instead of at 6.
Open

      <property name="linesCountAfterLastContent" type="int" value="0" />
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  `AustinHeapEncryptedAttribute`.
Severity: Minor
Found in README.md by editorconfig

Unexpected trailing spaces found.
Open

          
Severity: Minor
Found in .github/workflows/test.yml by editorconfig

Unexpected trailing spaces found.
Open

            
Severity: Minor
Found in .github/workflows/test.yml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <!-- Never use "else if". -->
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  </rule>
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses" />
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash" />
Severity: Minor
Found in phpcs.xml by editorconfig
Severity
Category
Status
Source
Language