File tree Expand file tree Collapse file tree 7 files changed +533
-457
lines changed Expand file tree Collapse file tree 7 files changed +533
-457
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ console:
55 composer exec --verbose psysh
66
77lint :
8- composer exec --verbose phpcs -- --standard=PSR12 src tests
8+ composer exec --verbose phpcs -- src tests
99 composer exec --verbose phpstan
1010
1111lint-fix :
12- composer exec --verbose phpcbf -- --standard=PSR12 src tests
12+ composer exec --verbose phpcbf -- src tests
1313
1414test :
1515 composer exec --verbose phpunit tests
Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ cd php-package
2525make install
2626```
2727
28+ ## Run linter
29+
30+ ``` sh
31+ make lint
32+ ```
33+
34+ See configs [ php.xml] ( ./phpcs.xml ) and [ phpstan.neon] ( ./phpstan.neon )
35+
2836## Run tests
2937
3038``` sh
Original file line number Diff line number Diff line change 11{
22 "name" : " hexlet/php-package" ,
3- "bin" : [" bin/php-package" ],
3+ "version" : " 0.0.1" ,
4+ "bin" : [
5+ " bin/php-package"
6+ ],
47 "type" : " library" ,
58 "authors" : [
69 {
2427 }
2528 },
2629 "require" : {
27- "illuminate/collections" : " ^11 .0" ,
28- "nesbot/carbon" : " ^3.0 " ,
29- "symfony/string" : " ^7.0 " ,
30- "phpstan/phpstan" : " ^1.10 "
30+ "illuminate/collections" : " ^12 .0" ,
31+ "nesbot/carbon" : " ^3.8 " ,
32+ "symfony/string" : " ^7.2 " ,
33+ "phpstan/phpstan" : " ^2.1 "
3134 },
3235 "require-dev" : {
3336 "psy/psysh" : " @stable" ,
34- "phpstan/phpstan-phpunit" : " ^1.3 " ,
37+ "phpstan/phpstan-phpunit" : " ^2.0 " ,
3538 "phpstan/extension-installer" : " ^1.3" ,
36- "symfony/var-dumper" : " ^7.0 " ,
37- "phpunit/phpunit" : " ^11.0 " ,
39+ "symfony/var-dumper" : " ^7.2 " ,
40+ "phpunit/phpunit" : " ^11.5 " ,
3841 "squizlabs/php_codesniffer" : " *"
3942 },
4043 "config" : {
You can’t perform that action at this time.
0 commit comments