stable

Clone or download

Read-only

request #12837: Jenkins build history widget generates warnings in PHP 7

In order to remove the warnings, this contribution replace SimplePie with Zend\Feed. The version of SimplePie currently bundled with Tuleap is outdated. Since we already have a dependency to the Zend framework module it makes sense to reuse that and use Zend\Feed. Zend\Feed\Writer could also be used to replace our existing self made and likely broken implementation of RSS feeds. Change-Id: Ib02d3a5d1c0697401cc7a977294db367b5e36089

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M site-content/tuleap-core.pot +3 −0 Go to diff View file
M src/common/Http/HttpClientFactory.php +10 −3 Go to diff View file
A src/common/RSS/FeedHTTPClient.php +53 −0 Go to diff View file
R src/common/rss/RSS.class.php Go to diff View file
D src/common/rss/libs/SimplePie/LICENSE.txt +0 −26 Go to diff View file
D src/common/rss/libs/SimplePie/README.txt +0 −30 Go to diff View file
D src/common/rss/libs/SimplePie/compatibility_test/COMPATIBILITY README.txt +0 −7 Go to diff View file
D src/common/rss/libs/SimplePie/compatibility_test/sp_compatibility_test.php +0 −324 Go to diff View file
D src/common/rss/libs/SimplePie/create.php +0 −163 Go to diff View file
D src/common/rss/libs/SimplePie/idn/LICENCE +0 −502 Go to diff View file
D src/common/rss/libs/SimplePie/idn/ReadMe.txt +0 −123 Go to diff View file
D src/common/rss/libs/SimplePie/idn/idna_convert.class.php +0 −969 Go to diff View file
D src/common/rss/libs/SimplePie/idn/npdata.ser +0 −1 Go to diff View file
D src/common/rss/libs/SimplePie/simplepie.inc +0 −13681 Go to diff View file
M src/common/widget/Widget_MyProjects.class.php +1 −6 Go to diff View file
M src/common/widget/Widget_ProjectLatestCommits.class.php +1 −3 Go to diff View file
M src/common/widget/Widget_Rss.class.php +56 −33 Go to diff View file
M src/composer.json +2 −0 Go to diff View file
M src/composer.lock +406 −1 Go to diff View file
M src/www/export/rss_sfnews.php +0 −1 Go to diff View file