From 6cb145788c0b0659110fc9759c3f6fa56157cd5c Mon Sep 17 00:00:00 2001 From: Christophe Vuagniaux Date: Wed, 4 Sep 2019 17:08:17 +0200 Subject: [PATCH 1/3] Add support of Laravel 6 --- .travis.yml | 2 ++ composer.json | 10 +++++----- src/Classes/Composer.php | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b8bba2..ebee10e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ matrix: env: LARAVEL='5.7.*' 'TESTBENCH='3.7.*' - php: 7.3 env: LARAVEL='5.8.*' 'TESTBENCH='3.8.*' + - php: 7.3 + env: LARAVEL='^6.0' 'TESTBENCH='^4.0' fast_finish: true diff --git a/composer.json b/composer.json index a74b6fe..c5896c8 100644 --- a/composer.json +++ b/composer.json @@ -20,13 +20,13 @@ "ext-json": "*", "composer/semver": "^1.4", "guzzlehttp/guzzle": "^6.3", - "illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/routing": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0" + "illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0", + "illuminate/routing": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0", + "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0" }, "require-dev": { - "phpunit/phpunit": "^6.0|^7.0", - "orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0" + "phpunit/phpunit": "^6.0|^7.0|^8.0", + "orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0" }, "autoload": { "psr-4": { diff --git a/src/Classes/Composer.php b/src/Classes/Composer.php index ede16e0..993bc80 100644 --- a/src/Classes/Composer.php +++ b/src/Classes/Composer.php @@ -174,7 +174,7 @@ private function getLatestPackage($packageName) */ private function removePrefix($version, $prefix = 'v') { - if (empty($version) || !starts_with($version, $prefix)) { + if (empty($version) || !Str::startsWith($version, $prefix)) { return $version; } From 2fa3dee586442cc4fad1e7274990af104835b427 Mon Sep 17 00:00:00 2001 From: Christophe Vuagniaux Date: Thu, 5 Sep 2019 10:46:23 +0200 Subject: [PATCH 2/3] Use new Laravel logo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 488fcc0..9652ddd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- 1Pilot.io - a universal dashboard to effortlessly manage all your sites + 1Pilot.io - a universal dashboard to effortlessly manage all your sites

From c115ce32167167c0ec47f2c336c6df6ee8bfbf43 Mon Sep 17 00:00:00 2001 From: Christophe Vuagniaux Date: Thu, 5 Sep 2019 10:47:00 +0200 Subject: [PATCH 3/3] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9652ddd..0bc2f10 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Feedback ยท Support -
+


[You] What are you, strange being?