Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 6.1
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

I was reviewing #44405 when it was merged. I had some minor fixes to do so I added them to this PR.

@fancyweb fancyweb requested review from xabbuh and yceruto as code owners April 14, 2022 08:25
@carsonbot carsonbot added this to the 6.1 milestone Apr 14, 2022
@@ -71,11 +71,11 @@ class UnusedTagsPass implements CompilerPassInterface
'property_info.list_extractor',
'property_info.type_extractor',
'proxy',
'routing.condition_service',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The tags are sorted alphabetically.

@@ -37,10 +37,10 @@ public function __construct(string $enum, \BackedEnum ...$cases)
}
}

$this->values = array_unique(array_map(
$this->values = array_map(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

array_unique is useless now that all cases comes from the same enum

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit f1ce841 into symfony:6.1 Apr 14, 2022
@fancyweb fancyweb deleted the minor/minor-clean-61 branch April 14, 2022 08:40
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