Skip to content

Update phpstorm stubs#5533

Merged
VincentLanglet merged 3 commits into
phpstan:2.1.xfrom
VincentLanglet:updatePhpstorm
Apr 27, 2026
Merged

Update phpstorm stubs#5533
VincentLanglet merged 3 commits into
phpstan:2.1.xfrom
VincentLanglet:updatePhpstorm

Conversation

@VincentLanglet

@VincentLanglet VincentLanglet commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Once JetBrains/phpstorm-stubs#1879 is merged we will be able to delete the patch added

@VincentLanglet
VincentLanglet requested a review from staabm April 26, 2026 08:01
Comment thread patches/PDO.patch
*/
#[Deprecated('use Pdo\Pgsql::getNotify instead', '\Pdo\Pgsql::getNotify(%parametersList%)', since: '8.5')]
- public function pgsqlGetNotify($fetchMode = PDO::FETCH_DEFAULT, $timeoutMilliseconds = 0) {}
+ public function pgsqlGetNotify($fetchMode = 1, $timeoutMilliseconds = 0) {}

@staabm staabm Apr 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this PR should have a explanation why this patches is required.

It might also be helpful to have a test for it

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 patch exist for a long time and i dunno why.

I just fixed the conflict

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ohh I see. what about the second patch file?

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.

Second patch is temporary until JetBrains/phpstorm-stubs#1879 is merged

@staabm staabm Apr 27, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Second patch is temporary until JetBrains/phpstorm-stubs#1879 is merged

yeah, but that was not clear from this PR. thanks for adjusting the PR description.

LGTM

@VincentLanglet
VincentLanglet requested a review from staabm April 27, 2026 07:54
@VincentLanglet
VincentLanglet merged commit 3103ea4 into phpstan:2.1.x Apr 27, 2026
658 of 662 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