MDL-52487 rss: PHP 7 compatible error supression
authorDavid Monllao <davidm@moodle.com>
Mon, 14 Dec 2015 06:53:07 +0000 (14:53 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 14 Dec 2015 07:28:37 +0000 (15:28 +0800)
commitabc4e1efedd909c9a7090ed17139b57758122eb9
tree40b94330de7c3f6b3c2531a5d2d4cfd3245f919e
parent0dfcc2541a61e8e8ee6c29e262de76312e1bcbc2
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