Skip to content

README: Add BRJ organisation logo. #24

README: Add BRJ organisation logo.

README: Add BRJ organisation logo. #24

Triggered via push June 9, 2024 20:13
Status Failure
Total duration 45s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
PossiblyNullArgument: src/Feed.php#L52
src/Feed.php:52:44: PossiblyNullArgument: Argument 3 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
ArgumentTypeCoercion: src/Feed.php#L57
src/Feed.php:57:18: ArgumentTypeCoercion: Argument 1 of DOMDocument::loadXML expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
DeprecatedConstant: src/Feed.php#L75
src/Feed.php:75:5: DeprecatedConstant: Constant Nette\Caching\Cache::EXPIRATION is deprecated (see https://psalm.dev/170)
DeprecatedConstant: src/Feed.php#L97
src/Feed.php:97:24: DeprecatedConstant: Constant Nette\Caching\Cache::ALL is deprecated (see https://psalm.dev/170)
DeprecatedConstant: src/Feed.php#L143
src/Feed.php:143:4: DeprecatedConstant: Constant Nette\Caching\Cache::EXPIRATION is deprecated (see https://psalm.dev/170)
PossiblyNullArgument: src/Feed.php#L52
src/Feed.php:52:44: PossiblyNullArgument: Argument 3 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
ArgumentTypeCoercion: src/Feed.php#L57
src/Feed.php:57:18: ArgumentTypeCoercion: Argument 1 of DOMDocument::loadXML expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
DeprecatedConstant: src/Feed.php#L75
src/Feed.php:75:5: DeprecatedConstant: Constant Nette\Caching\Cache::EXPIRATION is deprecated (see https://psalm.dev/170)
DeprecatedConstant: src/Feed.php#L97
src/Feed.php:97:24: DeprecatedConstant: Constant Nette\Caching\Cache::ALL is deprecated (see https://psalm.dev/170)
DeprecatedConstant: src/Feed.php#L143
src/Feed.php:143:4: DeprecatedConstant: Constant Nette\Caching\Cache::EXPIRATION is deprecated (see https://psalm.dev/170)
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Psalm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
MixedArgumentTypeCoercion: src/WordpressPostFeedExtension.php#L35
src/WordpressPostFeedExtension.php:35:64: MixedArgumentTypeCoercion: Argument 2 of Baraja\WordPressPostFeed\WordpressPostFeedExtension::resolveImageStoragePath expects array<string, mixed>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
MixedOperand: src/WordpressPostFeedExtension.php#L58
src/WordpressPostFeedExtension.php:58:19: MixedOperand: Left operand cannot be mixed (see https://psalm.dev/059)