Skip to content

Commit

Permalink
Update Symfony and code style fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg committed Feb 1, 2023
1 parent e2a068f commit 6f13246
Show file tree
Hide file tree
Showing 25 changed files with 1,007 additions and 821 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: [ 7.4, 8.0, 8.1, 8.2 ]

Expand All @@ -23,6 +24,7 @@ jobs:

- name: Check code style
run: composer cs-check
if: ${{ matrix.php == '8.1'}}

- name: Execute tests
run: composer test
2 changes: 1 addition & 1 deletion bin/cleanup_vendor.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

echo "Cleanup Vendors"
find vendor/fzaninotto/faker/src/Faker/Provider/ -maxdepth 1 -mindepth 1 -type d -not -name en_US -exec rm -r {} \;
find vendor/fakerphp/faker/src/Faker/Provider/ -maxdepth 1 -mindepth 1 -type d -not -name en_US -exec rm -r {} \;
22 changes: 10 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,23 @@
"guzzlehttp/guzzle": "^6.5.2",
"laravel-zero/phar-updater": "^1.1",
"shopwarelabs/plugin-info": "0.1.0",
"symfony/config": "~4.4",
"symfony/console": "~4.4",
"symfony/dependency-injection": "~4.4",
"symfony/process": "~4.4",
"symfony/yaml": "~4.4"
"symfony/config": "~5.4",
"symfony/console": "~5.4",
"symfony/dependency-injection": "~5.4",
"symfony/process": "~5.4",
"symfony/yaml": "~5.4"
},
"require-dev": {
"ext-phar": "*",
"friendsofphp/php-cs-fixer": "^2.19.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^2.5.0",
"phpunit/phpunit": "^8.5.15",
"symfony/var-dumper": "~4.4"
"friendsofphp/php-cs-fixer": "^3.14.3",
"kubawerlos/php-cs-fixer-custom-fixers": "^v3.11.3",
"phpunit/phpunit": "^9.5",
"symfony/var-dumper": "~5.4"
},
"scripts": {
"post-install-cmd": "ln -sf ../../hooks/pre-commit .git/hooks/pre-commit",
"post-update-cmd": "ln -sf ../../hooks/pre-commit .git/hooks/pre-commit",
"cs-check": "php-cs-fixer fix --dry-run -v",
"cs-fix": "php-cs-fixer fix -v",
"test": "phpunit --colors=always"
"test": "phpunit"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 6f13246

Please sign in to comment.