Commit Graph

16 Commits

Author SHA1 Message Date
Nicolas Grekas 0f884e0ae4 minor #25653 PHP CS Fixer: clean up repo and adjust config (keradus)
This PR was squashed before being merged into the 2.7 branch (closes #25653).

Discussion
----------

PHP CS Fixer: clean up repo and adjust config

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | n/a
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Reason for this PR is that one want to have `php-cs-fixer fix -v` command executed without changes that shall not be applied for this repo. To achieve that, we need to groom config to exclude files that violate CS willingly, fix files that are violating CS unwillingly, and deliver missing case handling at PHP CS Fixer itself (https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3359) (already merged!).

Commits
-------

b14cbc1 PHP CS Fixer: clean up repo and adjust config
2018-01-03 18:10:39 +01:00
Dariusz b14cbc1845 PHP CS Fixer: clean up repo and adjust config 2018-01-03 18:10:15 +01:00
Dariusz f51549c6ee PHP CS Fixer: no need to exclude xml and yml files 2018-01-01 22:13:00 +01:00
Dariusz Ruminski a5bc7d649b PHP CS Fixer: use PHPUnit Migration ruleset 2017-12-22 23:38:07 +01:00
Gabriel Caruso e913b68a08 Add php_unit_dedicate_assert to PHPCS 2017-12-19 11:13:57 -02:00
Dariusz 4e9d1600ee CS: recover no_break_comment 2017-09-15 12:36:22 +02:00
SpacePossum 3e90138214 [CS][2.7] yoda_style, no_unneeded_curly_braces, no_unneeded_final_method, semicolon_after_instruction 2017-09-15 11:46:57 +02:00
Dariusz 4ea681e7d1 .php_cs.dist - simplify config 2017-09-12 00:23:36 +02:00
Dariusz 7a97b49436 [CS] Apply phpdoc_annotation_without_dot 2017-09-11 13:37:52 -07:00
Grégoire Pineau 3eb79e5197 [Fabbot] Do not run php-cs-fixer if there are no change in src/ 2017-09-08 15:50:13 +02:00
Fabien Potencier b6507c8c1c fixed CS 2017-01-21 08:52:33 -08:00
Fabien Potencier 2ff6f445bc fixed CS fixer config 2017-01-21 08:45:58 -08:00
Fabien Potencier 5176f978bf fixed CS 2017-01-20 08:54:19 -08:00
Fabien Potencier 4864e9dd51 tweaked php cs fixer configuration 2017-01-04 14:00:53 -08:00
Fabien Potencier d559e26e0b removed some PHP CS Fixer rules 2016-12-23 08:00:05 +01:00
Dariusz Ruminski a0e305baa1 Update PHP CS Fixer config file 2016-12-03 10:46:32 +01:00