Skip to content

Commit

Permalink
bug symfony#34163 [DI] fix regexp for anonymous services with no clas…
Browse files Browse the repository at this point in the history
…s 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 symfony#33782

Commits
-------

a302d20 [DI] fix regexp for anonymous services with no class set
  • Loading branch information
nicolas-grekas committed Oct 30, 2019
2 parents cc357ad + a302d20 commit 8cf0698
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
abstract class FileLoader extends BaseFileLoader
{
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]++~[._a-zA-Z\d]{7}$/';
public const ANONYMOUS_ID_REGEXP = '/^\.\d+_[^~]*+~[._a-zA-Z\d]{7}$/';

protected $container;
protected $isLoadingInstanceof = false;
Expand Down

0 comments on commit 8cf0698

Please sign in to comment.