Skip to content

Commit

Permalink
CURB-4092 Updated CS fixer version; report but do not fail audit on a…
Browse files Browse the repository at this point in the history
…bandoned packages.
  • Loading branch information
Rekhyt committed May 21, 2024
1 parent b3ecdf1 commit d3c9a8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install dependencies (for CS fixer)
- name: Install dependencies
run: composer install
- name: Audit
run: composer audit
- name: Code Style
run: |
curl -L https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v3.50.0/php-cs-fixer.phar -o php-cs-fixer
curl -L https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v3.57.2/php-cs-fixer.phar -o php-cs-fixer
chmod a+x php-cs-fixer
./php-cs-fixer fix --config=.php-cs-fixer.dist.php --cache-file=.php-cs.cache --diff --dry-run --verbose
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"homepage": "https://github.com/shopgate/cart-integration-shopware",
"license": "Apache-2.0",
"config": {
"vendor-dir": "src/SgateShipFromStore/vendor"
"vendor-dir": "src/SgateShipFromStore/vendor",
"audit": {
"abandoned": "report"
}
},
"scripts": {
"test": "phpunit",
Expand Down

0 comments on commit d3c9a8c

Please sign in to comment.