Skip to content

Conversation

VincentLanglet
Copy link
Contributor

No description provided.

@@ -101,6 +101,7 @@ public function testFirstClassCallables(): void
]);
}

#[RequiresPhp('>= 8.0')]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sideEffect (exception thrown) was introduced in PHP8

@@ -1,4 +1,4 @@
<?php declare(strict_types = 1);
<?php declare(strict_types = 1); // lint >= 8.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assertType('Iterator<mixed, DOMAttr>', $attributes->getIterator());

is not true before PHP 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant