Skip to content

Introduced several new features like ColumnBreaks, TocStyles etc. #280

Introduced several new features like ColumnBreaks, TocStyles etc.

Introduced several new features like ColumnBreaks, TocStyles etc. #280

Triggered via pull request April 4, 2024 11:59
Status Failure
Total duration 17m 53s
Artifacts

php.yml

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

Annotations

99 errors and 18 warnings
php-cs-fixer
Process completed with exit code 8.
phpstan: src/PhpWord/Element/Section.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\Element\\Section\:\:addHeaderFooter\(\) should return PhpOffice\\PhpWord\\Element\\Footer but returns PhpOffice\\PhpWord\\Element\\AbstractContainer\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/Section.php was not matched in reported errors.
phpstan: src/PhpWord/PhpWord.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\PhpWord\:\:getDefaultFontSize\(\) should return int but returns float\|int\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/PhpWord.php was not matched in reported errors.
phpstan: src/PhpWord/Settings.php#L378
PHPDoc tag @return with type float|int is not subtype of native type int.
phpstan: src/PhpWord/Settings.php#L380
Method PhpOffice\PhpWord\Settings::getDefaultFontSize() should return int but returns float|int.
phpstan: src/PhpWord/Shared/Converter.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\Shared\\Converter\:\:angleToDegree\(\) should return int but returns float\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/Converter.php was not matched in reported errors.
phpstan: src/PhpWord/Shared/Converter.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\Shared\\Converter\:\:htmlToRgb\(\) should return array but returns false\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/Converter.php was not matched in reported errors.
phpstan: src/PhpWord/Shared/Converter.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\Shared\\Converter\:\:inchToEmu\(\) should return int but returns float\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/Converter.php was not matched in reported errors.
phpstan: src/PhpWord/Shared/Converter.php#L1
Ignored error pattern #^Method PhpOffice\\PhpWord\\Shared\\Converter\:\:pixelToEmu\(\) should return int but returns float\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Shared/Converter.php was not matched in reported errors.
phpstan: src/PhpWord/Shared/Converter.php#L43
Parameter #1 $num1 of function bcdiv expects string, float given.
phpstan: src/PhpWord/Shared/Converter.php#L43
Parameter #2 $num2 of function bcdiv expects string, float given.
PHP 8.2: tests/PhpWordTests/Shared/ConverterTest.php#L80
Failed asserting that 2190 matches expected 2191.0.
PHP 8.2: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 8.2: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 8.2: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.2: tests/PhpWordTests/Style/SectionTest.php#L40
Failed asserting that 11905.511810976 matches expected 11905.511811024.
PHP 7.1.3
The job was canceled because "_8_2" failed.
PHP 7.1.3: tests/PhpWordTests/SettingsTest.php#L232
Failed asserting that 12 matches expected 12.5.
PHP 7.1.3: tests/PhpWordTests/Shared/ConverterTest.php#L92
Failed asserting that 37.04166582 matches expected 3556.0.
PHP 7.1.3: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 7.1.3: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 7.1.3: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 7.2
The job was canceled because "_8_2" failed.
PHP 7.2: tests/PhpWordTests/SettingsTest.php#L232
Failed asserting that 12 matches expected 12.5.
PHP 7.2: tests/PhpWordTests/Shared/ConverterTest.php#L92
Failed asserting that 95.25 matches expected 9144.0.
PHP 7.2: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 7.2: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 7.2: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.0
The job was canceled because "_8_2" failed.
PHP 8.0: tests/PhpWordTests/SettingsTest.php#L232
Failed asserting that 12 matches expected 12.5.
PHP 8.0: tests/PhpWordTests/Shared/ConverterTest.php#L92
Failed asserting that 6.61458291 matches expected 635.0.
PHP 8.0: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 8.0: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 8.0: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.3
The job was canceled because "_8_2" failed.
PHP 8.3: tests/PhpWordTests/Shared/ConverterTest.php#L80
Failed asserting that 6286 matches expected 6287.0.
PHP 8.3: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 8.3: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 8.3: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.3: tests/PhpWordTests/Style/SectionTest.php#L40
Failed asserting that 11905.511810976 matches expected 11905.511811024.
PHP 7.4
The job was canceled because "_8_2" failed.
PHP 7.4: tests/PhpWordTests/SettingsTest.php#L232
Failed asserting that 12 matches expected 12.5.
PHP 7.4: tests/PhpWordTests/Shared/ConverterTest.php#L92
Failed asserting that 80.697916455 matches expected 7747.0.
PHP 7.4: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 7.4: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 7.4: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.1
The job was canceled because "_8_2" failed.
PHP 8.1: tests/PhpWordTests/Shared/ConverterTest.php#L80
Failed asserting that 4762 matches expected 4763.0.
PHP 8.1: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 8.1: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 8.1: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
PHP 8.1: tests/PhpWordTests/Style/SectionTest.php#L40
Failed asserting that 11905.511810976 matches expected 11905.511811024.
PHP 7.3
The job was canceled because "_8_2" failed.
PHP 7.3: tests/PhpWordTests/SettingsTest.php#L232
Failed asserting that 12 matches expected 12.5.
PHP 7.3: tests/PhpWordTests/Shared/ConverterTest.php#L80
Failed asserting that 7143 matches expected 7144.0.
PHP 7.3: tests/PhpWordTests/Shared/ConverterTest.php#L130
Failed asserting that 7.4999999952 matches expected 7.5.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L236
Failed asserting that '299.999999952' matches expected 300.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L263
Failed asserting that '749.999999952' matches expected 750.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L299
Failed asserting that two strings are equal.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L474
Failed asserting that '5999.999999904' matches expected 6000.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L526
Failed asserting that '1499.999999904' matches expected 1500.
PHP 7.3: tests/PhpWordTests/Shared/HtmlTest.php#L568
Failed asserting that '149.999999904' matches expected 150.
PHP 7.3: tests/PhpWordTests/Style/PaperTest.php#L56
Failed asserting that 9977.952755808 matches expected 9977.9527559055.
coverage
Process completed with exit code 2.
php-cs-fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, mheap/phpunit-matcher-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2: src/PhpWord/Settings.php#L380
Implicit conversion from float 12.5 to int loses precision
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.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 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.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.3: src/PhpWord/Settings.php#L380
Implicit conversion from float 12.5 to int loses precision
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.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 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.1: src/PhpWord/Settings.php#L380
Implicit conversion from float 12.5 to int loses precision
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/
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/