We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e158a5b + e407c87 commit e68f11cCopy full SHA for e68f11c
bin/requirements-checker.php
@@ -40,7 +40,7 @@
40
$requirements = $symfonyRequirements->getRequirements();
41
42
// specific directory to check?
43
-$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd().'/composer.json' : null);
+$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd() : null);
44
if (null !== $dir) {
45
$projectRequirements = new ProjectRequirements($dir);
46
$requirements = array_merge($requirements, $projectRequirements->getRequirements());
0 commit comments