Skip to content

Commit 3fad297

Browse files
committed
Revisit QA pipelines
1 parent 49b4fc8 commit 3fad297

3 files changed

Lines changed: 642 additions & 37 deletions

File tree

.github/workflows/psalm.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

pluginpass-pro-plugintheme-licensing/composer.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,9 @@
4444
},
4545

4646
"require-dev": {
47-
"squizlabs/php_codesniffer": "^4.0",
47+
"squizlabs/php_codesniffer": "^3.8",
4848
"wp-coding-standards/wpcs": "^3.2",
49-
"phpstan/phpstan": "^1.11",
50-
"phpstan/extension-installer": "^1.3",
51-
"vimeo/psalm": "^5.22",
52-
"psalm/plugin-wordpress": "^3.0"
49+
"phpcompatibility/phpcompatibility-wp": "^2.1"
5350
},
5451

5552
"autoload": {
@@ -70,10 +67,14 @@
7067
},
7168

7269
"scripts": {
73-
"lint": "phpcs --standard=WordPress pluginpass-pro-plugintheme-licensing",
74-
"phpstan": "phpstan analyse inc --memory-limit=1G",
75-
"psalm": "psalm --show-info=true"
70+
"lint": "phpcs --standard=phpcs.xml src",
71+
"lint-fix": "phpcbf --standard=phpcs.xml src"
7672
},
7773

78-
"prefer-stable": true
74+
"prefer-stable": true,
75+
"config": {
76+
"allow-plugins": {
77+
"dealerdirect/phpcodesniffer-composer-installer": true
78+
}
79+
}
7980
}

0 commit comments

Comments
 (0)