mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 11:29:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -31,7 +31,7 @@ class LegacyEmptyPassTest extends CodeCleanerTestCase
|
||||
|
||||
public function invalidStatements()
|
||||
{
|
||||
if (version_compare(PHP_VERSION, '5.5', '>=')) {
|
||||
if (\version_compare(PHP_VERSION, '5.5', '>=')) {
|
||||
return [
|
||||
['empty()'],
|
||||
];
|
||||
@@ -58,7 +58,7 @@ class LegacyEmptyPassTest extends CodeCleanerTestCase
|
||||
|
||||
public function validStatements()
|
||||
{
|
||||
if (version_compare(PHP_VERSION, '5.5', '<')) {
|
||||
if (\version_compare(PHP_VERSION, '5.5', '<')) {
|
||||
return [
|
||||
['empty($foo)'],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user