Skip to content

Commit f55d090

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #725
2 parents 990f591 + 4912cc6 commit f55d090

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

symfony/console/3.3/bin/console

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ use Symfony\Bundle\FrameworkBundle\Console\Application;
66
use Symfony\Component\Console\Input\ArgvInput;
77
use Symfony\Component\Debug\Debug;
88

9-
if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
10-
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL;
9+
if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
10+
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
1111
}
1212

1313
set_time_limit(0);
1414

1515
require dirname(__DIR__).'/vendor/autoload.php';
1616

1717
if (!class_exists(Application::class)) {
18-
throw new RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.');
18+
throw new LogicException('You need to add "symfony/framework-bundle" as a Composer dependency.');
1919
}
2020

2121
$input = new ArgvInput();

symfony/console/4.4/bin/console

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ use Symfony\Bundle\FrameworkBundle\Console\Application;
66
use Symfony\Component\Console\Input\ArgvInput;
77
use Symfony\Component\ErrorHandler\Debug;
88

9-
if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
10-
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL;
9+
if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
10+
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
1111
}
1212

1313
set_time_limit(0);
1414

1515
require dirname(__DIR__).'/vendor/autoload.php';
1616

1717
if (!class_exists(Application::class)) {
18-
throw new RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.');
18+
throw new LogicException('You need to add "symfony/framework-bundle" as a Composer dependency.');
1919
}
2020

2121
$input = new ArgvInput();

symfony/phpunit-bridge/3.3/manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"gitignore": [
1010
".phpunit",
11+
".phpunit.result.cache",
1112
"/phpunit.xml"
1213
],
1314
"aliases": ["simple-phpunit"]

0 commit comments

Comments
 (0)