Skip to content

Commit

Permalink
tweak: check for v8
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 13, 2021
1 parent 653db0c commit f602f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/phpunit/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DocumentTest extends TestCase {
public function testToStringEmpty() {
$sut = new Document();
$string = (string)$sut;
if(PHP_MAJOR_VERSION >= 8) {
if(PHP_MAJOR_VERSION < 8) {
// To catch v8-specific EOL.
$string .= PHP_EOL;
}
Expand Down

0 comments on commit f602f79

Please sign in to comment.