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.
1 parent 20806cc commit 1edf7f0Copy full SHA for 1edf7f0
semver.php
@@ -66,7 +66,7 @@ function get_complete_version(array $version): array
66
defined('VERSION') && is_array(VERSION) => get_version_array(join('-', array_filter(VERSION))),
67
is_file($version = __DIR__ . '/../../../VERSION'), // project dir relative to /vendor
68
is_file($version = getcwd() . '/VERSION') => get_version_array(@file_get_contents($version)),
69
- default => INVALID_VERSION_ARRAY,
+ default => INVALID_VERSION_ARRAY
70
};
71
}
72
assert(3 === count($version), 'version array should have exactly 3 parts');
0 commit comments