Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 761a606

Browse files
committed
update contributing and packages, add parallel testing command
1 parent e754cac commit 761a606

File tree

3 files changed

+571
-435
lines changed

3 files changed

+571
-435
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We accept contributions via Pull Requests on [Github](https://github.com/joselfo
77

88
## Pull Requests
99

10-
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - Check the code style with ``$ composer check-style`` and fix it with ``$ composer fix-style``.
10+
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - Check and fix the code standard with ``$ composer cs``.
1111

1212
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
1313

@@ -25,7 +25,7 @@ We accept contributions via Pull Requests on [Github](https://github.com/joselfo
2525
## Running Tests
2626

2727
``` bash
28-
$ vendor/bin/phpunit
28+
$ composer test
2929
```
3030

3131

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"spatie/laravel-permission": "^3.17"
3434
},
3535
"require-dev": {
36+
"brianium/paratest": "^6.2",
3637
"eduarguz/shift-php-cs": "dev-master",
3738
"facade/ignition": "^2.5",
3839
"fakerphp/faker": "^1.9.1",
@@ -81,6 +82,9 @@
8182
],
8283
"cs": [
8384
"vendor/bin/php-cs-fixer fix --config=.php_cs.dist -vvv --using-cache=no"
85+
],
86+
"test": [
87+
"php artisan test --parallel"
8488
]
8589
}
8690
}

0 commit comments

Comments
 (0)