Skip to content

Update dependency phpstan/phpstan to v2 #1637

Update dependency phpstan/phpstan to v2

Update dependency phpstan/phpstan to v2 #1637

Triggered via push December 29, 2024 14:09
Status Failure
Total duration 3m 23s
Artifacts

tests.yml

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

Annotations

10 errors and 13 warnings
PHPStan: src/Delimiter/Delimiter.php#L51
@readonly property cannot have a default value.
PHPStan: src/Environment/Environment.php#L367
Call to function assert() with true will always evaluate to true.
PHPStan: src/Environment/Environment.php#L367
Instanceof between League\CommonMark\Event\ListenerData and League\CommonMark\Event\ListenerData will always evaluate to true.
PHPStan: src/Extension/Autolink/UrlAutolinkParser.php#L59
@readonly property cannot have a default value.
PHPStan: src/Extension/Autolink/UrlAutolinkParser.php#L148
Possibly impure call to function preg_match_all() in pure method League\CommonMark\Extension\Autolink\UrlAutolinkParser::diffParens().
PHPStan: src/Extension/CommonMark/Delimiter/Processor/EmphasisDelimiterProcessor.php#L36
Class League\CommonMark\Extension\CommonMark\Delimiter\Processor\EmphasisDelimiterProcessor has an uninitialized @readonly property $config. Assign it in the constructor.
PHPStan: src/Extension/CommonMark/Parser/Block/FencedCodeParser.php#L43
Method League\CommonMark\Extension\CommonMark\Parser\Block\FencedCodeParser::tryContinue() never returns null so it can be removed from the return type.
PHPStan: src/Extension/CommonMark/Parser/Block/ListBlockParser.php#L50
Method League\CommonMark\Extension\CommonMark\Parser\Block\ListBlockParser::tryContinue() never returns null so it can be removed from the return type.
PHPStan: src/Extension/CommonMark/Parser/Inline/CloseBracketParser.php#L40
Class League\CommonMark\Extension\CommonMark\Parser\Inline\CloseBracketParser has an uninitialized @readonly property $environment. Assign it in the constructor.
PHPStan: src/Extension/CommonMark/Renderer/Block/HtmlBlockRenderer.php#L31
Class League\CommonMark\Extension\CommonMark\Renderer\Block\HtmlBlockRenderer has an uninitialized @readonly property $config. Assign it in the constructor.
PHPUnit on 7.4 --prefer-lowest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPCS
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 7.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.5 --ignore-platform-req=php
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit on 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Pathological Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Markdownlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636