phpcs and phpstan fixes
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
"phpstan/phpstan": "^2.1",
|
||||
"dereuromark/composer-prefer-lowest": "^0.1.10",
|
||||
"cakedc/cakephp-phpstan": "^4.1",
|
||||
"fig-r/psr2r-sniffer": "^2.7"
|
||||
"cakephp/authentication": "^3.0",
|
||||
"fig-r/psr2r-sniffer": "^2.7",
|
||||
"cakephp/authorization": "3.x-dev"
|
||||
},
|
||||
"suggest": {
|
||||
"hi-powered-dev/cake-products": "Manage products and SKUs with a heirarhical category structure, includes attributes and variants"
|
||||
|
||||
@@ -8,3 +8,4 @@ parameters:
|
||||
bootstrapFiles:
|
||||
- tests/bootstrap.php
|
||||
treatPhpDocTypesAsCertain: false
|
||||
ignoreErrors:
|
||||
|
||||
@@ -9,8 +9,9 @@ use Cake\Log\Log;
|
||||
/**
|
||||
* CartItems Controller
|
||||
*
|
||||
* @property \CakeCarts\Controller\Component\ShoppingCartComponent $ShoppingCart
|
||||
* @property \CakeCarts\Model\Table\CartItemsTable $CartItems
|
||||
* @property \Authorization\Controller\Component\AuthorizationComponent $Authorization
|
||||
* @property \Authorization\Controller\Component\AuthorizationComponent|null $Authorization
|
||||
*/
|
||||
class CartItemsController extends AppController {
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ use CakeCarts\Model\Enum\CartTypeId;
|
||||
/**
|
||||
* Carts Model
|
||||
*
|
||||
* @property \CakeCarts\Model\Table\UsersTable&\Cake\ORM\Association\BelongsTo $Users
|
||||
* @property \Cake\ORM\Association\BelongsTo $Users
|
||||
* @property \CakeCarts\Model\Table\CartItemsTable&\Cake\ORM\Association\HasMany $CartItems
|
||||
*
|
||||
* @method \CakeCarts\Model\Entity\Cart newEmptyEntity()
|
||||
|
||||
Reference in New Issue
Block a user