mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-02-18 00:18:40 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
ebf32e9cc1
commit
40043f26ac
28
Models/OrderSuggestionInterface.php
Normal file
28
Models/OrderSuggestionInterface.php
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Orange Management
|
||||||
|
*
|
||||||
|
* PHP Version 8.0
|
||||||
|
*
|
||||||
|
* @package Modules\Purchase\Models
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://orange-management.org
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Modules\Purchase\Models;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Order suggestion interface.
|
||||||
|
*
|
||||||
|
* @package Modules\Purchase\Models
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @link https://orange-management.org
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
interface OrderSuggestionInterface
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -14,10 +14,12 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Purchase\OrderSuggestion;
|
namespace Modules\Purchase\OrderSuggestion;
|
||||||
|
|
||||||
|
use Modules\Purchase\Models\OrderSuggestionInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* OMS order suggestion class
|
* OMS order suggestion class
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
@ -38,7 +40,7 @@ final class DefaultOrderSuggestion implements OrderSuggestionInterface
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public int $historicComparisonDurationType = OrderSuggestionComparisonDurationType::ANNUAL;
|
public int $historicComparisonDurationType = OrderSuggestionComparisonDurationType::ANNUALY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* How many years should used for the analysis.
|
* How many years should used for the analysis.
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* PHP Version 8.0
|
* PHP Version 8.0
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
||||||
/**
|
/**
|
||||||
* Suggestion type enum.
|
* Suggestion type enum.
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* PHP Version 8.0
|
* PHP Version 8.0
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
||||||
/**
|
/**
|
||||||
* Suggestion type enum.
|
* Suggestion type enum.
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* PHP Version 8.0
|
* PHP Version 8.0
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
||||||
/**
|
/**
|
||||||
* Suggestion type enum.
|
* Suggestion type enum.
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* PHP Version 8.0
|
* PHP Version 8.0
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\Enum;
|
||||||
/**
|
/**
|
||||||
* Suggestion type enum.
|
* Suggestion type enum.
|
||||||
*
|
*
|
||||||
* @package Modules\Purchase\Models\OrderSuggestion
|
* @package Modules\Purchase\OrderSuggestion
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
],
|
],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": ">=9.4",
|
"phpunit/phpunit": ">=9.4",
|
||||||
"friendsofphp/php-cs-fixer": ">=2.18",
|
"friendsofphp/php-cs-fixer": ">=3.0",
|
||||||
"squizlabs/php_codesniffer": ">=3.5",
|
"squizlabs/php_codesniffer": ">=3.5",
|
||||||
"phpmd/phpmd": ">=2.9",
|
"phpmd/phpmd": ">=2.9",
|
||||||
"phpstan/phpstan": ">=0.12.58",
|
"phpstan/phpstan": ">=0.12.58",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user