From 0900e31d459155d47fbe8ce8adc7d40fb8910878 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 28 May 2023 12:38:27 +0000 Subject: [PATCH] phcbf autofixes --- .gitignore | 1 + Utils/Barcode/QR.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f0e9202e2..27d7fbb33 100755 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.log .directory vendor +Build *.cache \ No newline at end of file diff --git a/Utils/Barcode/QR.php b/Utils/Barcode/QR.php index 89bf3db42..0ca45f061 100755 --- a/Utils/Barcode/QR.php +++ b/Utils/Barcode/QR.php @@ -2587,7 +2587,7 @@ class QR extends TwoDAbstract for ($y = 0; $y < 6; ++$y) { for ($x = 0; $x < 3; ++$x) { $frame[$y][$x + ($width - 11)] = \chr(0x88 | ($v & 1)); - $v >>= 1; + $v >>= 1; } } } @@ -2703,7 +2703,7 @@ class QR extends TwoDAbstract for ($i = 0; $i < $rs['nn']; ++$i) { $rs['index_of'][$sr] = $i; $rs['alpha_to'][$i] = $sr; - $sr <<= 1; + $sr <<= 1; if (($sr & (1 << $symsize)) !== 0) { $sr ^= $gfpoly;