Skip to content

Bump phpstan/phpstan-phpunit from 1.3.15 to 1.4.0 #347

Bump phpstan/phpstan-phpunit from 1.3.15 to 1.4.0

Bump phpstan/phpstan-phpunit from 1.3.15 to 1.4.0 #347

Triggered via pull request August 12, 2024 08:26
Status Failure
Total duration 18m 35s
Artifacts

php.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 22 warnings
phpstan: src/PhpWord/Element/Image.php#L1
Ignored error pattern #^Parameter \#2 \$length of function fread expects int\<0, max\>, int\<0, max\>\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Image.php was not matched in reported errors.
phpstan: src/PhpWord/Element/Image.php#L390
Parameter #2 $length of function fread expects int<1, max>, int<0, max>|false given.
phpstan: src/PhpWord/Shared/Html.php#L114
Cannot access offset 'dir' on DOMNamedNodeMap.
phpstan: src/PhpWord/Shared/XMLWriter.php#L1
Ignored error pattern #^Parameter \#1 \$uri of method XMLWriter\:\:openUri\(\) expects string, string\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/XMLWriter.php was not matched in reported errors.
phpstan: src/PhpWord/Shared/XMLWriter.php#L1
Ignored error pattern #^Property PhpOffice\\PhpWord\\Shared\\XMLWriter\:\:\$tempFileName \(string\) does not accept string\|false\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/XMLWriter.php was not matched in reported errors.
phpstan: src/PhpWord/TemplateProcessor.php#L1
Ignored error pattern #^Parameter \#1 \$str of function preg_quote expects string, int\|string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/TemplateProcessor.php was not matched in reported errors.
phpstan: src/PhpWord/TemplateProcessor.php#L1
Ignored error pattern #^Property PhpOffice\\PhpWord\\TemplateProcessor\:\:\$tempDocumentFilename \(string\) does not accept string\|false\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/TemplateProcessor.php was not matched in reported errors.
phpstan: src/PhpWord/Writer/PDF.php#L1
Ignored error pattern #^Parameter \#3 \$subject of function str_replace expects array\|string, string\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/PDF.php was not matched in reported errors.
phpstan: tests/PhpWordTests/TestHelperDOCX.php#L1
Ignored error pattern #^Static property PhpOffice\\PhpWordTests\\TestHelperDOCX\:\:\$file \(string\) does not accept string\|false\.$# in path /home/runner/work/PHPWord/PHPWord/tests/PhpWordTests/TestHelperDOCX.php was not matched in reported errors.
phpstan
Process completed with exit code 1.
phpstan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpstan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.4
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.4
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.1.3
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.1.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.0
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.0
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.1
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.3
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 7.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.3
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
php-cs-fixer
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
php-cs-fixer
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
coverage
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/