Skip to content

Commit

Permalink
Ignore CS violation for deprecated function
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Oct 14, 2022
1 parent 7f0edea commit 1a4c7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Reader implements ReaderImportInterface
public static function disableEntityLoader($flag = true)
{
if (LIBXML_VERSION < 20900) {
return libxml_disable_entity_loader($flag);
return libxml_disable_entity_loader($flag); // phpcs:ignore
}
return $flag;
}
Expand Down

0 comments on commit 1a4c7a4

Please sign in to comment.