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

3.x into Master #6780

Merged
merged 18 commits into from
Jan 20, 2021
Merged

3.x into Master #6780

merged 18 commits into from
Jan 20, 2021

Conversation

VincentLanglet
Copy link
Member

No description provided.

tambait and others added 10 commits January 14, 2021 01:10
This fixes when the third argument of AdminMaker is a service name
instead of a class. It retrieves the service name and replaces it
with the class name.
* Fix template setters in AbstractAdmin

Update tests/Templating/MutableTemplateRegistryTest.php

Co-authored-by: Javier Spagnoletti <[email protected]>

Update src/Templating/MutableTemplateRegistry.php

Co-authored-by: Javier Spagnoletti <[email protected]>

* Update src/Templating/MutableTemplateRegistry.php

Co-authored-by: Javier Spagnoletti <[email protected]>

Co-authored-by: Javier Spagnoletti <[email protected]>
@VincentLanglet VincentLanglet requested a review from a team January 18, 2021 19:57
@VincentLanglet
Copy link
Member Author

@franmomu Do you have some time to work on #6615 ?

@sonata-project/contributors Should I skip the failing test in master until we fix the issue #6773 ?

@dmaicher
Copy link
Contributor

dmaicher commented Jan 19, 2021

@VincentLanglet can you also merge the most recent changes (with 5263515) again? Then I could continue to fix #6779

Or we do this separately?

@VincentLanglet
Copy link
Member Author

@VincentLanglet can you also merge the most recent changes (with 5263515) again? Then I could continue to fix #6779

Or we do this separately?

I made the merge and fixed the conflict, so you'll not need to do a PR on master ;)

@sonata-project/contributors I skipped the failing tests, since there is an issue about it.
I hope #6615 will fix this

@@ -27,7 +27,7 @@ jobs:
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure about this? IMO we should stick to 7.4 or try to run it in both versions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I know, just pointing this out when I've seen it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only ran static analysis on the last supported php version.

If we start running on multiple version, we could have issue like

if (false === file_get_contents('foo')) {}

reported as useless in PHP8 but not in PHP7.

In this case, the right version might be the lowest one in a general way.
Do you want to open an issue or a PR on dev-kit ?

I'd like to avoid to delay this huge merge.

@VincentLanglet VincentLanglet merged commit 28f49a8 into sonata-project:master Jan 20, 2021
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.

8 participants