Skip to content

Commit 94a7f1a

Browse files
bug #34163 [DI] fix regexp for anonymous services with no class set (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [DI] fix regexp for anonymous services with no class set | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Follows #33782 Commits ------- a302d2050e [DI] fix regexp for anonymous services with no class set
2 parents b912edb + 22e7428 commit 94a7f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
abstract class FileLoader extends BaseFileLoader
2828
{
29-
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]++~[._a-zA-Z\d]{7}$/';
29+
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]*+~[._a-zA-Z\d]{7}$/';
3030

3131
protected $container;
3232
protected $isLoadingInstanceof = false;

0 commit comments

Comments
 (0)