Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thirdparty/vendor/khanamiryan/qrcode-detector-decoder/lib common/BitMatrix.php and qrcode/decoder/DecodedBitStreamParser.php syntax errors in v4.2-r1 (2023051200) #44

Open
mikehenry1979-bah opened this issue Oct 1, 2024 · 0 comments

Comments

@mikehenry1979-bah
Copy link

mikehenry1979-bah commented Oct 1, 2024

These syntax errors are in v4.2-r1 (2023051200), apologies if these have already been fixed in a newer build. They both state unexpected token '{'

thirdparty/vendor/khanamiryan/qrcode-detector-decoder/lib/common/BitMatrix.php shows a syntax error on line 37, and 38 is correct:

        if ($stringRepresentation{$pos} == '\n' ||
            $stringRepresentation->{$pos} == '\r') {

thirdparty/vendor/khanamiryan/qrcode-detector-decoder/lib/qrcode/decoder/DecodedBitStreamParser.php shows a syntax error on line 285, but 286 is correct:

            if ($result{$i} == '%') {
                if ($i < strlen($result) - 1 && $result{$i + 1} == '%') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant