File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88@license https://github.com/hyperf-ext/captcha/blob/master/LICENSE
99EOF;
1010
11- return PhpCsFixer \Config:: create ( )
11+ return ( new PhpCsFixer \Config () )
1212 ->setRiskyAllowed (true )
1313 ->setRules ([
1414 '@PSR2 ' => true ,
1515 '@Symfony ' => true ,
1616 '@DoctrineAnnotation ' => true ,
1717 '@PhpCsFixer ' => true ,
1818 'header_comment ' => [
19- 'commentType ' => 'PHPDoc ' ,
19+ 'comment_type ' => 'PHPDoc ' ,
2020 'header ' => $ header ,
2121 'separate ' => 'none ' ,
2222 'location ' => 'after_declare_strict ' ,
Original file line number Diff line number Diff line change 2929 "ext-fileinfo" : " *" ,
3030 "ext-imagick" : " *" ,
3131 "ext-swoole" : " >=4.5" ,
32- "hyperf-ext/encryption" : " ~2.1 .0" ,
33- "hyperf/cache" : " ~2.1 .0" ,
34- "hyperf/di" : " ~2.1 .0" ,
35- "hyperf/framework" : " ~2.1 .0" ,
36- "hyperf/validation" : " ~2.1 .0"
32+ "hyperf-ext/encryption" : " ~2.2 .0" ,
33+ "hyperf/cache" : " ~2.2 .0" ,
34+ "hyperf/di" : " ~2.2 .0" ,
35+ "hyperf/framework" : " ~2.2 .0" ,
36+ "hyperf/validation" : " ~2.2 .0"
3737 },
3838 "require-dev" : {
39- "friendsofphp/php-cs-fixer" : " ^2.14 " ,
40- "hyperf/testing" : " ~2.1 .0" ,
39+ "friendsofphp/php-cs-fixer" : " ^3.0 " ,
40+ "hyperf/testing" : " ~2.2 .0" ,
4141 "phpstan/phpstan" : " ^0.12" ,
4242 "swoole/ide-helper" : " dev-master"
4343 },
4444 "config" : {
4545 "sort-packages" : true
4646 },
4747 "scripts" : {
48- "test" : " co-phpunit -c phpunit.xml --colors=always" ,
48+ "test" : " co-phpunit --prepend tests/bootstrap.php - c phpunit.xml --colors=always" ,
4949 "analyse" : " phpstan analyse --memory-limit 1024M -l 0 ./src" ,
5050 "cs-fix" : " php-cs-fixer fix $1"
5151 },
You can’t perform that action at this time.
0 commit comments