Browse Source

DX: cleanup php-cs-fixer entry file

Dariusz Ruminski 4 years ago
parent
commit
b4d822f0ad
1 changed files with 1 additions and 4 deletions
  1. 1 4
      php-cs-fixer

+ 1 - 4
php-cs-fixer

@@ -23,10 +23,7 @@ if (defined('HHVM_VERSION_ID')) {
     } else {
         exit(1);
     }
-} elseif (
-    (!defined('PHP_VERSION_ID') || \PHP_VERSION_ID < 50600 || \PHP_VERSION_ID >= 70500)
-    && (!isset($_SERVER['argv'][1]) || 'documentation' !== $_SERVER['argv'][1])
-) {
+} elseif (!defined('PHP_VERSION_ID') || \PHP_VERSION_ID < 50600 || \PHP_VERSION_ID >= 70500) {
     fwrite(STDERR, "PHP needs to be a minimum version of PHP 5.6.0 and maximum version of PHP 7.4.*.\n");
 
     if (getenv('PHP_CS_FIXER_IGNORE_ENV')) {