File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11/vendor /
2- composer.lock
2+ composer.lock
3+ * .cache
Original file line number Diff line number Diff line change 88 vendor/bin/php-cs-fixer fix
99
1010.PHONY : test
11- test : cs
11+ test : cs phpstan
1212 vendor/bin/phpunit
1313
1414.PHONY : cs
1717
1818.PHONY : cbf
1919cbf :
20- vendor/bin/phpcbf
20+ vendor/bin/phpcbf
21+
22+ .PHONY : phpstan
23+ phpstan :
24+ vendor/bin/phpstan analyse
Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " ^7.1 | ^8.0"
13+ "php" : " ^7.2 | ^8.0"
1414 },
1515 "autoload" : {
1616 "psr-4" : {
2121 "phpunit/phpunit" : " ~7.5 | ~9.0" ,
2222 "squizlabs/php_codesniffer" : " ^3.5" ,
2323 "corpus/coding-standard" : " ^0.6.0" ,
24- "friendsofphp/php-cs-fixer" : " ^2.17"
24+ "friendsofphp/php-cs-fixer" : " ^2.17" ,
25+ "phpstan/phpstan" : " ^1.12"
2526 },
2627 "config" : {
2728 "allow-plugins" : {
Original file line number Diff line number Diff line change 1+ parameters :
2+ level : 9
3+ paths :
4+ - src
5+ phpVersion : 70200
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ abstract class Status {
7272 public const NotExtended = 510 ; // RFC 2774, 7
7373 public const NetworkAuthenticationRequired = 511 ; // RFC 6585, 6
7474
75+ /** @var array<int,string> */
7576 public static $ statusText = [
7677 self ::StatusContinue => 'Continue ' ,
7778 self ::SwitchingProtocols => 'Switching Protocols ' ,
You can’t perform that action at this time.
0 commit comments