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

makePrimaryKey in docs #11848

Open
wants to merge 939 commits into
base: 2.21.x
Choose a base branch
from
Open

makePrimaryKey in docs #11848

wants to merge 939 commits into from

Conversation

tacman
Copy link

@tacman tacman commented Feb 26, 2025

I don't think isPrimaryKey even exists.

greg0ire and others added 30 commits February 13, 2024 11:29
* [Documentation] Adding link to Postgres upgrade article

* Update UPGRADE.md

* Update UPGRADE.md
$listenerCallback is supposed to be a method name, so it is safe to
require it is not a falsy string.
It is supposed to hold the name of a PHP property, and those cannot be
falsy strings.
Account for inversedBy being a non-falsy-string or null
…ener

Improve static analysis on AttachEntityListenersListener
…trine#11243)

* Remove wrong asserts in DATE_ADD and DATE_SUB query AST function handlers

* Require DBAL 3.8.2
* 2.18.x:
  Fix Static Analysis folder reference (doctrine#11281)
  docs: recommend safer way to disable logging (doctrine#11269)
  Remove unused baseline entries
  Treat '0' as a legitimate trim char
* 2.19.x:
  Fix Static Analysis folder reference (doctrine#11281)
  docs: recommend safer way to disable logging (doctrine#11269)
  Remove unused baseline entries
  Treat '0' as a legitimate trim char
  Add type field mapper documentation to the sidebar
  Mark document as orphan
  Use correction sectionauthor syntax
  Make docs valid according to guides 0.3.3 (doctrine#11252)
* 3.0.x:
  Remove broken assertion from DateAddFunction and DateSubFunction (doctrine#11243)
  Remove unused trait
  [Documentation] Adding link to Postgres upgrade article (doctrine#11257)
  fix: support array-type arg in QB variadic calls (doctrine#11242)
Lock files are supposed to contain uniqid()-generated values, so they
cannot be falsy strings, but if they did, this would fix a bug.
This fixes a bug for files last modified on 1970-01-01 00:00:00, so… not
worth backporting IMO.
If $lock->value was an empty string, this would fix a bug, but it never
is, it is a uniqid-generated string.
The comment above mentions that on some platforms, it might return
false, and this is why there is a check in the first place. Let us do
exactly what is mentioned in the comment.
)

* Be less restrictive in params

* Allow null options

* Simplify expression

* Fix ci

* Add support for null
Allow (Array)ParameterType in QueryBuilder
* 2.18.x:
  Backport QueryParameterTest (doctrine#11288)
* 2.19.x:
  Backport QueryParameterTest (doctrine#11288)
* 3.0.x:
  Test different ways of settings query parameters
  Be less restrictive in DiscriminatorColumnMapping phpdoc (doctrine#11226)
  Allow (Array)ParameterType in QueryBuilder
greg0ire and others added 26 commits December 7, 2024 22:31
This change was accidentally dropped during a merge up.
UPGRADE: Document QueryBuilder::setParameters() Type enforcement
This will give a signal that there is work to be done without blocking
other contributions by failing the build.
Display Doctrine deprecations when running PHPUnit
We should be using quoteSingleIdentifier(), assuming we only ever pass
single identifiers here.

See doctrine/dbal#6590
[DDC-551] fix, add filter support in oneToOne relation 2.20.x
…ctor

This fixes a bug that arises when using Pagination and an entity relation is mapped with fetch-mode EAGER but setFetchMode LAZY (or anything that is not EAGER) has been used on the query. If the query use WITH condition, an exception is incorrectly raised (Associations with fetch-mode=EAGER may not be using WITH conditions).
The class LimitSubqueryOutputWalker clones the query, but not its parameters and hints, so the generated subquery does not know that fetch-mode has been overridden.

Fixes doctrine#11741
Clone query hints and parameters in `LimitSubqueryOutputWalker` constructor
Fix DQL example with composite key
This exception was dropped by mistake during a merge-up, and should be
present until Doctrine officially supports property hooks.
I don't think isPrimaryKey even exists.
greg0ire
greg0ire previously approved these changes Feb 26, 2025
@greg0ire
Copy link
Member

According to #11208, you should probably target 2.20.x

@tacman tacman changed the base branch from 3.3.x to 2.21.x February 26, 2025 09:27
@tacman tacman dismissed greg0ire’s stale review February 26, 2025 09:27

The base branch was changed.

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.