Skip to content

Commit 67207dd

Browse files
committed
Update .gitignore to include vendor.lock, remove Psalm configuration, and adjust GrumPHP settings. Update GitHub Actions workflow to run composer update instead of install.
1 parent 141ba3c commit 67207dd

6 files changed

Lines changed: 507 additions & 2980 deletions

File tree

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
php-version: ${{ matrix.php-versions }}
2121
extensions: mbstring, intl #optional, setup extensions
2222
ini-values: post_max_size=256M #optional, setup php.ini configuration
23-
tools: psalm, phpcbf, phpcs
23+
tools: phpcbf, phpcs
2424
- name: Check PHP Version
2525
run: php -v
2626

2727
- name: Add dependencies
28-
run: composer install
28+
run: composer update && composer install
2929

3030
- name: Check composer
3131
run: composer validate

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/vendor/
2+
vendor.lock
23

34
/.idea

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,14 @@
2727
"phpcompatibility/phpcompatibility-wp": "^2.1",
2828
"phpro/grumphp-shim": "^2",
2929
"roave/security-advisories": "dev-latest",
30-
"vimeo/psalm": "^6",
3130
"wp-coding-standards/wpcs": "^3.1"
3231
},
3332
"scripts": {
3433
"cs": "./vendor/bin/phpcs ./",
35-
"cb": "./vendor/bin/phpcbf ./",
36-
"psalm": "./vendor/bin/psalm"
34+
"cb": "./vendor/bin/phpcbf ./"
3735
},
3836
"scripts-descriptions": {
3937
"cs": "Run PHP CodeSniffer on codebase using our ruleset.",
40-
"cb": "Run PHP Code Beautifier and Fixer on codebase using our ruleset.",
41-
"psalm": "Run psalm on codebase using our ruleset."
38+
"cb": "Run PHP Code Beautifier and Fixer on codebase using our ruleset."
4239
}
4340
}

0 commit comments

Comments
 (0)