Update spaze/phpstan-disallowed-calls requirement from ^2.0 to ^3.0 #21
Annotations
10 errors and 3 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
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)
|