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

Decouple the locale subscriber test from the request implementation #7285

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

aschempp
Copy link
Member

The LocaleSubscriperTest should not test the implementation details of the Request class. Fixes issues with #7279

@aschempp aschempp added the bug label Jun 15, 2024
@aschempp aschempp added this to the 5.3 milestone Jun 15, 2024
@aschempp aschempp requested a review from a team June 15, 2024 09:21
@aschempp aschempp self-assigned this Jun 15, 2024
Toflar
Toflar previously approved these changes Jun 17, 2024
leofeyer
leofeyer previously approved these changes Jun 18, 2024
@leofeyer leofeyer changed the title Decouple LocaleSubscriberTest from Request implementation Decouple the locale subscriber test from the request implementation Jun 18, 2024
@leofeyer leofeyer added CI and removed bug labels Jun 18, 2024
@leofeyer leofeyer enabled auto-merge (squash) June 18, 2024 11:31
@leofeyer
Copy link
Member

Thank you @aschempp.

@Toflar Toflar mentioned this pull request Jun 18, 2024
5 tasks
@leofeyer leofeyer merged commit 87865cc into contao:5.3 Jun 18, 2024
34 checks passed
@aschempp aschempp deleted the fix/locale-subscriber branch June 19, 2024 15:39
leofeyer added a commit that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge #7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323 Allow Symfony 7 in all packages
277005c Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b Fixed test incompatibilities
a4eb15d Fixed DoctrineSchemaListener
a19c436 Fixed phpstan
af07922 Update calendar-bundle/composer.json
103d01e Update scheb/2fa bundles
01dca93 Fix interface incompatibility
15ebe55 Updated FOS HttpCache related dependencies
d18e73b Apply suggestions from code review
aef96c3 Fixed the LocaleSubscriberTest
5aef4aa Revert changes
ade8393 Cleanup
0c2b171 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/listing-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/maker-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/faq-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/newsletter-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/core-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/test-case that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/calendar-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/manager-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/news-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
leofeyer added a commit to contao/comments-bundle that referenced this pull request Jun 25, 2024
Description
-----------

5.3 LTS requires Symfony 6.4 LTS as per our roadmap.

This means, Contao 5.4 must allow Symfony 7 components.

Dependencies:

- [x] `contao/manager-plugin`: contao/manager-plugin#56
- [x] `contao/image`: contao/image#104
- [x] `terminal42/service-annotation-bundle`: terminal42/service-annotation-bundle#9
- [x] `terminal42/escargot`: terminal42/escargot#36
- [x] Merge contao/contao#7285 in `5.3`and then uptream into `5.x`

Commits
-------

0aa8323a Allow Symfony 7 in all packages
277005c0 Update to nikic/php-parser v5 in order to fix PHP incompatiblity issues
1eb7d8b2 Fixed test incompatibilities
a4eb15d6 Fixed DoctrineSchemaListener
a19c436e Fixed phpstan
af07922f Update calendar-bundle/composer.json
103d01e2 Update scheb/2fa bundles
01dca93a Fix interface incompatibility
15ebe558 Updated FOS HttpCache related dependencies
d18e73bd Apply suggestions from code review
aef96c3b Fixed the LocaleSubscriberTest
5aef4aad Revert changes
ade83931 Cleanup
0c2b1713 Use the existing news bundle when installing the core bundle in the "…

Co-authored-by: leofeyer <1192057+leofeyer@users.noreply.github.com>
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.

3 participants