I would rather be playing Factorio.

This commit is contained in:
2025-05-12 15:23:04 -04:00
parent 9c1445972d
commit 5587dffeeb
2 changed files with 5 additions and 6 deletions

View File

@@ -33,18 +33,18 @@
"composer run-script tests:phpstan" "composer run-script tests:phpstan"
], ],
"tests:unit": [ "tests:unit": [
"phpunit --colors=always --display-deprecations tests " "phpunit --colors=always --display-deprecations tests"
], ],
"tests:unit:coverage": [ "tests:unit:coverage": [
"phpunit --coverage-text --colors=never --display-deprecations --log-junit tests/reports/junit.xml --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": [ "tests:lint": [
"phpcs ./src --standard=PSR12 --colors -v", "phpcs ./src/**/*.php --standard=PSR12 --colors -v",
"phpcs ./tests --standard=PSR12 --colors -v" "phpcs ./tests/**/*.php --standard=PSR12 --colors -v"
], ],
"tests:lint:fix": [ "tests:lint:fix": [
"phpcbf ./src --standard=PSR12 --colors -v", "phpcbf ./src/**/*.php --standard=PSR12 --colors -v",
"phpcbf ./tests --standard=PSR12 --colors -v" "phpcbf ./tests/**/*.php --standard=PSR12 --colors -v"
], ],
"tests:license": [ "tests:license": [
"composer-license-checker" "composer-license-checker"

View File

@@ -14,7 +14,6 @@ use Siteworxpro\Tests\Unit;
class RedisClientRoutersTest extends Unit class RedisClientRoutersTest extends Unit
{ {
private function createTest(ProtocolEnum $protocol): void private function createTest(ProtocolEnum $protocol): void
{ {
$commandFactory = Mockery::mock(FactoryInterface::class) $commandFactory = Mockery::mock(FactoryInterface::class)