Compare commits

..

No commits in common. "master" and "0.1.3.1" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -15,11 +15,6 @@
}
],
"bin": [ "bin/dataset-info" ],
"require": {
"php": "^7.4|^8.0",
"ext-simplexml": "*",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.8"

View File

@ -84,7 +84,7 @@ class DatasetManager
if (file_exists($fn)) {
$versions = include $fn;
foreach ($versions['versions'] as $name=>$version) {
self::$packageVersions[$name] = array_key_exists('version',$version) ? $version['version'] : null;
self::$packageVersions[$name] = $version['version'];
}
}