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"
],
"tests:unit": [
"phpunit --colors=always --display-deprecations tests "
"phpunit --colors=always --display-deprecations tests"
],
"tests:unit:coverage": [
"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"

View File

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