mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-19 02:05:42 +00:00
:octocat: fix PHPCS config, add Slevomat rules
This commit is contained in:
@@ -392,6 +392,7 @@ class QRMatrix{
|
||||
|
||||
foreach($pos as $c){
|
||||
$this
|
||||
// phpcs:ignore
|
||||
->setArea( $c[0] , $c[1] , 7, 7, true, $this::M_FINDER)
|
||||
->setArea(($c[0] + 1), ($c[1] + 1), 5, 5, false, $this::M_FINDER)
|
||||
->setArea(($c[0] + 2), ($c[1] + 2), 3, 3, true, $this::M_FINDER_DOT)
|
||||
@@ -422,6 +423,7 @@ class QRMatrix{
|
||||
|
||||
for($c = 0; $c < 3; $c++){
|
||||
for($i = 0; $i < 8; $i++){
|
||||
// phpcs:ignore
|
||||
$this->set( $h[$c][0] , ($h[$c][1] + $i), false, $this::M_SEPARATOR);
|
||||
$this->set(($v[$c][0] - $i), $v[$c][1] , false, $this::M_SEPARATOR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user