Closed phil-davis closed 9 months ago
Fixes #127
My Behat UI tests pass with these changes. See the issue for details of the problem.
My IDE also notices the problem and tells me: Catching exceptions without capturing them to variables is only possible since PHP 8.0
So the code released in 1.4.17 will work on PHP 8 but not on PHP 7. I am running tests with PHP 7.4
@robocoder any chance to get this merged and a 1.4.18 patch released?
Fixes #127
My Behat UI tests pass with these changes. See the issue for details of the problem.
My IDE also notices the problem and tells me: Catching exceptions without capturing them to variables is only possible since PHP 8.0
So the code released in 1.4.17 will work on PHP 8 but not on PHP 7. I am running tests with PHP 7.4