Skip to content

Commit dee8d7b

Browse files
committed
Allow phpunit 8 so that we can keep support for php7.2
1 parent f4702f3 commit dee8d7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"phayes/geophp": "~1.2"
2727
},
2828
"require-dev": {
29-
"mockery/mockery": "^1",
30-
"phpunit/phpunit": "^9.0",
29+
"mockery/mockery": "^1.3.1",
30+
"phpunit/phpunit": "^8.4|^9.0",
3131
"psy/psysh": "^0.10",
3232
"symfony/thanks": "^1.1",
3333
"symfony/var-dumper": "^5.0"

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ abstract class TestCase extends PHPUnitTestCase
2828
*
2929
* @return void
3030
*/
31-
protected function mockArrayIterator(MockInterface $mock, array $items)
31+
protected function mockArrayIterator(MockInterface $mock, array $items): void
3232
{
3333
if ($mock instanceof ArrayAccess) {
3434
foreach ($items as $key => $val) {

0 commit comments

Comments
 (0)