And a commit that I don't know the reason of...

This commit is contained in:
2025-05-12 14:43:47 -04:00
parent 7f7af2f3b4
commit 28dcc6a20d
5 changed files with 8 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ use Siteworxpro\App\Traefik\RedisClient as RedisClientConcrete;
*
* This class provides a static interface to the RedisClientConcrete class.
*
* @method static void createOrReplace(string $name, array $data, EntityEnum $entity, ProtocolEnum $type = ProtocolEnum::HTTP)
* @method static void createOrReplace(string $name, array $data, EntityEnum $entity, ProtocolEnum $type = ProtocolEnum::HTTP) // @codingStandardsIgnoreLine
* @method static bool deleteAllKeys(string $name, EntityEnum $entity, ProtocolEnum $protocol = ProtocolEnum::HTTP)
* @method static array getAllMiddlewares(ProtocolEnum $protocol = ProtocolEnum::HTTP)
* @method static array getMiddleware(string $name, ProtocolEnum $protocol = ProtocolEnum::HTTP)
@@ -42,4 +42,4 @@ class RedisClient extends Facade
{
return RedisClientConcrete::class;
}
}
}

View File

@@ -66,10 +66,10 @@ class ControllerTest extends Unit
$fooController->patch($request);
}
}
// This is a dummy controller for testing purposes
// @codingStandardsIgnoreLine
class FooController extends Controller
{
}
}

View File

@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
class MiddlewareControllerTest extends Unit
{
/**
* @throws \JsonException
*/
@@ -143,4 +142,4 @@ class MiddlewareControllerTest extends Unit
$this->assertEquals(400, $response->getStatusCode());
$this->assertEquals('{"error":"Middleware is invalid"}', (string)$response->getBody());
}
}
}

View File

@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
class RoutesControllerTest extends Unit
{
/**
* @throws \JsonException
*/
@@ -157,4 +156,4 @@ class RoutesControllerTest extends Unit
$this->assertEquals(400, $response->getStatusCode());
$this->assertEquals('{"error":"Rule is required"}', (string)$response->getBody());
}
}
}

View File

@@ -13,7 +13,6 @@ use Siteworxpro\Tests\Unit;
class ServicesControllerTest extends Unit
{
/**
* @throws \JsonException
*/
@@ -160,4 +159,4 @@ class ServicesControllerTest extends Unit
$this->assertEquals(400, $response->getStatusCode());
$this->assertEquals('{"error":"Service name is required"}', (string)$response->getBody());
}
}
}