Skip to content
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.1 - realpath(): Passing null to parameter #1 ($path) of type string is deprecated #3494

Closed
williamdes opened this issue Mar 20, 2021 · 4 comments

Comments

@williamdes
Copy link

https://github.com/phpmyadmin/phpmyadmin/pull/16743/checks?check_run_id=2156536145#step:10:8

PHP Deprecated:  realpath(): Passing null to parameter #1 ($path) of type string is deprecated in vendor/twig/twig/src/Loader/FilesystemLoader.php on line 40
@williamdes
Copy link
Author

Also

strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/Error/Error.php:175
/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/Error/Error.php:111
/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/Template.php:409
/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/Template.php:367
/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/Template.php:379
/home/runner/work/phpmyadmin/phpmyadmin/vendor/twig/twig/src/TemplateWrapper.php:40
/home/runner/work/phpmyadmin/phpmyadmin/libraries/classes/Template.php:129
/home/runner/work/phpmyadmin/phpmyadmin/libraries/classes/Controllers/Database/StructureController.php:685
/home/runner/work/phpmyadmin/phpmyadmin/test/classes/Controllers/Database/StructureControllerTest.php:541
/home/runner/work/phpmyadmin/phpmyadmin/vendor/phpunit/phpunit/phpunit:61

@oleg-andreyev
Copy link
Contributor

Added 8.1 to Twig: #3495

@fabpot
Copy link
Contributor

fabpot commented Mar 21, 2021

Anyone willing to work on a Pull Request to fix these issues on the 1.x branch?

@oleg-andreyev
Copy link
Contributor

@fabpot #3495 is rebased on 1.x and PHP8.1 deprecations are fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants