Skip to content

Replace macros with multiple elements by splitting existing text runs/paragraphs instead of replacing them #316

Replace macros with multiple elements by splitting existing text runs/paragraphs instead of replacing them

Replace macros with multiple elements by splitting existing text runs/paragraphs instead of replacing them #316

Triggered via pull request July 19, 2024 08:35
Status Failure
Total duration 15m 34s
Artifacts

php.yml

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

Annotations

47 errors and 15 warnings
php-cs-fixer
Process completed with exit code 8.
phpstan: src/PhpWord/StyleMerger.php#L99
Method PhpOffice\PhpWord\StyleMerger::getStyleString() should return string but returns string|false.
phpstan: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Method PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts() overrides method PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts() but misses parameter #2 $extractedStyle.
phpstan
Process completed with exit code 1.
PHP 7.4
Process completed with exit code 2.
PHP 7.1.3
The job was canceled because "_7_4" failed.
PHP 7.1.3
The operation was canceled.
PHP 8.1
The job was canceled because "_7_4" failed.
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.1: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2
The job was canceled because "_7_4" failed.
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.2: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3
The job was canceled because "_7_4" failed.
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 7.2
The job was canceled because "_7_4" failed.
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 7.2
The operation was canceled.
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 8.3: tests/PhpWordTests/TestableTemplateProcesor.php#L41
Declaration of PhpOffice\PhpWordTests\TestableTemplateProcesor::splitTextIntoTexts($text) must be compatible with PhpOffice\PhpWord\TemplateProcessor::splitTextIntoTexts($text, string &$extractedStyle = '')
PHP 7.3
The job was canceled because "_7_4" failed.
PHP 7.3
The operation was canceled.
PHP 8.0
The job was canceled because "_7_4" failed.
PHP 8.0
The operation was canceled.
coverage
Process completed with exit code 2.
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/
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 `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 `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 `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 `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 `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 `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
Runner GitHub Actions 15 did not respond to a cancelation request with 00:05:00.
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/