mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
phcbf autofixes
This commit is contained in:
parent
a4be7fd316
commit
0900e31d45
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
||||||
*.log
|
*.log
|
||||||
.directory
|
.directory
|
||||||
vendor
|
vendor
|
||||||
|
Build
|
||||||
*.cache
|
*.cache
|
||||||
|
|
@ -2587,7 +2587,7 @@ class QR extends TwoDAbstract
|
||||||
for ($y = 0; $y < 6; ++$y) {
|
for ($y = 0; $y < 6; ++$y) {
|
||||||
for ($x = 0; $x < 3; ++$x) {
|
for ($x = 0; $x < 3; ++$x) {
|
||||||
$frame[$y][$x + ($width - 11)] = \chr(0x88 | ($v & 1));
|
$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) {
|
for ($i = 0; $i < $rs['nn']; ++$i) {
|
||||||
$rs['index_of'][$sr] = $i;
|
$rs['index_of'][$sr] = $i;
|
||||||
$rs['alpha_to'][$i] = $sr;
|
$rs['alpha_to'][$i] = $sr;
|
||||||
$sr <<= 1;
|
$sr <<= 1;
|
||||||
|
|
||||||
if (($sr & (1 << $symsize)) !== 0) {
|
if (($sr & (1 << $symsize)) !== 0) {
|
||||||
$sr ^= $gfpoly;
|
$sr ^= $gfpoly;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user