Skip to content

Commit 0da343e

Browse files
author
Thomas COMBE
committed
Allow php 8 (phpunit and test)
1 parent 01502be commit 0da343e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"larapack/dd": "^1.0",
2727
"mockery/mockery": "^1.0",
2828
"orchestra/testbench": "~3.5|~3.8",
29-
"phpunit/phpunit": "^7.0",
29+
"phpunit/phpunit": "^7.0|^8.0",
3030
"predis/predis": "^1.1",
3131
"scrutinizer/ocular": "^1.5"
3232
},

Diff for: tests/CorrectPhpVersionIsInstalledTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function it_accepts_version_with_asterix()
6060

6161
$data = file_get_contents(__DIR__ . '/fixtures/composer.json');
6262

63-
$data = str_replace('"php": "^7.1.3",', '"php": "7.*",', $data);
63+
$data = str_replace('"php": "^7.1.3",', '"php": "7.*|8.*",', $data);
6464

6565
$fileSystemMock->shouldReceive('get')
6666
->andReturn($data);

0 commit comments

Comments
 (0)