Skip to content

Commit

Permalink
Merge pull request #3 from swisnl/feature/laravel-8
Browse files Browse the repository at this point in the history
Add Laravel 8 support
  • Loading branch information
JaZo authored Oct 26, 2021
2 parents 06b346f + b6aba2d commit d5daa12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ matrix:
include:
- php: "7.2"
env: LARAVEL_VERSION="^6.0"
- php: "7.3"
env: LARAVEL_VERSION="^6.0"
- php: "7.3"
env: LARAVEL_VERSION="^7.0"
- php: "7.4"
env: LARAVEL_VERSION="^7.0"
env: LARAVEL_VERSION="^8.0"

## Cache composer
cache:
directories:
- $HOME/.composer/cache

before_script:
- composer require "illuminate/database:${LARAVEL_VERSION}" "illuminate/support:${LARAVEL_VERSION}" --no-update --no-interaction
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update --no-interaction
- travis_retry composer update --no-interaction --prefer-dist

script:
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"description": "Data scrubber for Laravel applications",
"type": "library",
"require": {
"fzaninotto/faker": "^1.7",
"illuminate/database": "^6.0|^7.0",
"illuminate/support": "^6.0|^7.0"
"laravel/framework": "^6.0|^7.0|^8.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"phpunit/phpunit" : "^8.5",
"orchestra/testbench" : "^4.0|^5.0",
"orchestra/database": "^4.0|^5.0"
"orchestra/testbench" : "^4.0|^5.0|^6.0",
"orchestra/database": "^4.0|^5.0|^6.0"
},
"autoload": {
"psr-4" : {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ return [
]
];
```
**Carwash** uses the fabulous [Faker](https://github.com/fzaninotto/Faker) package under the hood to generate replacement data. Please refer to the Faker documentation for a complete list of [available formatters](https://github.com/fzaninotto/Faker#formatters).
**Carwash** uses the fabulous [Faker](https://fakerphp.github.io/) package under the hood to generate replacement data. Please refer to the Faker documentation for a complete list of [available formatters](https://fakerphp.github.io/formatters/).

More generally, the format of the **Carwash** config file is:
```php
Expand Down

0 comments on commit d5daa12

Please sign in to comment.