Upgrade pretty-package-versions to 1.5
So we can have a cleaner way to get the root package version
This commit is contained in:
parent
22bcbbb9ae
commit
f29a61f182
2 changed files with 8 additions and 8 deletions
|
@ -316,7 +316,7 @@ class Config
|
||||||
*/
|
*/
|
||||||
public function getAppVersion()
|
public function getAppVersion()
|
||||||
{
|
{
|
||||||
$version = PrettyVersions::getVersion('rudloff/alltube');
|
$version = PrettyVersions::getRootPackageVersion();
|
||||||
|
|
||||||
return $version->getPrettyVersion();
|
return $version->getPrettyVersion();
|
||||||
}
|
}
|
||||||
|
|
14
composer.lock
generated
14
composer.lock
generated
|
@ -473,24 +473,24 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "jean85/pretty-package-versions",
|
"name": "jean85/pretty-package-versions",
|
||||||
"version": "1.3.0",
|
"version": "1.5.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Jean85/pretty-package-versions.git",
|
"url": "https://github.com/Jean85/pretty-package-versions.git",
|
||||||
"reference": "e3517fb11b67e798239354fe8213927d012ad8f9"
|
"reference": "a917488320c20057da87f67d0d40543dd9427f7a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/e3517fb11b67e798239354fe8213927d012ad8f9",
|
"url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/a917488320c20057da87f67d0d40543dd9427f7a",
|
||||||
"reference": "e3517fb11b67e798239354fe8213927d012ad8f9",
|
"reference": "a917488320c20057da87f67d0d40543dd9427f7a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"composer/package-versions-deprecated": "^1.8.0",
|
"composer/package-versions-deprecated": "^1.8.0",
|
||||||
"php": "^7.0"
|
"php": "^7.0|^8.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^6.0"
|
"phpunit/phpunit": "^6.0|^8.5|^9.2"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
|
@ -520,7 +520,7 @@
|
||||||
"release",
|
"release",
|
||||||
"versions"
|
"versions"
|
||||||
],
|
],
|
||||||
"time": "2020-04-24T14:19:45+00:00"
|
"time": "2020-09-14T08:43:34+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "mathmarques/smarty-view",
|
"name": "mathmarques/smarty-view",
|
||||||
|
|
Loading…
Reference in a new issue