Skip to content

Commit

Permalink
Make local prefer lowest checking easier.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 9, 2023
1 parent 62fda40 commit ccbb7f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Great, so you want to contribute. Let's get started:
1. Run the unit tests locally to ensure they pass:

```
php vendor/bin/phpunit --config phpunit.xml
vendor/bin/phpunit
```

1. Write the code and unit tests for your bug fix or feature.
Expand Down Expand Up @@ -92,4 +92,4 @@ install [docker-compose](https://docs.docker.com/compose/) for your platform.
## Documentation

The Phinx documentation is stored in the **docs** directory using the [RestructedText](https://docutils.sourceforge.io/rst.html)
format. All documentation merged to `master` is automatically published to the Phinx documentation site available at https://docs.phinx.org.
format. All documentation merged to main branch is automatically published to the Phinx documentation site available at https://docs.phinx.org.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
"cs-fix": "phpcbf",
"stan": "phpstan analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:~1.9.0 && mv composer.backup composer.json",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
"test": "phpunit --colors=always"
},
"bin": [
Expand Down

0 comments on commit ccbb7f2

Please sign in to comment.