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

[Maintenance] Composer allow plugins finally sorted out + removal of symfony thanks #14106

Merged
merged 1 commit into from Jun 22, 2022

Conversation

lchrusciel
Copy link
Member

Q A
Branch? 1.11
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets
License MIT

I'm proposing adding flex to our allowed plugins, as we are using it and it is in our req/dev. In addition, I've also disallowed dealerdirect/phpcodesniffer-composer-installer, as we are not using it directly.

What is more, I'm proposing the removal of symfony/thanks lib, as it does not provide valuable features and is not present in any Symfony package anymore. We are the main package that still installs it https://packagist.org/packages/symfony/thanks/dependents?order_by=downloads&requires=all. Let's give it rest.

These plugins are executed by default right now, but this behaviour will change since the beginning of July. If we don't do anything we can expect the following error:
image

Once merged, we should iterate over our other packages.

@lchrusciel lchrusciel requested a review from a team as a code owner June 22, 2022 14:24
@GSadee GSadee added Maintenance CI configurations, READMEs, releases, etc. Dependencies Pull requests that update a dependency file labels Jun 22, 2022
@GSadee GSadee merged commit 6ab1cbd into Sylius:1.11 Jun 22, 2022
@GSadee
Copy link
Member

GSadee commented Jun 22, 2022

Thanks, Łukasz! 🎉

@lchrusciel lchrusciel deleted the allowed-plugins branch June 22, 2022 21:35
Zales0123 added a commit to Sylius/SyliusThemeBundle that referenced this pull request Jul 4, 2022
…lchrusciel)

This PR was merged into the 2.2-dev branch.

Discussion
----------

Follow up of Sylius/Sylius#14106

Commits
-------

3b829a7 [Maintenance] Allow flex plugin during plugin installation
Zales0123 added a commit to Sylius/AdminOrderCreationPlugin that referenced this pull request Jul 4, 2022
…lchrusciel)

This PR was merged into the 1.1-dev branch.

Discussion
----------

Follow up of Sylius/Sylius#14106

Commits
-------

550daa6 [Maintenance] Allow flex plugin during plugin installation
Zales0123 added a commit to Sylius/SyliusMailerBundle that referenced this pull request Jul 4, 2022
…lchrusciel)

This PR was merged into the 1.7 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | Follow up of Sylius/Sylius#14106
| License         | MIT


Commits
-------

6125949 [Maintenance] Allow flex plugin during plugin installation
mamazu added a commit to Sylius/ShopApiPlugin that referenced this pull request Jul 4, 2022
…lchrusciel)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Follow up of Sylius/Sylius#14106

Commits
-------

1759c16 [Maintenance] Allow flex plugin during plugin installation
AdamKasp added a commit to Sylius/RefundPlugin that referenced this pull request Jul 5, 2022
…on (lchrusciel)

This PR was merged into the 1.2 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.2 
| Bug fix?        | yes
| New feature?    | no
| Related tickets | Follow up of Sylius/Sylius#14106


Commits
-------

c748740 [Maintenance] Allow flex plugin during plugin installation
AdamKasp added a commit to Sylius/InvoicingPlugin that referenced this pull request Jul 5, 2022
…on (lchrusciel)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Follow up of Sylius/Sylius#14106

Commits
-------

16dbb10 [Maintenance] Allow flex plugin during plugin installation
Zales0123 added a commit to Sylius/SyliusResourceBundle that referenced this pull request Jul 6, 2022
…lchrusciel)

This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | Follow up of Sylius/Sylius#14106
| License         | MIT


Commits
-------

93be49c [Maintenance] Allow flex plugin during plugin installation
aa3cda7 [Maintenance] Execution of easy-coding-standard
a1a14b2 [Conflict] Add note about phpstan/phpdoc-parser
f5195bb [Maintenance] Bump PHPStan and solve newly found issues
lchrusciel added a commit to Sylius/SyliusGridBundle that referenced this pull request Jul 6, 2022
…lchrusciel)

This PR was merged into the 1.11 branch.

Discussion
----------

Follow up of Sylius/Sylius#14106

Commits
-------

d17f19c [Maintenance] Allow flex plugin during plugin installation
7ecbd85 [GitHub] Do not ignore platform version of PHP in GitHub action
82bf60a [Maintenance] Execution of easy-coding-standard
Zales0123 added a commit to Sylius/PayPalPlugin that referenced this pull request Jul 12, 2022
…pdated GitHub workflow (Rafikooo)

This PR was merged into the 1.4 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.4 (bug fixes, improvements)
| Bug fix?        | no
| New feature?    | no

https://getcomposer.org/doc/06-config.md#allow-plugins
"As of Composer 2.2.0, the allow-plugins option adds a layer of security allowing you to restrict which Composer plugins are able to execute code during a Composer run."

1. Due to the fact above the configuration of composer.json has been updated to process dependencies explicitly
2. Conflict with `doctrine/orm:^2.10.0` has been removed
3. Conflict with `doctrine/dbal:^3.0.0` has been added
4. GitHub workflow has been updated based on https://github.com/Sylius/Sylius/pull/14130/files#diff-dc5f32521b4ae99ff8632eb151f06cb36a62fe139292cbbf3f2a4afc79647581
and
Sylius/Sylius#14106

Commits
-------
7ec43fd [Maintenance] Removed conflict with doctrine/orm ^2.10.0
310d996 [Maintenance] Allow-plugins config section added
34fce46 [GithubActions] Updated section Restrict Symfony version
278d43c [Maintenance] Added conflict with doctrine/dbal:^3.0.0
@emodric emodric mentioned this pull request Jul 14, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Pull requests that update a dependency file Maintenance CI configurations, READMEs, releases, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants