Skip to content

Commit

Permalink
Fix mock value bug in phpunit, bump phpunit 8.5
Browse files Browse the repository at this point in the history
This did happen to me in Ubuntu while packaging,  until now I did not understand it correctly.
It's a phpunit bug for sure, patched in 8.5.16.
Most probably due to sebastianbergmann/phpunit#4678

```
1) PhpMyAdmin\Tests\TableTest::testDuplicateInfo
Invalid argument supplied for foreach()

libraries/classes/Table.php:944
test/classes/TableTest.php:955
phpvfscomposer://vendor/phpunit/phpunit/phpunit:60
```

Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed May 29, 2023
1 parent 2db38cb commit 3e64464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -105,7 +105,7 @@
"phpstan/phpstan": "^1.4.8",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^8.5 || ^9.5",
"phpunit/phpunit": "^8.5.16 || ^9.5",
"pragmarx/google2fa-qrcode": "^2.1",
"psalm/plugin-phpunit": "^0.16.1",
"roave/security-advisories": "dev-latest",
Expand Down

0 comments on commit 3e64464

Please sign in to comment.