Skip to content

Merge 4.3.x into 5.0.x #7007

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

Merged
merged 13 commits into from
Jun 17, 2025
Merged

Merge 4.3.x into 5.0.x #7007

merged 13 commits into from
Jun 17, 2025

Conversation

derrabus
Copy link
Member

No description provided.

jaylinski and others added 13 commits June 15, 2025 16:28
Add the latest LTS version of MariaDB.

<!-- Fill in the relevant information below to help triage your pull
request. -->

|      Q       |   A
|------------- | -----------
| Type         | improvement
| Fixed issues | N/A

#### Summary

Improve the CI to cover newer versions of MariaDB 11.8+.

https://mariadb.org/about/#maintenance-policy
|      Q       |   A
|------------- | -----------
| Type         | improvement
| Fixed issues | N/A

#### Summary

MySQL 9.3 is the latest release. We should test against it.
…octrine#6344)

<!-- Fill in the relevant information below to help triage your pull
request. -->

|      Q       |   A
|------------- | -----------
| Type         | improvement
| Fixed issues | <!-- use #NUM format to reference an issue -->

#### Summary

Allow to pass IPv6 address of postgres server in URI notation
(`[ff:aa:...]`).
When the host is passed in URI format to `host` parameter of
`pg_connect` it will fail because it then tries to resolve it as when it
was a real host name.
Instead just pass the IP address to the `hostaddr` parameter.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Co-authored-by: Alexander M. Turek <[email protected]>
* phpstan/phpstan (2.1.1 => 2.1.17)
* phpunit/phpunit (9.6.22 => 9.6.23)
* squizlabs/php_codesniffer (3.12.0 => 3.13.1)
* 3.9.x:
  Bump dev tools (doctrine#7002)
  fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344)
  Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001)
  CI MariaDB: add 11.8 (doctrine#6991)
* 3.9.x:
  Bump dev tools (doctrine#7002)
  fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344)
  Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001)
  CI MariaDB: add 11.8 (doctrine#6991)
* 4.2.x:
  Ignore new PHPStan errors
  Bump dev tools (doctrine#7002)
  fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344)
  Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001)
  CI MariaDB: add 11.8 (doctrine#6991)
|      Q       |   A
|------------- | -----------
| Type         | improvement
| Fixed issues | N/A

#### Summary

MariaDB 10.5 community edition will be EOL next week and enterprise
support will end next month. I believe we don't want to keep on
supporting this release in DBAL 5, so we might as well deprecate the
support now.

see https://mariadb.org/about/#maintenance-policy
* 4.3.x:
  phpunit/phpunit (11.5.15 => 11.5.23) (doctrine#7006)
  Deprecate support for MariaDB 10.5 (doctrine#7000)
  Fix new and previously ignored PHPStan errors
  Ignore new PHPStan errors
  Bump dev tools (doctrine#7002)
  fix(PgSQL): Allow to pass IPv6 address in URI notation for postgres (doctrine#6344)
  Run tests on MySQL 9.3 instead of 9.1 (doctrine#7001)
  CI MariaDB: add 11.8 (doctrine#6991)
Comment on lines +46 to +48
/** @var UnqualifiedNamedObjectSet<Column> $columns */
$columns = new UnqualifiedNamedObjectSet();
$this->columns = $columns;
Copy link
Member

@morozov morozov Jun 17, 2025

Choose a reason for hiding this comment

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

Why do we want to complicate our code instead of just suppressing a false positive error? Never mind, it's already implemented in #7005, we're just merging this up.

Copy link
Member Author

Choose a reason for hiding this comment

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

After the latest PHPStan update, suppressing the error did not work anymore. You can revert d2b297e and see for yourself. I seems as if PHPStan now prefers the assignment in the constructor over the property's doc block. 😓

@derrabus derrabus merged commit 413d5e2 into doctrine:5.0.x Jun 17, 2025
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants