Skip to content

Commit

Permalink
Update and fix dependencies (#159)
Browse files Browse the repository at this point in the history
* Update dependencies

* Remove php 7.2 from test suite

* Add laravel legacy factories

* Fix styling

Co-authored-by: 50bhan <50bhan@users.noreply.github.com>
  • Loading branch information
50bhan and 50bhan committed Nov 14, 2020
1 parent 9cc1f31 commit 870b564
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.2.5, 7.3, 7.4]
php: [7.3, 7.4]
steps:
- uses: actions/checkout@v1

Expand Down
13 changes: 7 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
],
"license": "MIT",
"require": {
"php": "^7.2.5",
"illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0",
"illuminate/notifications": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0|^7.0|^8.0"
"php": "^7.3",
"illuminate/database": "^6.0|^7.0|^8.0",
"illuminate/support": "^6.0|^7.0|^8.0",
"illuminate/notifications": "^6.0|^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^7.1|^8.0",
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4.0",
"phpunit/phpunit": "^9.0",
"laravel/legacy-factories": "^1.0.4",
"orchestra/testbench": "^4.0|^5.0|^6.0",
"mockery/mockery": "^1.0.0",
"php-coveralls/php-coveralls": "^2.1"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Fouladgar\MobileVerification\ServiceProvider;
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Testing\TestResponse;
use Illuminate\Routing\Middleware\ThrottleRequests;
use Illuminate\Testing\TestResponse;
use Orchestra\Testbench\TestCase as BaseTestCase;

class TestCase extends BaseTestCase
Expand Down

0 comments on commit 870b564

Please sign in to comment.