We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4dfb4 commit 36b63a1Copy full SHA for 36b63a1
tests/PhpWord/TemplateProcessorTest.php
@@ -140,6 +140,11 @@ final public function testXslStyleSheetCanBeApplied($actualDocumentFqfn)
140
*/
141
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
142
{
143
+ // Test is not needed for PHP 8.0, because internally validation throws TypeError exception.
144
+ if (\PHP_VERSION_ID >= 80000) {
145
+ $this->markTestSkipped('not needed for PHP 8.0');
146
+ }
147
+
148
$templateProcessor = new TemplateProcessor(__DIR__ . '/_files/templates/blank.docx');
149
150
$xslDomDocument = new \DOMDocument();
0 commit comments