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 f834e51 commit 5fba7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 5fba7df

Please sign in to comment.