File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,20 @@ language: php
22dist : trusty
33sudo : false
44
5- env :
6- global :
7- - PHPUNIT_VERSION=^8.0
8-
95matrix :
106 include :
117 - php : " 7.2"
128 env :
139 - LARAVEL_VERSION=^7.0
10+ - PHPUNIT_VERSION=^8.0
1411 - php : " 7.3"
1512 env :
1613 - LARAVEL_VERSION=^7.0
14+ - PHPUNIT_VERSION=^9.0
1715 - php : " 7.4"
1816 env :
1917 - LARAVEL_VERSION=^7.0
18+ - PHPUNIT_VERSION=^9.0
2019
2120install :
2221 - composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n
Original file line number Diff line number Diff line change 3838 },
3939 "require-dev" : {
4040 "ext-sqlite3" : " *" ,
41- "cloudcreativity/json-api-testing" : " ^2.1 " ,
41+ "cloudcreativity/json-api-testing" : " ^3.0 " ,
4242 "guzzlehttp/guzzle" : " ^6.3" ,
4343 "laravel/ui" : " ^2.0" ,
4444 "mockery/mockery" : " ^1.1" ,
4545 "orchestra/testbench" : " ^5.0" ,
46- "phpunit/phpunit" : " ^8 .0"
46+ "phpunit/phpunit" : " ^9 .0"
4747 },
4848 "suggest" : {
4949 "cloudcreativity/json-api-testing" : " Required to use the test helpers."
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Install using [Composer](http://getcomposer.org):
44
55``` bash
66$ composer require cloudcreativity/laravel-json-api
7- $ composer require --dev " cloudcreativity/json-api-testing:^1.2|^2.0 "
7+ $ composer require --dev " cloudcreativity/json-api-testing"
88```
99
1010This package's service provider and facade will be automatically added using package discovery. You will
@@ -16,7 +16,7 @@ Please find a compatibility matrix between Laravel and Laravel JSON API version
1616## Route Prefixes
1717
1818The default Laravel installation has an ` api ` prefix for API routes. If you want to register your JSON API
19- routes in your ` routes/api.php ` file, you will need to remove the prefix from the ` mapApiRoutes() ` method in your
19+ routes in your ` routes/api.php ` file, you will need to remove the prefix from the ` mapApiRoutes() ` method in your
2020` RouteServiceProvider ` .
2121
2222For example, change this:
@@ -102,7 +102,7 @@ class Handler extends ExceptionHandler
102102
103103 // do standard exception rendering here...
104104 }
105-
105+
106106 protected function prepareException(Exception $e)
107107 {
108108 if ($e instanceof JsonApiException) {
You can’t perform that action at this time.
0 commit comments