8000 Update check-requirements.php script to v2.0.3 · symfony-cli/symfony-cli@2fde8a5 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2fde8a5

Browse files
committed
Update check-requirements.php script to v2.0.3
1 parent 8030089 commit 2fde8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/data/check-requirements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ private function getUploadMaxFilesize()
935935
$requirements = $symfonyRequirements->getRequirements();
936936

937937
// specific directory to check?
938-
$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd().'/composer.json' : null);
938+
$dir = isset($args[1]) ? $args[1] : (file_exists(getcwd().'/composer.json') ? getcwd() : null);
939939
if (null !== $dir) {
940940
$projectRequirements = new ProjectRequirements($dir);
941941
$requirements = array_merge($requirements, $projectRequirements->getRequirements());

0 commit comments

Comments
 (0)
0