Support autoinjectable ENVs and CLI params in configs #188
Annotations
9 errors and 2 warnings
InvalidArgument:
src/Application.php#L219
src/Application.php:219:58: InvalidArgument: Argument 1 of Buggregator\Trap\Config\Server\SocketServer::__construct expects int<1, 65535>, but int<1, max> provided (see https://psalm.dev/004)
|
RiskyTruthyFalsyComparison:
src/Service/Config/ConfigLoader.php#L40
src/Service/Config/ConfigLoader.php:40:16: RiskyTruthyFalsyComparison: Operand of type SimpleXMLElement|false contains type SimpleXMLElement, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
InvalidArgument:
src/Service/Config/ConfigLoader.php#L54
src/Service/Config/ConfigLoader.php:54:52: InvalidArgument: Argument 3 of Buggregator\Trap\Service\Config\ConfigLoader::injectValue expects array<array-key, ReflectionAttribute<object>>, but non-empty-list<ReflectionAttribute<Buggregator\Trap\Service\Config\ConfigAttribute>> provided (see https://psalm.dev/004)
|
MixedAssignment:
src/Service/Config/ConfigLoader.php#L68
src/Service/Config/ConfigLoader.php:68:17: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/Service/Config/ConfigLoader.php#L81
src/Service/Config/ConfigLoader.php:81:17: MixedAssignment: Unable to determine the type that $result is being assigned to (see https://psalm.dev/032)
|
UndefinedMethod:
src/Service/Config/ConfigLoader.php#L84
src/Service/Config/ConfigLoader.php:84:28: UndefinedMethod: Method ReflectionType::isBuiltin does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/Service/Config/ConfigLoader.php#L84
src/Service/Config/ConfigLoader.php:84:57: UndefinedMethod: Method ReflectionType::getName does not exist (see https://psalm.dev/022)
|
InvalidReturnType:
src/Service/Container.php#L42
src/Service/Container.php:42:16: InvalidReturnType: The declared return type 'T:fn-buggregator\trap\service\container::get as object' for Buggregator\Trap\Service\Container::get is incorrect, got '(T:fn-buggregator\trap\service\container::get as object)|object' (see https://psalm.dev/011)
|
Psalm Validation (PHP 8.2, OS ubuntu-latest)
Process completed with exit code 2.
|
Psalm Validation (PHP 8.2, OS ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Psalm Validation (PHP 8.2, OS ubuntu-latest)
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/
|