Closed marinaglancy closed 1 year ago
@oleg-andreyev, any chance we can land this. We're trying to get compatibility with PHP 8.1 ASAP and this is a blocker for us.
@oleg-andreyev, any chance we can land this. We're trying to get compatibility with PHP 8.1 ASAP and this is a blocker for us.
One thing that bugs me, input has missing or unknown "type" it should fallback "text"
MDN:
If omitted (or an unknown value is specified), the input type text is used, creating a plaintext input field.
also I've done some work on https://github.com/oleg-andreyev/MinkPhpWebDriver/releases/tag/v1.2.0
now PHP >= 7.4 and build is working.
FYI In minkphp/MinkSelenium2Driver it is changed to ?: ''
in four different places but the other three are only engaged if type='input'
https://github.com/minkphp/MinkSelenium2Driver/commit/96ba5d71393e198f6ea2f6a61b1c5d14659757fc
The value of the variable is never compared to 'text'
so it will not make any difference to the logic. But I can do it if you want
hi @oleg-andreyev , thanks for reviewing it. Is there any chance to get it merged and tagged? TIA
Hi @oleg-andreyev ,
any reason the new release is not showing @ packagist? https://packagist.org/packages/oleg-andreyev/mink-phpwebdriver
Was just trying to update our repos here to use it and composer cannot find it, so far.
Ciao :-)
Edited: Ah, maybe I need to patiently wait 24 hours or so? Sorry for the pressure, if that's the case, heh! I'm just used to see the new tags/releases happening almost immediately @ packagist.
@stronk7 fixed.
It appears I made a typo in tag/release
tag is updated https://packagist.org/packages/oleg-andreyev/mink-phpwebdriver#v1.2.1
Aha, great! Heap thanks!
Elements such as "option", "select" and "textarea" do not have 'type' property and it causes a notice in PHP 8.1: