: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
+2 -2
View File
@@ -133,7 +133,7 @@ class QRCode{
$logoSpaceWidth,
$logoSpaceHeight,
$this->options->logoSpaceStartX,
$this->options->logoSpaceStartY
$this->options->logoSpaceStartY,
);
}
@@ -156,7 +156,7 @@ class QRCode{
throw new QRCodeOutputException('invalid output class');
}
if(!in_array(QROutputInterface::class, class_implements($outputInterface))){
if(!in_array(QROutputInterface::class, class_implements($outputInterface), true)){
throw new QRCodeOutputException('output class does not implement QROutputInterface');
}