Skip to content

Commit

Permalink
Fix psalm errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Aug 26, 2024
1 parent e7a06ae commit c1bc12b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"rector/rector": "^1.0.0",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.8"
"vimeo/psalm": "^4.30|^5.25"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 7 additions & 0 deletions src/AbstractCombinedRegexp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@
*/
abstract class AbstractCombinedRegexp
{
/**
* @psalm-suppress MissingClassConstType
*/
public const REGEXP_DELIMITER = '/';

/**
* @psalm-suppress MissingClassConstType
*/
public const QUOTE_REPLACER = '\\/';

/**
Expand Down

0 comments on commit c1bc12b

Please sign in to comment.