stable

Clone or download

Read-only

Legacy wikis (PHPWiki) can be used with PHP 8.0

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: I36c5e0c5ff3a5e3b23f5a0742ecb0c9c3f3bfafc

Modified Files

Name
M src/common/wiki/lib/Wiki.class.php +1 −2 Go to diff View file
M src/common/wiki/lib/WikiAttachment.class.php +5 −20 Go to diff View file
M src/common/wiki/lib/WikiAttachmentRevision.class.php +6 −13 Go to diff View file
M src/common/wiki/lib/WikiEntry.class.php +1 −7 Go to diff View file
M src/common/wiki/lib/WikiPage.class.php +3 −3 Go to diff View file
M src/common/wiki/phpwiki/lib/CachedMarkup.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/HtmlParser.php +2 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/PageList.php +3 −3 Go to diff View file
M src/common/wiki/phpwiki/lib/PageType.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/Request.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/RssParser.php +2 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/Theme.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/WikiDB.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/WikiDB/backend/PearDB.php +2 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/WikiDB/backend/PearDB_mysql.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/WikiGroup.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/XmlElement.php +6 −6 Go to diff View file
R src/common/wiki/phpwiki/lib/XmlParser.php Go to diff View file
M src/common/wiki/phpwiki/lib/pear/DB/common.php +20 −22 Go to diff View file
M src/common/wiki/phpwiki/lib/pear/DB/mysql_pdo.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/AllPages.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/PhpHighlight.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/RecentChanges.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/WikiAdminUtils.php +2 −2 Go to diff View file
M src/common/wiki/phpwiki/lib/plugin/_WikiTranslation.php +1 −1 Go to diff View file
M src/common/wiki/phpwiki/lib/stdlib.php +3 −0 Go to diff View file