mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-01-23 14:28:41 +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);
|
||||
$keyLengths = [];
|
||||
|
||||
while(($line = \fgetcsv($fp, 0, ';', '"')) !== false) {
|
||||
while (($line = \fgetcsv($fp, 0, ';', '"')) !== false) {
|
||||
$translations = \array_slice($line, 4);
|
||||
|
||||
$line[0] = \trim($line[0]);
|
||||
|
|
|
|||
|
|
@ -67,9 +67,7 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int |
|
||||
|
||||
InterfaceManager $exchange = 0;
|
||||
public int|InterfaceManager $exchange = 0;
|
||||
|
||||
/**
|
||||
* Date type.
|
||||
|
|
@ -79,9 +77,7 @@ InterfaceManager $exchange = 0;
|
|||
*/
|
||||
public \DateTimeImmutable $createdAt;
|
||||
|
||||
public int |
|
||||
|
||||
Account $createdBy = 0;
|
||||
public int|Account $createdBy = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
],
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": ">=9.4",
|
||||
"friendsofphp/php-cs-fixer": ">=2.18",
|
||||
"friendsofphp/php-cs-fixer": ">=3.0",
|
||||
"squizlabs/php_codesniffer": ">=3.5",
|
||||
"phpmd/phpmd": ">=2.9",
|
||||
"phpstan/phpstan": ">=0.12.58",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user