|
35 | 35 | "config": { |
36 | 36 | "allow-plugins": { |
37 | 37 | "dealerdirect/phpcodesniffer-composer-installer": true, |
38 | | - "phpstan/extension-installer": true |
| 38 | + "phpstan/extension-installer": true, |
| 39 | + "lloc/composer-i18n-scripts": true |
39 | 40 | } |
40 | 41 | }, |
41 | 42 | "require-dev": { |
42 | 43 | "wp-coding-standards/wpcs": "^3.0", |
43 | 44 | "szepeviktor/phpstan-wordpress": "^2.0", |
44 | 45 | "phpstan/extension-installer": "^1.4", |
45 | | - "yoast/phpunit-polyfills": "^3.1", |
46 | 46 | "phpunit/phpunit": "^9.6", |
47 | 47 | "brain/monkey": "^2.0@dev", |
48 | | - "phpstan/phpstan-mockery": "^2.0" |
| 48 | + "phpstan/phpstan-mockery": "^2.0", |
| 49 | + "lloc/composer-i18n-scripts": "^1.0", |
| 50 | + "phpcompatibility/phpcompatibility-wp": "^2.1" |
49 | 51 | }, |
50 | 52 | "scripts": { |
51 | 53 | "tests": "./vendor/bin/phpunit -c ./phpunit.xml.dist", |
52 | 54 | "tests:coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit -c ./phpunit.xml.dist --coverage-html ./tests/coverage", |
53 | | - "cs": "./vendor/bin/phpcs .", |
54 | | - "cs:fix": "./vendor/bin/phpcbf .", |
| 55 | + "phpcs": "vendor/bin/phpcs .", |
| 56 | + "phpcbf": "./vendor/bin/phpcbf .", |
55 | 57 | "phpstan": "./vendor/bin/phpstan analyse --memory-limit=1G", |
56 | 58 | "qa": [ |
57 | 59 | "@cs", |
58 | 60 | "@phpstan" |
59 | 61 | ], |
60 | | - "i18n:pot": "wp i18n make-pot . languages/multisyde.pot", |
61 | 62 | "git-release": "bin/git-release.sh", |
62 | 63 | "build": [ |
63 | 64 | "@composer install --no-dev", |
|
0 commit comments