paragonie / paseto

Platform-Agnostic Security Tokens
https://paseto.io
Other
3.24k stars 108 forks source link

Line endings and PSR-12 #109

Closed szepeviktor closed 3 years ago

szepeviktor commented 4 years ago

@paragonie-scott After discovering Windows and Mac line ends in the code I've also ran PHPCBF to adhere PSR-12. Here you are!

szepeviktor commented 4 years ago

Please consider running PHPCS in CI. ./vendor/bin/phpcs --standard=PSR12 src/

paragonie-security commented 3 years ago

We've significantly changed the codebase since this PR was opened, but we'll consider running PHPCS in CI. Thanks for the contribution.

szepeviktor commented 3 years ago

Currently the situation very similar

viktor@mail:~/src/Forks/paseto$ tools/phpcs --standard=PSR12 src/ 2>&1|fgrep -c '| ERROR |'
86

viktor@mail:~/src/Forks/paseto$ tools/phpcs --standard=PSR12 src/ 2>&1|fgrep -c '| WARNING |'
59