File tree Expand file tree Collapse file tree 3 files changed +5
-26
lines changed Expand file tree Collapse file tree 3 files changed +5
-26
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ language: php
1111php :
1212 - " 7.3"
1313 - " 7.4"
14+ - " 8.0"
1415
1516# Cache the vendor directory for quicker builds.
1617cache :
@@ -24,5 +25,4 @@ install:
2425
2526# Run the code style and unit tests.
2627script :
27- - composer test:style
28- - composer test:unit
28+ - composer test
Original file line number Diff line number Diff line change @@ -303,24 +303,10 @@ class CreatePostsTable extends Migration
303303
304304## Running the tests
305305
306- To run the test suite you can use the following commands :
306+ To run the test suite you can use the following command :
307307
308308``` bash
309- # To run both style and unit tests.
310309composer test
311-
312- # To run only style tests.
313- composer test:style
314-
315- # To run only unit tests.
316- composer test:unit
317- ```
318-
319- If you receive any errors from the style tests, you can automatically fix most,
320- if not all of the issues with the following command:
321-
322- ``` bash
323- composer fix:style
324310```
325311
326312## Contributing
Original file line number Diff line number Diff line change 2727 }
2828 },
2929 "require" : {
30- "php" : " ^7.3" ,
30+ "php" : " ^7.3 || ^8.0 " ,
3131 "laravel/framework" : " ^8.0"
3232 },
3333 "require-dev" : {
3434 "ext-pdo" : " *" ,
35- "friendsofphp/php-cs-fixer" : " ^2.15" ,
3635 "orchestra/testbench" : " ^6.0" ,
3736 "phpunit/phpunit" : " ^8.4"
3837 },
3938 "config" : {
4039 "sort-packages" : true
4140 },
4241 "scripts" : {
43- "test" : [
44- " @test:style" ,
45- " @test:unit"
46- ],
47- "test:style" : " php-cs-fixer fix --config=.php_cs --allow-risky=yes --dry-run --diff --verbose" ,
48- "test:unit" : " phpunit" ,
49- "fix:style" : " php-cs-fixer fix --config=.php_cs --allow-risky=yes --diff --verbose"
42+ "test" : " phpunit"
5043 },
5144 "extra" : {
5245 "laravel" : {
You can’t perform that action at this time.
0 commit comments