Skip to content

Commit

Permalink
Ignore Stan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Apr 9, 2024
1 parent 03d9e48 commit 01a67a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Package/Constraint.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function __construct(?string $package = null)
*/
public static function package(string $package)
{
/** @phpstan-ignore-next-line */
return new static($package);
}

Expand All @@ -58,6 +59,7 @@ public static function package(string $package)
*/
public static function php()
{
/** @phpstan-ignore-next-line */
return new static('php');
}

Expand All @@ -68,6 +70,7 @@ public static function php()
*/
public static function extension(string $extension)
{
/** @phpstan-ignore-next-line */
return new static('ext-' . $extension);
}

Expand Down

0 comments on commit 01a67a9

Please sign in to comment.