forked from mirror/Part-DB.Part-DB-server
Updated symfony cli recipe
This adds an error message if no composer dependencies are installed
This commit is contained in:
parent
e6b78dd213
commit
20f58fc07d
2 changed files with 8 additions and 4 deletions
|
@ -4,6 +4,10 @@
|
||||||
use App\Kernel;
|
use App\Kernel;
|
||||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||||
|
|
||||||
|
if (!is_dir(dirname(__DIR__).'/vendor')) {
|
||||||
|
throw new LogicException('Dependencies are missing. Try running "composer install".');
|
||||||
|
}
|
||||||
|
|
||||||
//Increase xdebug.max_nesting_level to 1000 if required (see issue #411)
|
//Increase xdebug.max_nesting_level to 1000 if required (see issue #411)
|
||||||
//Check if xdebug extension is active, and xdebug.max_nesting_level is set to 256 or lower
|
//Check if xdebug extension is active, and xdebug.max_nesting_level is set to 256 or lower
|
||||||
if (extension_loaded('xdebug') && ((int) ini_get('xdebug.max_nesting_level')) <= 256) {
|
if (extension_loaded('xdebug') && ((int) ini_get('xdebug.max_nesting_level')) <= 256) {
|
||||||
|
|
|
@ -408,15 +408,15 @@
|
||||||
"version": "v4.2.3"
|
"version": "v4.2.3"
|
||||||
},
|
},
|
||||||
"symfony/console": {
|
"symfony/console": {
|
||||||
"version": "5.3",
|
"version": "6.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "main",
|
||||||
"version": "5.3",
|
"version": "5.3",
|
||||||
"ref": "da0c8be8157600ad34f10ff0c9cc91232522e047"
|
"ref": "1781ff40d8a17d87cf53f8d4cf0c8346ed2bb461"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./bin/console"
|
"bin/console"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/css-selector": {
|
"symfony/css-selector": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue