Skip to content

Commit e68f11c

Browse files
authored
Merge pull request #50 from Erwui/main
ProjectRequirements Symfony version detection
2 parents e158a5b + e407c87 commit e68f11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/requirements-checker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
$requirements = $symfonyRequirements->getRequirements();
4141

4242
// specific directory to check?
43-
$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd().'/composer.json' : null);
43+
$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd() : null);
4444
if (null !== $dir) {
4545
$projectRequirements = new ProjectRequirements($dir);
4646
$requirements = array_merge($requirements, $projectRequirements->getRequirements());

0 commit comments

Comments
 (0)