File tree Expand file tree Collapse file tree 7 files changed +860
-578
lines changed Expand file tree Collapse file tree 7 files changed +860
-578
lines changed Original file line number Diff line number Diff line change 4
4
/.codecov.yml export-ignore
5
5
/.gitattributes export-ignore
6
6
/.gitignore export-ignore
7
- /.php_cs.dist export-ignore
8
- /buddy.yml export-ignore
7
+ /.php-cs-fixer.dist.php export-ignore
9
8
/phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 30
30
uses : " ramsey/composer-install@v2"
31
31
32
32
- name : Run test suite
33
- run : PHP_CS_FIXER_IGNORE_ENV=1 composer build
33
+ run : composer build
Original file line number Diff line number Diff line change 1
1
/vendor /
2
- /.php_cs
3
- /.php_cs .cache
2
+ /.php-cs-fixer.php
3
+ /.php-cs-fixer .cache
4
4
5
5
/phpunit.xml
6
6
.phpunit.result.cache
Original file line number Diff line number Diff line change 5
5
->in (__DIR__ .'/tests ' )
6
6
;
7
7
8
- return PhpCsFixer \Config:: create ( )
8
+ return ( new PhpCsFixer \Config () )
9
9
->setRiskyAllowed (true )
10
10
->setRules ([
11
11
'@PHP71Migration ' => true ,
19
19
'no_unused_imports ' => true ,
20
20
'declare_strict_types ' => true ,
21
21
'ordered_imports ' => [
22
- 'importsOrder ' => null ,
23
- 'sortAlgorithm ' => 'alpha ' ,
22
+ 'imports_order ' => null ,
23
+ 'sort_algorithm ' => 'alpha ' ,
24
24
],
25
25
'phpdoc_order ' => true ,
26
26
'phpdoc_align ' => true ,
27
27
'phpdoc_no_access ' => true ,
28
28
'phpdoc_separation ' => true ,
29
- 'pre_increment ' => true ,
29
+ 'increment_style ' => [ ' style ' => ' pre ' ] ,
30
30
'single_quote ' => true ,
31
31
'trim_array_spaces ' => true ,
32
+ 'blank_lines_before_namespace ' => false ,
32
33
'single_blank_line_before_namespace ' => true ,
33
- 'yoda_style ' => null ,
34
+ 'yoda_style ' => false ,
34
35
'global_namespace_import ' => [
35
36
'import_classes ' => false ,
36
37
'import_constants ' => false ,
Original file line number Diff line number Diff line change 1
1
# ChaosMonkeySymfonyBundle
2
2
3
- [ ![ Minimum PHP Version] ( https://img.shields.io/badge/php-%3E%3D%207.4 -8892BF.svg )] ( https://php.net/ )
3
+ [ ![ Minimum PHP Version] ( https://img.shields.io/badge/php-%5E8.1 -8892BF.svg )] ( https://php.net/ )
4
4
![ Symfony Versions Supported] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fshields.mrgoodbytes.dev%2Fshield%2Fsymfony%2F%255E5.2&logoColor=FFF&style=flat )
5
5
[ ![ Latest Stable Version] ( https://poser.pugx.org/chaos-php/chaos-monkey-symfony-bundle/v/stable?format=flat )] ( https://packagist.org/packages/chaos-php/chaos-monkey-symfony-bundle )
6
6
[ ![ build] ( https://github.com/chaos-php/chaos-monkey-symfony-bundle/actions/workflows/ci.yml/badge.svg )] ( https://github.com/chaos-php/chaos-monkey/actions/workflows/build.yml )
Original file line number Diff line number Diff line change 18
18
}
19
19
],
20
20
"require" : {
21
- "php" : " ^7.4 || ^8.0 " ,
21
+ "php" : " ^8.1 " ,
22
22
"chaos-php/chaos-monkey" : " ^1.1"
23
23
},
24
24
"require-dev" : {
25
- "friendsofphp/php-cs-fixer" : " ^2.16 " ,
25
+ "friendsofphp/php-cs-fixer" : " ^3.58 " ,
26
26
"phpunit/phpunit" : " ^9.5" ,
27
27
"symfony/browser-kit" : " ^5.2" ,
28
28
"symfony/framework-bundle" : " ^5.2" ,
You can’t perform that action at this time.
0 commit comments