Skip to content

Commit

Permalink
Add a Composer lock file for development
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Jan 23, 2022
1 parent 6b20340 commit 7c14991
Show file tree
Hide file tree
Showing 4 changed files with 4,232 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@ jobs:

- name: Install dependencies
run: |
# Don't use our lock file for unit tests
rm composer.lock
# We do not use it in unit tests
composer remove --dev \
friendsofphp/php-cs-fixer \
kubawerlos/php-cs-fixer-custom-fixers
composer install
- name: Run test suite
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
.phpunit.result.cache
_site/
composer.phar
composer.lock
Gemfile.lock
vendor/
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"scripts": {
"bench": "php tools/bench.php",
"cs-fix": "php-cs-fixer fix",
"cs-fix": "php-cs-fixer fix -v",
"cs-check": "php-cs-fixer fix --dry-run -v --diff",
"doc": [
"php tools/phpDocGen.php",
Expand Down
Loading

0 comments on commit 7c14991

Please sign in to comment.