mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-06 11:57:23 +00:00
:octocat: fix PHPCS config, add Slevomat rules
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ catch(Throwable $e){
|
||||
}
|
||||
|
||||
|
||||
if(php_sapi_name() !== 'cli'){
|
||||
if(PHP_SAPI !== 'cli'){
|
||||
header('Content-type: image/svg+xml');
|
||||
|
||||
if(extension_loaded('zlib')){
|
||||
|
||||
Reference in New Issue
Block a user