Skip to content

Add Config Loader that may fetch values from XML using XPath #186

Add Config Loader that may fetch values from XML using XPath

Add Config Loader that may fetch values from XML using XPath #186

Triggered via push May 1, 2024 09:11
Status Success
Total duration 29s
Artifacts

psalm.yml

on: push
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
InvalidArgument: src/Service/Config/ConfigLoader.php#L47
src/Service/Config/ConfigLoader.php:47: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)
TypeDoesNotContainType: src/Service/Config/ConfigLoader.php#L73
src/Service/Config/ConfigLoader.php:73:17: TypeDoesNotContainType: Type SimpleXMLElement for $value[0] is never =string() (see https://psalm.dev/056)
TypeDoesNotContainType: src/Service/Config/ConfigLoader.php#L73
src/Service/Config/ConfigLoader.php:73:40: TypeDoesNotContainType: '' cannot be identical to SimpleXMLElement (see https://psalm.dev/056)
UndefinedMethod: src/Service/Config/ConfigLoader.php#L74
src/Service/Config/ConfigLoader.php:74:24: UndefinedMethod: Method ReflectionType::isBuiltin does not exist (see https://psalm.dev/022)
UndefinedMethod: src/Service/Config/ConfigLoader.php#L74
src/Service/Config/ConfigLoader.php:74:53: UndefinedMethod: Method ReflectionType::getName does not exist (see https://psalm.dev/022)
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/