:octocat: fix PHPCS config, add Slevomat rules

This commit is contained in:
smiley
2024-07-21 14:54:15 +02:00
parent 89cdd09044
commit f32696c8a7
97 changed files with 462 additions and 654 deletions
+3 -2
View File
@@ -8,7 +8,8 @@
* @license MIT
*/
use chillerlan\QRCode\{Data\QRMatrix, QRCode, QROptions};
use chillerlan\QRCode\Data\QRMatrix;
use chillerlan\QRCode\{QRCode, QROptions};
use chillerlan\QRCode\Output\QRMarkupXML;
require_once __DIR__.'/../vendor/autoload.php';
@@ -61,7 +62,7 @@ catch(Throwable $e){
}
if(php_sapi_name() !== 'cli'){
if(PHP_SAPI !== 'cli'){
header('Content-type: '.QRMarkupXML::MIME_TYPE);
}