File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 "ergebnis/composer-normalize" : " ^2.25" ,
3939 "jetbrains/phpstorm-attributes" : " ^1.0" ,
4040 "phpmd/phpmd" : " ^2.13" ,
41- "phpstan/phpstan" : " ^1.5 " ,
41+ "phpstan/phpstan" : " ^2.2 " ,
4242 "phpunit/phpunit" : " ^10.5"
4343 },
4444 "minimum-stability" : " dev" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function testLevels() : void
2525 {
2626 $ current = -1 ;
2727 foreach (LogLevel ::cases () as $ case ) {
28- self ::assertIsInt ($ case ->value );
28+ self ::assertIsInt ($ case ->value ); // @phpstan-ignore-line
2929 self ::assertGreaterThan ($ current , $ case ->value );
3030 $ current = $ case ->value ;
3131 }
Original file line number Diff line number Diff line change @@ -40,6 +40,6 @@ public function testWriteFailure() : void
4040 $this->expectErrorMessage(
4141 'error_log(' . $destination . '): Failed to open stream: Permission denied'
4242 );*/
43- self ::assertFalse (@$ this ->logger ->logCritical ('foo ' ));
43+ self ::assertFalse (@$ this ->logger ->logCritical ('foo ' )); // @phpstan-ignore-line
4444 }
4545}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function testWriteFailure() : void
4545 $this->expectErrorMessage(
4646 'error_log(' . $destination . '): Failed to open stream: Permission denied'
4747 );*/
48- self ::assertFalse (@$ this ->logger ->logCritical ('foo ' ));
48+ self ::assertFalse (@$ this ->logger ->logCritical ('foo ' )); // @phpstan-ignore-line
4949 }
5050
5151 public function testMessage () : void
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ protected function logTests() : void
2323 'foo ' ,
2424 $ this ->logger ->getLastLog ()->message
2525 );
26+ // @phpstan-ignore-next-line
2627 self ::assertIsInt (
2728 $ this ->logger ->getLastLog ()->time
2829 );
You can’t perform that action at this time.
0 commit comments