8000 [ExpressionLanguage] Remove deprecated code paths by alexandre-daubois · Pull Request #50867 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[ExpressionLanguage] Remove deprecated code paths #50867

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 1 commit into from
Jul 4, 2023

Conversation

alexandre-daubois
Copy link
Member
@alexandre-daubois alexandre-daubois commented Jul 4, 2023
Q A
Branch? 7.0
Bug fix? no
New feature? yes
Deprecations? no
Tickets NA
License MIT
Doc PR symfony/symfony-docs#18486

@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit c37bf92 into symfony:7.0 Jul 4, 2023
OskarStark added a commit to symfony/symfony-docs that referenced this pull request Jul 4, 2023
…ng strict comparison (alexandre-daubois)

This PR was merged into the 7.0 branch.

Discussion
----------

[ExpressionLanguage] `in` and `not in` operators are using strict comparison

Related to symfony/symfony#50867

Commits
-------

ba5059e [ExpressionLanguage] `in` and `not in` operators are using strict comparison
@fabpot fabpot mentioned this pull request Oct 21, 2023
reviewtypo3org pushed a commit to TYPO3/typo3 that referenced this pull request Jan 6, 2024
Symfony 7 removed deprecated code paths [1][2] and therefore started
using strict `in_array()` check for the `in` and `notIn` condition in
the expression language.

With #102746 the usage of symfony 7 has been allowed, which itself
introduces breaking changes. It is optional to upgrade to symfony 7
and therefore breaking changes has been respected and excludes from
the TYPO3 policies regarding breaking changes as it is not enforced.

This change modifies two tests to assert results based on the used
symfony version.

[1] symfony/symfony#50867
[2] symfony/symfony@7050bc82dd25c540958

Resolves: #102766
Related: #102746
Releases: 12.4
Change-Id: I0624f33ff270ba793054d0ff84810beee1a98c06
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82358
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
TYPO3IncTeam pushed a commit to TYPO3-CMS/backend that referenced this pull request Jan 6, 2024
Symfony 7 removed deprecated code paths [1][2] and therefore started
using strict `in_array()` check for the `in` and `notIn` condition in
the expression language.

With #102746 the usage of symfony 7 has been allowed, which itself
introduces breaking changes. It is optional to upgrade to symfony 7
and therefore breaking changes has been respected and excludes from
the TYPO3 policies regarding breaking changes as it is not enforced.

This change modifies two tests to assert results based on the used
symfony version.

[1] symfony/symfony#50867
[2] symfony/symfony@7050bc82dd25c540958

Resolves: #102766
Related: #102746
Releases: 12.4
Change-Id: I0624f33ff270ba793054d0ff84810beee1a98c06
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82358
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
TYPO3IncTeam pushed a commit to TYPO3-CMS/frontend that referenced this pull request Jan 6, 2024
Symfony 7 removed deprecated code paths [1][2] and therefore started
using strict `in_array()` check for the `in` and `notIn` condition in
the expression language.

With #102746 the usage of symfony 7 has been allowed, which itself
introduces breaking changes. It is optional to upgrade to symfony 7
and therefore breaking changes has been respected and excludes from
the TYPO3 policies regarding breaking changes as it is not enforced.

This change modifies two tests to assert results based on the used
symfony version.

[1] symfony/symfony#50867
[2] symfony/symfony@7050bc82dd25c540958

Resolves: #102766
Related: #102746
Releases: 12.4
Change-Id: I0624f33ff270ba793054d0ff84810beee1a98c06
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82358
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0