Skip to content

Github Action : PHP (PHPCSFixer / PHPStan / PHPUnit) #7

Github Action : PHP (PHPCSFixer / PHPStan / PHPUnit)

Github Action : PHP (PHPCSFixer / PHPStan / PHPUnit) #7

Triggered via pull request September 27, 2023 15:16
@Progi1984Progi1984
synchronize #1
gaPHP
Status Failure
Total duration 3m 9s
Artifacts

php.yml

on: pull_request
PHP CS Fixer
17s
PHP CS Fixer
Matrix: PHP Static Analysis
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

45 errors
PHP CS Fixer
Process completed with exit code 8.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L15
Property PhpOffice\WMF\Reader\GD::$gd has unknown class GdImage as its type.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L62
Parameter #1 $im of function imagedestroy expects resource, GdImage given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L121
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L148
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L218
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L228
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L230
Function imagefilledpolygon invoked with 3 parameters, 4 required.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L230
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L236
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.1): src/WMF/Reader/GD.php#L239
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L15
Property PhpOffice\WMF\Reader\GD::$gd has unknown class GdImage as its type.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L62
Parameter #1 $im of function imagedestroy expects resource, GdImage given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L121
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L148
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L218
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L228
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L230
Function imagefilledpolygon invoked with 3 parameters, 4 required.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L230
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L236
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.4): src/WMF/Reader/GD.php#L239
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHPUnit (7.4)
Process completed with exit code 2.
PHPUnit (7.2)
Process completed with exit code 2.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L15
Property PhpOffice\WMF\Reader\GD::$gd has unknown class GdImage as its type.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L62
Parameter #1 $im of function imagedestroy expects resource, GdImage given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L121
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L148
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L218
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L228
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L230
Function imagefilledpolygon invoked with 3 parameters, 4 required.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L230
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L236
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.2): src/WMF/Reader/GD.php#L239
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L15
Property PhpOffice\WMF\Reader\GD::$gd has unknown class GdImage as its type.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L62
Parameter #1 $im of function imagedestroy expects resource, GdImage given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L121
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L148
Parameter #1 $im of function imagecolorallocate expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L218
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L228
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L230
Function imagefilledpolygon invoked with 3 parameters, 4 required.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L230
Parameter #1 $im of function imagefilledpolygon expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L236
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHP Static Analysis (7.3): src/WMF/Reader/GD.php#L239
Parameter #1 $im of function imagepolygon expects resource, GdImage|false given.
PHPUnit (7.3)
Process completed with exit code 2.
PHPUnit (7.1)
Process completed with exit code 2.