Skip to content

1.6.0

Compare
Choose a tag to compare
@mreduar mreduar released this 21 May 02:48
· 7 commits to master since this release
  • 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.