Skip to content

Commit

Permalink
Merge pull request #7 from 1PilotApp/laravel_6
Browse files Browse the repository at this point in the history
Add support of Laravel 6
  • Loading branch information
ChVuagniaux authored Sep 5, 2019
2 parents b3f1f9f + c115ce3 commit 993bf19
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://1pilot.io/laravel"><img src="https://1pilot.io/assets/images/repos/1pilot_logo_laravel.png" alt="1Pilot.io - a universal dashboard to effortlessly manage all your sites"></a>
<a href="https://1pilot.io/laravel"><img src="https://1pilot.io/assets/images/repos/1pilot_logo_laravel6.png" alt="1Pilot.io - a universal dashboard to effortlessly manage all your sites"></a>
</p>

<p align="center">
Expand All @@ -23,7 +23,7 @@
<a href="https://1pilot.nolt.io" target="_blank">Feedback</a>
<span> · </span>
<a href="mailto:[email protected]" target="_blank">Support</a>
</h4><br>
</p><br>

<blockquote>
<p><strong>[You]</strong> What are you, strange being?</p>
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/Classes/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 993bf19

Please sign in to comment.