coding-standard
coding-standard copied to clipboard
Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
Enable it by default.
Improve: https://github.com/slevomat/coding-standard/issues/1230
hi, I noticed the following file is not correctly handled by autofixing the violation `Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName` and actually breaks the application. ``` namespace App; class Application extends \Illuminate\Foundation\Application { } ```...
Interfaces can be extremely simple, classes not so much and traits differ. The need to adhere to the same code styles for each of these, while uniform, isn't always ideal....
Currently, `UselessParentheses` reports the parenthesis on `$a + ($b + $c)`. In many cases such parentheses can be omitted, since addition is associative, thus writing `$a + $b + $c`...
Hi is it possible to add exclude Path/file not for all class but configure by class ``` return [ 'preset' => 'symfony', 'ide' => 'phpstorm', 'exclude' => [ 'migrations', //...
Hello. I'd like to have my PHPUnit `protected function setUp` method placed before public test methods. But it looks like it is not possible to configure something like an exception...