-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] non-conflicting anonymous service ids across files #23490
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
Conversation
xabbuh
commented
Jul 12, 2017
Q | A |
---|---|
Branch? | 3.3 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #23483 |
License | MIT |
Doc PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XML loader has the same issue?
@@ -546,7 +546,7 @@ public function testAnonymousServices() | |||
$this->assertInternalType('array', $factory); | |||
$this->assertInstanceOf(Reference::class, $factory[0]); | |||
$this->assertTrue($container->has((string) $factory[0])); | |||
$this->assertStringStartsWith('1', (string) $factory[0]); | |||
$this->assertRegExp('/^\d+_[A-Z0-9]{64}$/i', (string) $factory[0]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coul add a-z
range to avoid i
modifier
ab2034a
to
80d2085
Compare
No, the |
Thank you @xabbuh. |
…s across files (xabbuh) This PR was merged into the 3.3 branch. Discussion ---------- [DependencyInjection] non-conflicting anonymous service ids across files | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23483 | License | MIT | Doc PR | Commits ------- 8289ca6 non-conflicting anonymous service ids across files