Skip to content

Commit

Permalink
Merge 880d381 into c74636c
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Jan 15, 2022
2 parents c74636c + 880d381 commit 7938d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: 7.4
PHP_VERSION: 8.0
PHP_CS_FIXER_VERSION: v3.2.1

steps:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
runs-on: ubuntu-latest

env:
PHP_VERSION: 7.4
PHP_VERSION: 8.0
COMPOSER_ROOT_VERSION: v5.99

steps:
Expand Down
22 changes: 0 additions & 22 deletions tests/IterableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,6 @@
*/
final class IterableTest extends TestCase
{
private static $usesIterable;

public static function setUpBeforeClass(): void
{
if (PHP_VERSION_ID < 70100) {
self::$usesIterable = false;

return;
}

$reflection = new ReflectionClass(Standard::class);
$type = $reflection->getConstructor()->getParameters()[0]->getType();
self::$usesIterable = $type->isBuiltin(); // Traversable isn't builtin
}

protected function setUp(): void
{
if (!self::$usesIterable) {
$this->markTestSkipped('Not testing iterables: not yet supported by the interface');
}
}

public function testArrayToArray(): void
{
$pipeline = new Standard([1, 2, 3]);
Expand Down

0 comments on commit 7938d64

Please sign in to comment.