Skip to content

Commit 6b0f8a1

Browse files
committed
Merge branch 'master' into phpcs-fixer
2 parents 4493d54 + 60cbbc2 commit 6b0f8a1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CodeSniffer/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ public function getErrorList()
4848
6 => 1,
4949
);
5050

51-
// The trait insteadof test will only work in PHP versions where traits exist
52-
// and will throw errors in earlier versions.
53-
if (version_compare(PHP_VERSION, '5.4.0') < 0) {
54-
$errors[46] = 2;
55-
}
56-
5751
return $errors;
5852

5953
}//end getErrorList()

0 commit comments

Comments
 (0)