Skip to content

0.11.0

Choose a tag to compare

@dereuromark dereuromark released this 13 Oct 14:16
· 752 commits to master since this release

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+.