Skip to content

Commit

Permalink
fix: update baseline and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Sep 22, 2024
1 parent a0ba41c commit a443a53
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
parameters:
ignoreErrors:
-
message: "#^While loop condition is always true\\.$#"
count: 1
path: src/InfiniteIteratorAggregate.php

-
message: "#^While loop condition is always true\\.$#"
count: 1
Expand Down
1 change: 1 addition & 0 deletions src/TypedIterableAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

use function gettype;
use function is_object;
use function sprintf;

/**
* @template TKey
Expand Down
2 changes: 2 additions & 0 deletions tests/benchmarks/IteratorBenchmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
use PhpBench\Benchmark\Metadata\Annotations\ParamProviders;
use Traversable;

use function sprintf;

abstract class IteratorBenchmark
{
/**
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/InterruptableIterableIteratorAggregateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
use loophp\iterators\InterruptableIterableIteratorAggregate;
use PHPUnit\Framework\TestCase;

use function sprintf;

/**
* @internal
*
Expand Down
1 change: 1 addition & 0 deletions tests/unit/MapIterableAggregateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use PHPUnit\Framework\TestCase;

use function gettype;
use function sprintf;

/**
* @internal
Expand Down

0 comments on commit a443a53

Please sign in to comment.