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

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.

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.

Expected an indentation at 8 instead of at 6.
Open

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

Expected an indentation at 4 instead of at 2.
Open

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

Expected an indentation at 4 instead of at 2.
Open

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

Expected an indentation at 4 instead of at 2.
Open

  <!-- Directories -->
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 8 instead of at 6.
Open

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

Expected an indentation at 4 instead of at 2.
Open

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

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="SlevomatCodingStandard.Functions.DisallowEmptyFunction" />
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 8 instead of at 6.
Open

      <directory suffix="Test.php">./tests/Unit</directory>
Severity: Minor
Found in phpunit.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <!-- Ignore some dependency paths -->
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
Severity: Minor
Found in phpcs.xml by editorconfig

Expected an indentation at 4 instead of at 2.
Open

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

Expected an indentation at 4 instead of at 2.
Open

  <rule ref="SlevomatCodingStandard.Commenting.ForbiddenAnnotations">
Severity: Minor
Found in phpcs.xml by editorconfig

Unexpected trailing spaces found.
Open

        php: 
Severity: Minor
Found in .github/workflows/test.yml by editorconfig
Severity
Category
Status
Source
Language