File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1919 'array_syntax ' => ['syntax ' => 'short ' ],
2020 'cast_spaces ' => ['space ' => 'none ' ],
2121 'concat_space ' => ['spacing ' => 'one ' ],
22- 'compact_nullable_typehint ' => true ,
22+ 'compact_nullable_type_declaration ' => true ,
2323 'declare_equal_normalize ' => ['space ' => 'single ' ],
2424 'general_phpdoc_annotation_remove ' => [
2525 'annotations ' => [
3636 'phpdoc_order ' => true , // psr-5
3737 'phpdoc_no_useless_inheritdoc ' => false ,
3838 'protected_to_private ' => false ,
39- 'yoda_style ' => false ,
39+ 'yoda_style ' => [
40+ 'equal ' => false ,
41+ 'identical ' => false ,
42+ 'less_and_greater ' => false
43+ ],
4044 'method_argument_space ' => ['on_multiline ' => 'ensure_fully_multiline ' ],
4145 'ordered_imports ' => [
4246 'sort_algorithm ' => 'alpha ' ,
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2023 odan
3+ Copyright (c) 2025 odan
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ A strictly typed configuration component for PHP. Inspired by [Apache Commons Co
1212
1313## Requirements
1414
15- * PHP 8.1+
15+ * PHP 8.1 - 8.4
1616
1717## Installation
1818
Original file line number Diff line number Diff line change 1313 ],
1414 "homepage" : " https://github.com/selective-php/config" ,
1515 "require" : {
16- "php" : " ^ 8.1" ,
16+ "php" : " 8.1.* || 8.2.* || 8.3.* || 8.4.* " ,
1717 "cakephp/chronos" : " ^2 || ^3"
1818 },
1919 "require-dev" : {
2020 "friendsofphp/php-cs-fixer" : " ^3" ,
21- "phpstan/phpstan" : " ^1" ,
21+ "phpstan/phpstan" : " ^1 || ^2 " ,
2222 "phpunit/phpunit" : " ^10" ,
2323 "squizlabs/php_codesniffer" : " ^3"
2424 },
4747 "sniffer:check" : " phpcs --standard=phpcs.xml" ,
4848 "sniffer:fix" : " phpcbf --standard=phpcs.xml" ,
4949 "stan" : " phpstan analyse -c phpstan.neon --no-progress --ansi" ,
50- "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always" ,
50+ "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage " ,
5151 "test:all" : [
5252 " @cs:check" ,
5353 " @sniffer:check" ,
5454 " @stan" ,
5555 " @test"
5656 ],
57- "test:coverage" : " php -d xdebug.mode=coverage -r \" require 'vendor/bin/phpunit';\" -- --configuration phpunit.xml --do-not-cache-result --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
57+ "test:coverage" : [
58+ " @putenv XDEBUG_MODE=coverage" ,
59+ " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --coverage-clover build/coverage/clover.xml --coverage-html build/coverage --coverage-text"
60+ ]
5861 }
5962}
You can’t perform that action at this time.
0 commit comments