Repository navigation
0.11.0
Features
The Spryker Coding Standard has now full PSR-2 compliance and consists in total of 130 sniffs.
Please note that this version now requires PHP 7.0+.
Improvements
- Included unused use statements to be removed if from the same namespace as currently in
- TrailingArrayComma sniff added
CI and PHP < 7.0
Spryker very soon will also gophp71.
Thus all modules will soon be 7.1+.
If you need to continue supporting older PHP versions, e.g. in Travis, you can enable the CS run for a PHP7.x branch only:
install:
- composer remove --dev spryker/code-sniffer jean85/pretty-package-versions
- if [[ $TRAVIS_PHP_VERSION != 5.6 ]] ; then composer require --dev spryker/code-sniffer ; fi
- composer install --optimize-autoloader --no-interaction
This will remove it from all builds, but re-add it for PHP7.0+.