Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/add-preg-match-expressio…
Browse files Browse the repository at this point in the history
…n' into feature/add-preg-match-expression
  • Loading branch information
JoMessina committed Nov 12, 2024
2 parents 87075c6 + b47da5c commit 3d4efae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/TestPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ class TestPattern
{
public function __construct($name)

Check failure on line 9 in src/TestPattern.php

View workflow job for this annotation

GitHub Actions / phpstan

Constructor of class Kiboko\Component\StringExpressionLanguage\TestPattern has an unused parameter $name.
{
parent::__construct(
$name,
$this->compile(...)->bindTo($this),
$this->evaluate(...)->bindTo($this)
);
}

private function compile(string $pattern, string $subject): bool

Check failure on line 13 in src/TestPattern.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Kiboko\Component\StringExpressionLanguage\TestPattern::compile() is unused.
Expand Down

0 comments on commit 3d4efae

Please sign in to comment.