File tree Expand file tree Collapse file tree 2 files changed +41
-11
lines changed
Expand file tree Collapse file tree 2 files changed +41
-11
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "require" : {
2525 "php" : " ^7.3" ,
26- "phpstan/phpstan" : " ^ 1.2.0" ,
26+ "phpstan/phpstan" : " >=0.12.7 <= 1.2.0" ,
2727 "nette/utils" : " ^3.1.0" ,
2828 "webmozart/path-util" : " ^2.3.0" ,
2929 "thecodingmachine/safe" : " ^1.0.3" ,
3030 "nette/neon" : " ^3.1.0"
3131 },
3232 "license" : " MIT" ,
33- "require-dev" : {
34- "symplify/easy-coding-standard" : " ^9.4.70"
35- },
3633 "scripts" : {
3734 "check" : [
38- " @check-cs" ,
3935 " @phpstan"
4036 ],
41- "ecs" : " ecs check src" ,
42- "ecs-fix" : " ecs check src --fix" ,
4337 "phpstan" : " phpstan analyse src --level max --error-format=fileoutput" ,
44- "phpstan-test" : " phpstan analyse src tests --level max --error-format=fileoutput --no-progress" ,
45- "check-cs-test" : " ecs check tests "
38+ "phpstan-test" : " phpstan analyse src tests --level max --error-format=fileoutput --no-progress"
4639 }
4740}
Original file line number Diff line number Diff line change 6969 < title > PHPStan analysis result</ title >
7070</ head >
7171< h1 > PHPStan analysis result</ h1 >
72- < div class ="time "> 2021-11-29 08:35:31 </ div >
72+ < div class ="time "> 2021-11-29 12:58:44 </ div >
7373
7474
7575< div >
7676 < table >
77-
77+ < thead >
78+ < tr >
79+ < th colspan ="2 " class ="section "> Files with errors: 1</ th >
80+ </ tr >
81+ </ thead >
82+ < thead >
83+ < tr >
84+ < th colspan ="2 "> /Users/phandle/PhpstormProjects/PHPStan-FileOutput/tests/MessedUpClass.php (3×)</ th >
85+ </ tr >
86+ </ thead >
87+ < tr class ="error ">
88+ < td class ="line ">
89+ < a href ='editor://open/?file=/Users/phandle/PhpstormProjects/PHPStan-FileOutput/tests/MessedUpClass.php&line=25 '> 25</ a >
90+ </ td >
91+ < td >
92+ Method < b > noximo\MessedUpClass::doSOmething()</ b > should return < b > string</ b > but returns < b > int.</ b > < br >
93+ < small class ="regex "> - '#Method noximo\\MessedUpClass\:\:doSOmething\(\) should return string but returns int#'</ small >
94+ </ td >
95+ </ tr >
96+ < tr class ="error ">
97+ < td class ="line ">
98+ < a href ='editor://open/?file=/Users/phandle/PhpstormProjects/PHPStan-FileOutput/tests/MessedUpClass.php&line=23 '> 23</ a >
99+ </ td >
100+ < td >
101+ PHPDoc tag < b > @param</ b > for parameter < b > $problem</ b > with type < b > string</ b > is incompatible with native type < b > int.</ b > < br >
102+ < small class ="regex "> - '#PHPDoc tag @param for parameter \$problem with type string is incompatible with native type int#'</ small >
103+ </ td >
104+ </ tr >
105+ < tr class ="error ">
106+ < td class ="line ">
107+ < a href ='editor://open/?file=/Users/phandle/PhpstormProjects/PHPStan-FileOutput/tests/MessedUpClass.php&line=23 '> 23</ a >
108+ </ td >
109+ < td >
110+ PHPDoc tag < b > @return</ b > with type < b > int</ b > is incompatible with native type < b > string.</ b > < br >
111+ < small class ="regex "> - '#PHPDoc tag @return with type int is incompatible with native type string#'</ small >
112+ </ td >
113+ </ tr >
114+
78115 </ table >
79116 < div id ="thanks ">
80117 This file was made thanks to
You can’t perform that action at this time.
0 commit comments