[Slim] Add PHP CodeSniffer config template (#1764)

* [Slim] Add PHP_CodeSniffer config template

* [Slim] Update doc

* [Slim] Add local configs to gitignore

PHPUnit and PHP_CodeSniffer provides the same developing pattern when
user overrides global config with local one. In local config he can
set environment variables. Official doc recommends to not commit local
config files.

* [Slim] Remove phpcsStandard CLI option

Now user have full freedom to override config file. This option is not
used and not necessary anymore.

* [Slim] Refresh samples
This commit is contained in:
Yuriy Belenko
2018-12-29 11:58:15 +05:00
committed by Akihito Nakano
parent 1db105b6f9
commit 5400a7e445
16 changed files with 250 additions and 67 deletions

View File

@@ -40,7 +40,4 @@ CONFIG OPTIONS for php-slim
artifactVersion
The version to use in the composer package version field. e.g. 1.2.3
phpcsStandard
PHP CodeSniffer <standard> option. Accepts name or path of the coding standard to use. (Default: PSR12)
Back to the [generators list](README.md)