From f0f9ebeb8c28adc7a8d87abd200c761f4b4ed7cd Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Wed, 10 Sep 2025 23:53:01 -0700 Subject: [PATCH] fix @uses errors --- .../ProductCatalogsControllerTest.php | 16 +++++++------- .../ProductCategoriesControllerTest.php | 20 ++++++++--------- ...CategoryAttributeOptionsControllerTest.php | 6 ++--- ...roductCategoryAttributesControllerTest.php | 22 +++++++++---------- .../ProductPhotosControllerTest.php | 22 +++++++++---------- .../Controller/ProductsControllerTest.php | 20 ++++++++--------- 6 files changed, 53 insertions(+), 53 deletions(-) diff --git a/tests/TestCase/Controller/ProductCatalogsControllerTest.php b/tests/TestCase/Controller/ProductCatalogsControllerTest.php index 9dc35a2..8b39964 100644 --- a/tests/TestCase/Controller/ProductCatalogsControllerTest.php +++ b/tests/TestCase/Controller/ProductCatalogsControllerTest.php @@ -88,7 +88,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests the view action with a logged in user * - * @uses ProductCatalogsController::view() + * @uses \CakeProducts\Controller\ProductCatalogsController::view() * @throws Exception * * @return void @@ -112,7 +112,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests the add action with a logged in user * - * @uses ProductCatalogsController::add() + * @uses \CakeProducts\Controller\ProductCatalogsController::add() * @throws Exception * * @return void @@ -139,7 +139,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests a POST request to the add action with a logged in user * - * @uses ProductCatalogsController::add() + * @uses \CakeProducts\Controller\ProductCatalogsController::add() * @throws Exception * * @return void @@ -172,7 +172,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests a POST request to the add action with a logged in user * - * @uses ProductCatalogsController::add() + * @uses \CakeProducts\Controller\ProductCatalogsController::add() * @throws Exception * * @return void @@ -204,7 +204,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests the edit action with a logged in user * - * @uses ProductCatalogsController::edit() + * @uses \CakeProducts\Controller\ProductCatalogsController::edit() * @throws Exception * * @return void @@ -228,7 +228,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests a PUT request to the edit action with a logged in user * - * @uses ProductCatalogsController::edit() + * @uses \CakeProducts\Controller\ProductCatalogsController::edit() * @throws Exception * * @return void @@ -266,7 +266,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests a PUT request to the edit action with a logged in user * - * @uses ProductCatalogsController::edit() + * @uses \CakeProducts\Controller\ProductCatalogsController::edit() * @throws Exception * * @return void @@ -300,7 +300,7 @@ class ProductCatalogsControllerTest extends BaseControllerTest * * Tests the delete action with a logged in user * - * @uses ProductCatalogsController::delete() + * @uses \CakeProducts\Controller\ProductCatalogsController::delete() * @throws Exception * * @return void diff --git a/tests/TestCase/Controller/ProductCategoriesControllerTest.php b/tests/TestCase/Controller/ProductCategoriesControllerTest.php index 0265f75..022b9f5 100644 --- a/tests/TestCase/Controller/ProductCategoriesControllerTest.php +++ b/tests/TestCase/Controller/ProductCategoriesControllerTest.php @@ -13,7 +13,7 @@ use PHPUnit\Exception; /** * CakeProducts\Controller\ProductCategoriesController Test Case * - * @uses ProductCategoriesController + * @uses \CakeProducts\Controller\ProductCategoriesController */ class ProductCategoriesControllerTest extends BaseControllerTest { @@ -68,7 +68,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::index + * @uses \CakeProducts\Controller\ProductCategoriesController::index */ public function testIndexGet(): void { @@ -90,7 +90,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::view + * @uses \CakeProducts\Controller\ProductCategoriesController::view */ public function testViewGet(): void { @@ -114,7 +114,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::add + * @uses \CakeProducts\Controller\ProductCategoriesController::add */ public function testAddGet(): void { @@ -141,7 +141,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::add + * @uses \CakeProducts\Controller\ProductCategoriesController::add */ public function testAddPostSuccess(): void { @@ -176,7 +176,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::add + * @uses \CakeProducts\Controller\ProductCategoriesController::add */ public function testAddPostFailure(): void { @@ -210,7 +210,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::edit + * @uses \CakeProducts\Controller\ProductCategoriesController::edit */ public function testEditGet(): void { @@ -233,7 +233,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::edit + * @uses \CakeProducts\Controller\ProductCategoriesController::edit */ public function testEditPutSuccess(): void { @@ -275,7 +275,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoriesController::edit + * @uses \CakeProducts\Controller\ProductCategoriesController::edit */ public function testEditPutFailure(): void { @@ -310,7 +310,7 @@ class ProductCategoriesControllerTest extends BaseControllerTest * @return void *@throws Exception * - * @uses ProductCategoriesController::delete + * @uses \CakeProducts\Controller\ProductCategoriesController::delete */ public function testDelete(): void { diff --git a/tests/TestCase/Controller/ProductCategoryAttributeOptionsControllerTest.php b/tests/TestCase/Controller/ProductCategoryAttributeOptionsControllerTest.php index 21e18af..381dd23 100644 --- a/tests/TestCase/Controller/ProductCategoryAttributeOptionsControllerTest.php +++ b/tests/TestCase/Controller/ProductCategoryAttributeOptionsControllerTest.php @@ -66,7 +66,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses CustomersContactsController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::add */ public function testAddGet(): void { @@ -93,7 +93,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses CustomersContactsController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::add */ public function testAddPostHasNoEffect(): void { @@ -121,7 +121,7 @@ class ProductCategoryAttributeOptionsControllerTest extends BaseControllerTest * @return void *@throws Exception * - * @uses CustomersContactsController::delete + * @uses \CakeProducts\Controller\ProductCategoryAttributeOptions::delete */ public function testDelete(): void { diff --git a/tests/TestCase/Controller/ProductCategoryAttributesControllerTest.php b/tests/TestCase/Controller/ProductCategoryAttributesControllerTest.php index 39d7bfc..831634e 100644 --- a/tests/TestCase/Controller/ProductCategoryAttributesControllerTest.php +++ b/tests/TestCase/Controller/ProductCategoryAttributesControllerTest.php @@ -13,7 +13,7 @@ use PHPUnit\Exception; /** * CakeProducts\Controller\ProductCategoryAttributesController Test Case * - * @uses ProductCategoryAttributesController + * @uses \CakeProducts\Controller\ProductCategoryAttributesController */ class ProductCategoryAttributesControllerTest extends BaseControllerTest { @@ -68,7 +68,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::index + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::index */ public function testIndexGet(): void { @@ -90,7 +90,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::view + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::view */ public function testViewGet(): void { @@ -114,7 +114,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::add */ public function testAddGet(): void { @@ -141,7 +141,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::add */ public function testAddPostSuccess(): void { @@ -175,7 +175,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::add */ public function testAddPostSuccessConstrainedWithOptions(): void { @@ -225,7 +225,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::add + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::add */ public function testAddPostFailure(): void { @@ -258,7 +258,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::edit + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit */ public function testEditGet(): void { @@ -281,7 +281,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::edit + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit */ public function testEditPutSuccess(): void { @@ -318,7 +318,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductCategoryAttributesController::edit + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::edit */ public function testEditPutFailure(): void { @@ -352,7 +352,7 @@ class ProductCategoryAttributesControllerTest extends BaseControllerTest * @return void *@throws Exception * - * @uses ProductCategoryAttributesController::delete + * @uses \CakeProducts\Controller\ProductCategoryAttributesController::delete */ public function testDelete(): void { diff --git a/tests/TestCase/Controller/ProductPhotosControllerTest.php b/tests/TestCase/Controller/ProductPhotosControllerTest.php index 1dc0d33..f46e561 100644 --- a/tests/TestCase/Controller/ProductPhotosControllerTest.php +++ b/tests/TestCase/Controller/ProductPhotosControllerTest.php @@ -18,7 +18,7 @@ use const UPLOAD_ERR_OK; /** * CakeProducts\Controller\ProductPhotosController Test Case * - * @uses ProductPhotosController + * @uses \CakeProducts\Controller\ProductPhotosController */ class ProductPhotosControllerTest extends BaseControllerTest { @@ -72,7 +72,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::index + * @uses \CakeProducts\Controller\ProductPhotosController::index */ public function testIndexGetLoggedIn(): void { @@ -94,7 +94,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::view + * @uses \CakeProducts\Controller\ProductPhotosController::view */ public function testViewGetLoggedIn(): void { @@ -118,7 +118,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::add + * @uses \CakeProducts\Controller\ProductPhotosController::add */ public function testAddGetLoggedIn(): void { @@ -145,7 +145,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::add + * @uses \CakeProducts\Controller\ProductPhotosController::add */ public function testAddPostLoggedInSuccess(): void { @@ -200,7 +200,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::add + * @uses \CakeProducts\Controller\ProductPhotosController::add */ public function testAddPostLoggedInFailure(): void { @@ -229,7 +229,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::edit + * @uses \CakeProducts\Controller\ProductPhotosController::edit */ public function testEditGetLoggedIn(): void { @@ -254,7 +254,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::edit + * @uses \CakeProducts\Controller\ProductPhotosController::edit */ public function testEditPutLoggedInSuccess(): void { @@ -292,7 +292,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::edit + * @uses \CakeProducts\Controller\ProductPhotosController::edit */ public function testEditPutLoggedInFailure(): void { @@ -327,7 +327,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::delete + * @uses \CakeProducts\Controller\ProductPhotosController::delete */ public function testDeleteLoggedIn(): void { @@ -356,7 +356,7 @@ class ProductPhotosControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductPhotosController::image + * @uses \CakeProducts\Controller\ProductPhotosController::image */ public function testImageGetLoggedIn(): void { diff --git a/tests/TestCase/Controller/ProductsControllerTest.php b/tests/TestCase/Controller/ProductsControllerTest.php index 5756fa3..4448e90 100644 --- a/tests/TestCase/Controller/ProductsControllerTest.php +++ b/tests/TestCase/Controller/ProductsControllerTest.php @@ -14,7 +14,7 @@ use PHPUnit\Exception; /** * CakeProducts\Controller\ProductsController Test Case * - * @uses ProductsController + * @uses \CakeProducts\Controller\ProductsController */ class ProductsControllerTest extends BaseControllerTest { @@ -73,7 +73,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::index + * @uses \CakeProducts\Controller\ProductsController::index */ public function testIndexGet(): void { @@ -95,7 +95,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::view + * @uses \CakeProducts\Controller\ProductsController::view */ public function testViewGet(): void { @@ -119,7 +119,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::add + * @uses \CakeProducts\Controller\ProductsController::add */ public function testAddGet(): void { @@ -146,7 +146,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::add + * @uses \CakeProducts\Controller\ProductsController::add */ public function testAddPostSuccess(): void { @@ -192,7 +192,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::add + * @uses \CakeProducts\Controller\ProductsController::add */ public function testAddPostFailure(): void { @@ -226,7 +226,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::edit + * @uses \CakeProducts\Controller\ProductsController::edit */ public function testEditGet(): void { @@ -249,7 +249,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::edit + * @uses \CakeProducts\Controller\ProductsController::edit */ public function testEditPutSuccess(): void { @@ -287,7 +287,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void * @throws Exception * - * @uses ProductsController::edit + * @uses \CakeProducts\Controller\ProductsController::edit */ public function testEditPutFailure(): void { @@ -322,7 +322,7 @@ class ProductsControllerTest extends BaseControllerTest * @return void *@throws Exception * - * @uses ProductsController::delete + * @uses \CakeProducts\Controller\ProductsController::delete */ public function testDelete(): void {