Skip to content

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Jan 13, 2026

This is equivalent to the composer config extra.symfony.allow-contrib. When the variable is set, its value has priority over extra.symfony.allow-contrib

src/Flex.php Outdated
if (property_exists(Flex::class, 'storedOperations') && Flex::$storedOperations) {
$this->operations = Flex::$storedOperations;
Flex::$storedOperations = [];
if (property_exists(self::class, 'storedOperations') && self::$storedOperations) {
Copy link
Member

Choose a reason for hiding this comment

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

this must be reverted. Not using self is intended here due to the special behavior of composer plugin classes during an update of the plugin (see the comment just above)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for spotting the reason, I blindly applied the fabbot patch.
This is now reverted.

src/Flex.php Outdated
// Using `Flex::` instead of `self::` to avoid issues when
// composer renames plugin classes when upgrading them
Flex::$storedOperations = $this->operations;
self::$storedOperations = $this->operations;
Copy link
Member

Choose a reason for hiding this comment

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

this must be reverted (see the comment just above for the explanation)

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