Skip to content

Commit

Permalink
fix: package name require format
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Jan 4, 2024
1 parent 5d14f96 commit 45a8b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/package-manager/src/RequirePackageValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

class RequirePackageValidator extends AbstractValidator
{
public const PACKAGE_NAME_REGEX = '/^[A-z0-9-_]+\/[A-z-0-9]+(?::[A-z-0-9.->=<_]+){0,1}$/i';
public const PACKAGE_NAME_REGEX = '/^[A-z0-9-_]+\/[A-z-0-9]+(?::[A-z-0-9.->=<_@"*]+){0,1}$/i';

/**
* {@inheritdoc}
Expand Down

0 comments on commit 45a8b57

Please sign in to comment.