mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-12 15:58:40 +00:00
fix phpstan/phpcs
This commit is contained in:
parent
4387e28fef
commit
54e073779a
|
|
@ -134,7 +134,7 @@ final class Importer extends ImporterAbstract
|
||||||
$supportedLanguages = \array_slice($header, 4);
|
$supportedLanguages = \array_slice($header, 4);
|
||||||
$keyLengths = [];
|
$keyLengths = [];
|
||||||
|
|
||||||
while(($line = \fgetcsv($fp, 0, ';', '"')) !== false) {
|
while (($line = \fgetcsv($fp, 0, ';', '"')) !== false) {
|
||||||
$translations = \array_slice($line, 4);
|
$translations = \array_slice($line, 4);
|
||||||
|
|
||||||
$line[0] = \trim($line[0]);
|
$line[0] = \trim($line[0]);
|
||||||
|
|
|
||||||
|
|
@ -67,9 +67,7 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public int |
|
public int|InterfaceManager $exchange = 0;
|
||||||
|
|
||||||
InterfaceManager $exchange = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Date type.
|
* Date type.
|
||||||
|
|
@ -79,9 +77,7 @@ InterfaceManager $exchange = 0;
|
||||||
*/
|
*/
|
||||||
public \DateTimeImmutable $createdAt;
|
public \DateTimeImmutable $createdAt;
|
||||||
|
|
||||||
public int |
|
public int|Account $createdBy = 0;
|
||||||
|
|
||||||
Account $createdBy = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -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