New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8 compatibility #16429
Comments
|
Looks like some of our developers are already trying to get this resolved :) php-webdriver/php-webdriver#826 |
|
I renamed this issue to have a central point to track php 8 compatibility issues. |
|
Here is one for tcpdf: tecnickcom/TCPDF#222 |
|
Maybe we should make a new project for PHP 8 compatibility problems? |
One column on the issues board seems a better idea, else the project will be forgotten and empty ;) |
|
Here it is: https://github.com/phpmyadmin/phpmyadmin/projects/7#column-11361204 This issue related to #16268 |
|
47) PhpMyAdmin\Tests\Setup\ConfigGeneratorTest::testGetConfigFile TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string, int given libraries/classes/Setup/ConfigGenerator.php:61 test/classes/Setup/ConfigGeneratorTest.php:55 vendor/phpunit/phpunit/phpunit:61 Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
… / int 1) PhpMyAdmin\Tests\Engines\PbxtTest::testResolveTypeSize with data set #2 ('A4', array('0', 'B')) TypeError: Unsupported operand types: string / int libraries/classes/Util.php:528 libraries/classes/Engines/Pbxt.php:156 test/classes/Engines/PbxtTest.php:175 vendor/phpunit/phpunit/phpunit:61 Signed-off-by: William Desportes <williamdes@wdes.fr>
… / int Cherry-pick: d402c0f Signed-off-by: William Desportes <williamdes@wdes.fr>
47) PhpMyAdmin\Tests\Setup\ConfigGeneratorTest::testGetConfigFile TypeError: preg_replace(): Argument #3 ($subject) must be of type array|string, int given libraries/classes/Setup/ConfigGenerator.php:61 test/classes/Setup/ConfigGeneratorTest.php:55 vendor/phpunit/phpunit/phpunit:61 Cherry-pick: cd3a0e4 Signed-off-by: William Desportes <williamdes@wdes.fr>
Cherry-pick: 2df5ce0 Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diff: tecnickcom/TCPDF@6.3.5...456b794 Pull-request: #16596 Fixes: #16429 Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
|
now that PHP 8 compatibility has been fixed in php-webdriver 1.9.0 and 1.10.0, can the requirement in composer.json please be bumped now to |
I do not see where this does make sense, what branch are you using ? |
|
I am using the master branch. The composer.json on master has a "caret version range" on webdriver: Line 83 in 87526f2
Running a
And I see that there has been a fix in
The fix in webdriver is announced here: php-webdriver/php-webdriver#828 (comment) I manually bumped the version of webdriver in composer.json to I was then able to run |
Ref: #16429 Signed-off-by: William Desportes <williamdes@wdes.fr>
|
I pushed a commit for that: 8529c01 But for me it makes no sense at all, maybe you can let me know why you need this ? |
I'm not sure I understand. Are you saying nobody else has errors, when issuing |
Exactly, because it updates to the latest version. Nobody else had this error while updating 🤔
Sure, this is the right command to run in production. Devs can just use
Sure, this will help because if someone used the prefer lowest option of composer I think the error would then be accurate |
When using PHP 8.0.0rc1 provided by the Sury repository, I get the following message when running
composer update:The text was updated successfully, but these errors were encountered: