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

Commit

Permalink
update contributing and packages, add parallel testing command
Browse files Browse the repository at this point in the history
  • Loading branch information
joselfonseca committed Apr 18, 2021
1 parent e754cac commit 761a606
Show file tree
Hide file tree
Showing 3 changed files with 571 additions and 435 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ We accept contributions via Pull Requests on [Github](https://github.com/joselfo

## Pull Requests

- **[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``.
- **[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``.

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

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

``` bash
$ vendor/bin/phpunit
$ composer test
```


Expand Down
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"spatie/laravel-permission": "^3.17"
},
"require-dev": {
"brianium/paratest": "^6.2",
"eduarguz/shift-php-cs": "dev-master",
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
Expand Down Expand Up @@ -81,6 +82,9 @@
],
"cs": [
"vendor/bin/php-cs-fixer fix --config=.php_cs.dist -vvv --using-cache=no"
],
"test": [
"php artisan test --parallel"
]
}
}
Loading

0 comments on commit 761a606

Please sign in to comment.