Skip to content

Merge 3.6.x into 4.0.x#12109

Merged
derrabus merged 9 commits intodoctrine:4.0.xfrom
derrabus:4.0.x
Aug 6, 2025
Merged

Merge 3.6.x into 4.0.x#12109
derrabus merged 9 commits intodoctrine:4.0.xfrom
derrabus:4.0.x

Conversation

@derrabus
Copy link
Copy Markdown
Member

@derrabus derrabus commented Aug 6, 2025

No description provided.

greg0ire and others added 6 commits July 31, 2025 21:49
In aa141bf, I wrongly assumed that
$tableName would never contain a dot as I was not able to write a test
that caused that to happen.

The secret recipe appears to be to define a schema and to quote the
table name.

To fix it for the table name, I am calling quoteSingleIdentifier()
before doing the concatenation between schema name and table name.

To fix it for the sequence name, which seems only useful when using DBAL
3 for some reason, I reuse some of the logic of the deprecated method.

Fixes doctrine#12041
That test was testing too many thing and not really making it clear what
the expected output was, given some output. Instead, let us create 2
tests, each pertaining to the class under test.
This comment is rendered useless by the phpdoc comment below it.
Instead, we can comment on what exactly "quoted" means.
….6.x_OhbrLWrh

Merge release 3.5.1 into 3.6.x
* 3.6.x:
  Include stability in coverage file key (doctrine#12112)
  Allow Symfony 8 (doctrine#12110)
  Run tests with Symfony 8 (doctrine#12102)
  Improve comment
  Convert test into 2 unit tests
  Quote parts of the table name
@derrabus derrabus merged commit a6a94cd into doctrine:4.0.x Aug 6, 2025
26 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