Releases
1.6.0
Custom sniffs have been added to improve the Laravel standard.
Added SlevomatCodingStandard.Namespaces.UnusedUses
to avoid unused uses.
Added SlevomatCodingStandard.Namespaces.UseFromSameNamespace
to avoid uses from same namespace.
Added SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
for the imports to be sorted alphabetically.
Added SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation
to enforces fully qualified names of classes and interfaces in phpDocs.
Added SlevomatCodingStandard.PHP.UselessSemicolon
to avoid useless semicolons.
Added SlevomatCodingStandard.Classes.MethodSpacing
to check that there is a blank line between the methods.
Added SlevomatCodingStandard.Functions.ArrowFunctionDeclaration
to check that the number of spaces after and before the arrow is correct.
Added SlevomatCodingStandard.Files.TypeNameMatchesFileName
to check that the type name matches the file name.
You can’t perform that action at this time.