phpcbf and added .gitea workflows

This commit is contained in:
2026-01-23 20:32:22 -08:00
parent 4b45725b33
commit a033c13b8d
24 changed files with 949 additions and 919 deletions

View File

@@ -10,36 +10,35 @@ use CakeCarts\Controller\Component\ShoppingCartComponent;
/**
* CakeCarts\Controller\Component\ShoppingCartComponent Test Case
*/
class ShoppingCartComponentTest extends TestCase
{
/**
class ShoppingCartComponentTest extends TestCase {
/**
* Test subject
*
* @var \CakeCarts\Controller\Component\ShoppingCartComponent
*/
protected $ShoppingCart;
protected $ShoppingCart;
/**
/**
* setUp method
*
* @return void
*/
protected function setUp(): void
{
parent::setUp();
$registry = new ComponentRegistry();
$this->ShoppingCart = new ShoppingCartComponent($registry);
}
protected function setUp(): void {
parent::setUp();
$registry = new ComponentRegistry();
$this->ShoppingCart = new ShoppingCartComponent($registry);
}
/**
/**
* tearDown method
*
* @return void
*/
protected function tearDown(): void
{
unset($this->ShoppingCart);
protected function tearDown(): void {
unset($this->ShoppingCart);
parent::tearDown();
}
parent::tearDown();
}
}