-
## Describe the bug
SwitchDeclarationSniff throws a fatal error on some switch statements, stopping phpcbf execution.
```
PHP Fatal error: Uncaught PHP_CodeSniffer\Exceptions\RuntimeExcept…
-
AlignEquals does not seem to work perfectly. See attached screenshot.
My phpfmt settings as follows:
"phpfmt.passes": [
"PSR2LnAfterNamespace",
"PSR2CurlyOpenNextLine",
"PSR2M…
-
-
PHP code should be in PSR2
-
Just suggestion: I think It would be nice and more cleaner if the code will be formatted using PSR2.
-
I think the library should follow PSR2 coding standards. I've added tests to reflect the current coding standards based of PSR2 standards - and added automatic tests in TravisCI to see whether we adhe…
-
The current coding style violations can be seen with:
```
./vendor/bin/phpcs --standard=PSR2 src/
```
and fixed with:
```
./vendor/bin/phpcbf --standard=PSR2 src/
```
Thanks Danny for your…
-
Is there a phpcs ruleset that should be used for this repo? I'm working on adding footnotes and nearly have a patch ready.
-
this is essential in this modern day, i can use an automate program to do this
https://mattstauffer.co/blog/using-php-cs-fixer-to-fix-up-your-php-code
https://github.com/FriendsOfPHP/PHP-CS-Fixe…
-