[TASK] Add PSR-2 related Code Sniffer configuration 29/43729/4
authorBenjamin Mack <benni@typo3.org>
Fri, 2 Oct 2015 08:08:21 +0000 (10:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 8 Oct 2015 16:57:26 +0000 (18:57 +0200)
commitbe80f834c040d2a287529f3cebcfdecf096d45d9
treebd78e8022991c8d355bc91c0ae6d3136ce4bbbf7
parent752a59547729a5c046f0cdb55cd7058f4ee200cf
[TASK] Add PSR-2 related Code Sniffer configuration

Add a configuration file to automatically change all TYPO3 Core
code to the PSR-2 standard plus some minor additions.

To be called like this:
$ composer global require fabpot/php-cs-fixer
$ php-cs-fixer fix --config-file Build/.php_cs

Resolves: #70506
Releases: master
Change-Id: Ibe48bbc4160697524fa89d130ff3ce3530337d0e
Reviewed-on: http://review.typo3.org/43729
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/.php_cs [new file with mode: 0644]