Skip to content

Declare array shape of EventListenerTag::getData() - #1069

Merged
TomasVotruba merged 1 commit into
rectorphp:mainfrom
GErpeldinger:fix-phpstan-event-listener-tag-array-shape
Sep 22, 2026
Merged

TomasVotruba merged 1 commit into
rectorphp:mainfrom
GErpeldinger:fix-phpstan-event-listener-tag-array-shape

Conversation

@GErpeldinger

Copy link
Copy Markdown
Contributor

symplify/phpstan-rules 14.15.0 (2026-09-21) added requireArrayShapeReturn. CI installs the latest version, so PHPStan now fails on EventListenerTag::getData(): main last ran on 2026-09-17 with 14.13.1, #1068 ran with 14.15.3.

This declares the array shape. It unblocks #1068 and rectorphp/rector-src#8512, whose packages_tests run this repository's PHPStan.

🤖 Drafted with AI assistance.

@TomasVotruba
TomasVotruba merged commit 38373eb into rectorphp:main Sep 22, 2026
8 checks passed
@TomasVotruba

Copy link
Copy Markdown
Member

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants