feat: --profanity

This commit is contained in:
Nuno Maduro
2025-06-12 00:38:05 +01:00
parent 0fc9d4dfe0
commit 5d2aafd2a3
2 changed files with 10 additions and 5 deletions

View File

@ -31,8 +31,11 @@ jobs:
- name: Install Dependencies
run: composer update --prefer-stable --no-interaction --no-progress --ansi
# - name: Type Check
# run: composer test:type:check
- name: Profanity Check
run: composer test:profanity
- name: Type Check
run: composer test:type:check
- name: Type Coverage
run: composer test:type:coverage

View File

@ -18,12 +18,13 @@
],
"require": {
"php": "^8.3.0",
"brianium/paratest": "^7.10.1",
"nunomaduro/collision": "^8.8.0",
"brianium/paratest": "^7.10.2",
"nunomaduro/collision": "^8.8.1",
"nunomaduro/termwind": "^2.3.1",
"pestphp/pest-plugin": "^4.0.0",
"pestphp/pest-plugin-arch": "^4.0.0",
"pestphp/pest-plugin-mutate": "^4.0.0",
"pestphp/pest-plugin-profanity": "^4.0.0",
"phpunit/phpunit": "^12.2.1"
},
"conflict": {
@ -55,7 +56,7 @@
"require-dev": {
"pestphp/pest-dev-tools": "^4.0.0",
"pestphp/pest-plugin-type-coverage": "^4.0.0",
"symfony/process": "^7.2.5"
"symfony/process": "^7.3.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
@ -74,6 +75,7 @@
"lint": "pint",
"test:refacto": "rector --dry-run",
"test:lint": "pint --test",
"test:profanity": "php bin/pest --profanity --compact --language=en",
"test:type:check": "phpstan analyse --ansi --memory-limit=-1 --debug",
"test:type:coverage": "php -d memory_limit=-1 bin/pest --type-coverage --min=100",
"test:unit": "php bin/pest --exclude-group=integration --compact",