Cleanup, add PHP file support #167
Annotations
10 errors and 1 warning
Lint:
inc/Configuration.php#L87
Method Required\Traduttore\Configuration::get_config_value() return type has no value type specified in iterable type array.
|
Lint:
inc/Configuration.php#L87
PHPDoc tag @return with type array{mergeWith?: string, textDomain?: string, exclude?: array<string>}[T]|null is not subtype of native type array|string|null.
|
Lint:
inc/Updater.php#L184
Parameter #1 $string of function ltrim expects string, array|string given.
|
Lint:
inc/Updater.php#L202
Binary operation "." between '--domain=' and non-empty-array|non-falsy-string results in an error.
|
Lint:
inc/Updater.php#L203
Parameter #2 $array of function implode expects array|null, array|string given.
|
Lint:
tests/phpunit/tests/Export.php#L154
Method Required\Traduttore\Tests\Export::filter_map_entries_to_source() has invalid return type Required\Traduttore\Tests\Translation_Entry.
|
Lint:
tests/phpunit/tests/Export.php#L159
Method Required\Traduttore\Tests\Export::filter_map_entries_to_source() should return array<string, array<Required\Traduttore\Tests\Translation_Entry>> but returns array<string, array<Translation_Entry>>.
|
Lint:
tests/phpunit/tests/Loader/Git.php#L22
Property Required\Traduttore\Tests\Loader\Git::$project has unknown class Required\Traduttore\Tests\Loader\Project as its type.
|
Lint:
tests/phpunit/tests/Loader/Git.php#L27
Property Required\Traduttore\Tests\Loader\Git::$project (Required\Traduttore\Tests\Loader\Project) does not accept Required\Traduttore\Project.
|
Lint:
tests/phpunit/tests/Loader/Git.php#L39
Parameter #1 $project of class Required\Traduttore\Repository\GitHub constructor expects Required\Traduttore\Project, Required\Traduttore\Tests\Loader\Project given.
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|