Skip to content
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

Merge 3.3.x into 4.0.x #11650

Merged
merged 21 commits into from
Oct 9, 2024
Merged

Merge 3.3.x into 4.0.x #11650

merged 21 commits into from
Oct 9, 2024

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Oct 9, 2024

No description provided.

greg0ire and others added 21 commits August 23, 2024 12:29
…2.20.x_0oKsBvVN

Merge release 2.19.7 into 2.20.x
When adding the same lifecycle event callback to two or more lifecycle events, the generator will create a stub for each event resulting in fatal 'Cannot redeclare' errors. That is, only if the callback name contains uppercase letters.
* 2.19.x:
  Make nullable parameters explicit in generated entities (doctrine#11625)
  Update attributes-reference.rst
  Bump doctrine/.github from 5.0.1 to 5.1.0 (doctrine#11616)
  Move orphan metadata to where it belongs
  PHPStan 1.12 (doctrine#11585)
* 2.19.x:
  Replace custom directives with native option
For now doctrine/common generates proxies that trigger deprecation, so
let us only test with lazy ghosts only.
E_STRICT is deprecated as of PHP 8.4
…rine#11628)

Prevent property hooks from being used as they currently would work on external non-raw values without explicit code.
People that might have experimented with property hooks while still
using ORM < 2.20.0 need to know that they need to remove their
experiment or upgrade to a version that explicitly supports them.
…)` method (doctrine#11641)

We use this method only from within one of our own test cases, and I don't see how it would be useful to anybody else outside – it has to be called on the `Parser` instance which exists internally in the `Query` only.

Deprecating and removing it in 3.x allows for a slight simplification in the `Parser` there, since we do no longer need the field (it can be a local variable).
* 2.20.x:
  Stop recommending vendor-prefixed PHPDoc (doctrine#11640)
  Let PHPStan detect deprecated usages (doctrine#11639)
  Add upgrade note about property hooks (doctrine#11636)
  Prepare PHP 8.4 support: Prevent property hooks from being used (doctrine#11628)
  Use E_ALL instead of E_ALL | E_STRICT
  Add CI job for PHP 8.4
  fix generating duplicate method stubs
* 3.3.x:
  Stop recommending vendor-prefixed PHPDoc (doctrine#11640)
  Let PHPStan detect deprecated usages (doctrine#11639)
  PHPStan 1.12.6 (doctrine#11635)
  Add upgrade note about property hooks (doctrine#11636)
  Prepare PHP 8.4 support: Prevent property hooks from being used (doctrine#11628)
  Use E_ALL instead of E_ALL | E_STRICT
  Add CI job for PHP 8.4
  fix generating duplicate method stubs
* 2.20.x:
  Remove vendor prefix of PHPDoc referencing class-string (doctrine#11643)
  Deprecate the `\Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker()` method (doctrine#11641)
* 3.3.x:
  Remove vendor prefix of PHPDoc referencing class-string (doctrine#11643)
  Deprecate the `\Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker()` method (doctrine#11641)
@derrabus derrabus merged commit 22198f7 into doctrine:4.0.x Oct 9, 2024
53 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.

5 participants