MDL-52487 rss: PHP 7 compatible error supression
commit19da0bad139d43c1e75ea60ff0167c82cbc71d3a
authorDavid Monllao <davidm@moodle.com>
Mon, 14 Dec 2015 06:53:07 +0000 (14 14:53 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 14 Dec 2015 07:29:34 +0000 (14 15:29 +0800)
tree90236cb2b7309f593c246160014bea7420fd5a39
parent6ace0f59aecf22efc794ffdd35777899f14159be
MDL-52487 rss: PHP 7 compatible error supression

PHP5 used to update error_reporting to 0 on functions called with the
suppress errors operator (@). In PHP7 it is not updated.

Credit to Rajesh Taneja
blocks/rss_client/tests/cron_test.php
lib/tests/rsslib_test.php