Skip to content

Commit

Permalink
related to issue #132 (for branch 8.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jul 11, 2022
1 parent 2bb90ea commit 5eb8849
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/phplint
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env php
<?php

if (PHP_SAPI !== 'cli' && PHP_MINOR_VERSION < 5) {
echo 'Warning: phplint should be invoked via the CLI minimum version of PHP 5.5.9, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
if (PHP_SAPI !== 'cli' && PHP_MAJOR_VERSION < 8) {
echo 'Warning: phplint should be invoked via the CLI minimum version of PHP 8.0, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
}

$loaded = false;
Expand All @@ -18,7 +18,7 @@ foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoloa
if (!$loaded) {
die(
'You need to set up the project dependencies using the following commands:' . PHP_EOL .
'wget http://getcomposer.org/composer.phar' . PHP_EOL .
'wget https://getcomposer.org/composer.phar' . PHP_EOL .
'php composer.phar install' . PHP_EOL
);
}
Expand Down

0 comments on commit 5eb8849

Please sign in to comment.