File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 5858 'PhanAccessOverridesFinalConstant ' ,
5959 'PhanDeprecatedClass ' ,
6060 'PhanDeprecatedClassConstant ' ,
61+ 'PhanParamTooFewInternal ' , // calls to "exit" in PHP 8.4???
6162 ],
6263];
Original file line number Diff line number Diff line change @@ -70,10 +70,14 @@ public function testOutputGetResource():void{
7070
7171 $ actual = $ this ->outputInterface ->dump ();
7272
73- /** @noinspection PhpFullyQualifiedNameUsageInspection */
74- PHP_MAJOR_VERSION >= 8
75- ? $ this ::assertInstanceOf (\GdImage::class, $ actual )
76- : $ this ::assertIsResource ($ actual );
73+ if (PHP_MAJOR_VERSION >= 8 ){
74+ /** @noinspection PhpFullyQualifiedNameUsageInspection */
75+ $ this ::assertInstanceOf (\GdImage::class, $ actual ); // phpcs:ignore
76+
77+ return ;
78+ }
79+
80+ $ this ::assertIsResource ($ actual );
7781 }
7882
7983 public function testBase64MimeType ():void {
You can’t perform that action at this time.
0 commit comments