File tree Expand file tree Collapse file tree 5 files changed +274
-219
lines changed
spec/PedroTroller/CS/Fixer
src/PedroTroller/CS/Fixer Expand file tree Collapse file tree 5 files changed +274
-219
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,19 @@ install_composer: &install_composer
1414 mv composer.phar /usr/local/bin/composer
1515
1616composer_update_with_lowest_dependencies : &composer_update_with_lowest_dependencies
17- run : |
18- composer update --prefer-lowest --prefer-stable
17+ run : composer update --prefer-lowest --prefer-stable
1918
2019composer_update : &composer_update
21- run : |
22- composer update
20+ run : composer update
2321
24- tests : &tests
25- run : |
26- composer test -vvv
27- bin/doc
28- PHP_CS_FIXER_IGNORE_ENV=1 composer run php-cs-fixer || (echo "Coding standards are not respected. Run 'composer run php-cs-fixer'" && exit 1)
22+ phpspec : &phpspec
23+ run : composer test -vvv
24+
25+ doc : &doc
26+ run : bin/doc
27+
28+ cs : &cs
29+ run : PHP_CS_FIXER_IGNORE_ENV=1 composer run php-cs-fixer || (echo "Coding standards are not respected. Run 'composer run php-cs-fixer'" && exit 1)
2930
3031jobs :
3132 tests :
3839 - checkout
3940 - << : *install_composer
4041 - << : *composer_update
41- - << : *tests
42+ - << : *phpspec
43+ - << : *doc
44+ - << : *cs
4245
4346 tests-with-lowest-dependencies :
4447 parameters :
5053 - checkout
5154 - << : *install_composer
5255 - << : *composer_update_with_lowest_dependencies
53- - << : *tests
56+ # - <<: *phpspec
57+ - << : *doc
58+ - << : *cs
5459
5560 documentation :
5661 parameters :
@@ -94,14 +99,12 @@ workflows:
9499 matrix :
95100 parameters :
96101 php-version :
97- - " 8.2"
98102 - " 8.3"
99103 - " 8.4"
100104 - tests-with-lowest-dependencies :
101105 matrix :
102106 parameters :
103107 php-version :
104- - " 8.2"
105108 - " 8.3"
106109 - " 8.4"
107110 - release-test
Original file line number Diff line number Diff line change 1212 ->setRules (
1313 RuleSetFactory::create ()
1414 ->phpCsFixer (true )
15- ->php (8.2 , true )
15+ ->php (8.3 , true )
1616 ->pedrotroller (true )
1717 ->enable ('align_multiline_comment ' )
1818 ->enable ('array_indentation ' )
Original file line number Diff line number Diff line change 33 "description" : " PHP-CS-FIXER : my custom fixers" ,
44 "license" : " MIT" ,
55 "require" : {
6- "php" : " ^8.2 " ,
6+ "php" : " ^8.3 " ,
77 "friendsofphp/php-cs-fixer" : " ^3.87"
88 },
99 "require-dev" : {
You can’t perform that action at this time.
0 commit comments