stable
Clone or download
PHP 8.0's \is_callable() is stricter so method called statically needs to be static to be considered callable. Some routes are affected like the administration of project references. To test you can move your instance to PHP 8.0 by deploying the configuration files and overriding the tuleap-php-fpm unit: ``` $ tuleap-cfg site-deploy:fpm --development --php-version=php80 $ systemctl edit tuleap-php-fpm.service ``` ``` [Unit] Conflicts=php74-php-fpm.service php80-php-fpm.service [Service] PIDFile=/var/opt/remi/php80/run/php-fpm/php-fpm.pid EnvironmentFile=/etc/opt/remi/php80/sysconfig/php-fpm ExecStart= ExecStart=/opt/remi/php80/root/usr/sbin/php-fpm --nodaemonize ``` Part of request #22186: Run Tuleap with PHP 8.0 Change-Id: I703b1644d96292d58fe4c0a260be44e88786a0fa
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Request/RouteCollector.php | +17 | −17 | Go to diff View file |