Skip to content

Update tests for 2.2.x#214

Merged
VincentLanglet merged 1 commit into
phpstan:2.0.xfrom
VincentLanglet:fixCii
May 25, 2026
Merged

Update tests for 2.2.x#214
VincentLanglet merged 1 commit into
phpstan:2.0.xfrom
VincentLanglet:fixCii

Conversation

@VincentLanglet
Copy link
Copy Markdown
Contributor

No description provided.

* backgroundColor: string|null,
* textColor: string|null,
* headerImage: array{id: int}|null,
* headerImage: array{id: int, ...<mixed>}|null,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed because 2.1.56 currently install the 2.2.x-dev branch.

This is not an issue since the syntax is supported in PHPStan 2.1 (but ignored). This way it start fixing issue about 2.2.x branch.

[
'Call to static method Webmozart\Assert\Assert::implementsInterface() with \'WebmozartAssertImpossibleCheck\\\\Bar\' and \'WebmozartAssertImpossibleCheck\\\\Bar\' will always evaluate to false.',
134,
$tipText,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[
'Call to static method Webmozart\Assert\Assert::implementsInterface() with \'DateTime\' and \'DateTimeInterface\' will always evaluate to true.',
9,
$tipText,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VincentLanglet VincentLanglet requested a review from staabm May 24, 2026 21:37
@VincentLanglet VincentLanglet changed the title Update tests Update tests for 2.2.x May 25, 2026
@VincentLanglet VincentLanglet merged commit 3e14de1 into phpstan:2.0.x May 25, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants