It worked for me...

This commit is contained in:
2025-05-13 18:23:37 -04:00
parent 3d94baf410
commit e2b10097aa
8 changed files with 154 additions and 15 deletions

View File

@@ -15,7 +15,8 @@
"nyholm/psr7": "^1.8",
"illuminate/support": "^v12.10.2",
"roadrunner-php/app-logger": "^1.2",
"siteworxpro/config": "^1.1"
"siteworxpro/config": "^1.1",
"predis/predis": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^12.1",
@@ -32,18 +33,18 @@
"composer run-script tests:phpstan"
],
"tests:unit": [
"phpunit --colors=always --display-deprecations tests "
"phpunit --colors=always --display-deprecations tests"
],
"tests:unit:coverage": [
"phpunit --colors=always --display-deprecations --coverage-html tests/reports/html tests "
"phpunit --coverage-text --colors=never --display-deprecations --log-junit tests/reports/junit.xml --coverage-html tests/reports/html tests "
],
"tests:lint": [
"phpcs ./src --standard=PSR12 --colors -v",
"phpcs ./tests --standard=PSR12 --colors -v"
"phpcs ./src/**/*.php --standard=PSR12 --colors -v",
"phpcs ./tests/**/*.php --standard=PSR12 --colors -v"
],
"tests:lint:fix": [
"phpcbf ./src --standard=PSR12 --colors -v",
"phpcbf ./tests --standard=PSR12 --colors -v"
"phpcbf ./src/**/*.php --standard=PSR12 --colors -v",
"phpcbf ./tests/**/*.php --standard=PSR12 --colors -v"
],
"tests:license": [
"composer-license-checker"