8000 Compatibility with PHP 8 by zaporylie · Pull Request #9 · brainite/quipxml · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Quip.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static public function formatter($settings = NULL) {
* @return \QuipXml\Xml\QuipXmlElement
*/
static public function load($source, $options = 0, $data_is_url = FALSE, $ns = '', $is_prefix = FALSE, $quip_options = 0) {
set_error_handler(function ($errno, $errstr, $errfile, $errline, $errcontext) {
set_error_handler(function ($errno, $errstr, $errfile, $errline) {
throw new \ErrorException($errstr, $errno);
}, E_WARNING);
$error_reporting_level = error_reporting();
Expand Down
0