-
Couldn't load subscription status.
- Fork 8k
Fix phpGH-12763: PGSQL pg_untrace(): Argument #1 ($connection) must be of type resource or null, PgSql\Connection given. #12796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…t be of type resource or null, PgSql\Connection given.
…t be of type resource or null, PgSql\Connection given. Add test bugGH12763.phpt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix, just some nits.
It also should target the PHP-8.2 branch, although we can manually cherry-pick.
| @@ -0,0 +1,23 @@ | |||
| --TEST-- | |||
| Bug #GH12763 (pg_untrace(): Argument #1 ($connection) must be of type resource or null, PgSql\Connection given) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: for GitHub bugs, use the gh12763.php as filename. Similarly the title should be GH-12763 (pg_untrace(): ...)
For bugs on the old bugtracker we use Bug #xxxxx title and bugxxxxx.phpt filename.
ext/pgsql/tests/bugGH12763.phpt
Outdated
|
|
||
| ?> | ||
| --EXPECT-- | ||
| OK No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include a newline at the end of phpt files.
|
Just advice for next time, do not pick releases branch such as 8.1.26, instead if you target 8.1 pick PHP-8.1. |
…t be of type resource or null, PgSql\Connection given. Rename test to gh12763.phpt. Add new line.
That s fine we merge up usually anyway :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I ll merge it later on.
|
Merged via 3f57bd80. Thanks. |
#12764
As requested, I did it for branch 8.1