Skip to content

Bump chillerlan/php-qrcode from 4.4.2 to 6.0.1#47

Merged
mokesano merged 6 commits into
mainfrom
dependabot/composer/chillerlan/php-qrcode-6.0.1
Jun 2, 2026
Merged

Bump chillerlan/php-qrcode from 4.4.2 to 6.0.1#47
mokesano merged 6 commits into
mainfrom
dependabot/composer/chillerlan/php-qrcode-6.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Copy link
Copy Markdown
Contributor

Bumps chillerlan/php-qrcode from 4.4.2 to 6.0.1.

Release notes

Sourced from chillerlan/php-qrcode's releases.

6.0.1

The following methods (property getters) have been deprecated in favor of asymmetric visibility, which is available as of PHP 8.4 and which is the minimum requirement of the next major version (v7) of php-qrcode. The QRMatrix class will see an addition of a magic getter that emulates the future behaviour as an upgrade path, the other methods are only used internally and will see no such addition for the time being.

method replacement
BitBuffer::getBuffer() BitBuffer::$buffer
BitBuffer::getLength() BitBuffer::$length
Detector::getFinderPatterns() Detector::$finderPatterns
EccLevel::getLevel() EccLevel::$level
ECICharset::getID() ECICharset::$charsetID
FinderPattern::getCount() FinderPattern::$count
GenericGFPoly::getCoefficients() GenericGFPoly::$coefficients
LuminanceSourceInterface::getHeight() LuminanceSourceInterface::$height
LuminanceSourceInterface::getWidth() LuminanceSourceInterface::$width
LuminanceSourceInterface::getLuminances() LuminanceSourceInterface::$luminances
MaskPattern::getPattern() MaskPattern::$currentPattern
QRData::getBitBuffer() QRData::$bitBuffer
QRMatrix::getEccLevel() QRMatrix::$eccLevel
QRMatrix::getMaskPattern() QRMatrix::$maskPattern
QRMatrix::getMatrix() QRMatrix::$matrix
QRMatrix::getSize() QRMatrix::$moduleCount
QRMatrix::getVersion() QRMatrix::$version
ResultPoint::getEstimatedModuleSize() ResultPoint::$estimatedModuleSize
ResultPoint::getX() ResultPoint::$x
ResultPoint::getY() ResultPoint::$y
Version::getVersionNumber() Version::$versionNumber

The following properties as well as the method copyVars() in QROutputAbstract will be removed in v7 without replacement, as they only existed to improve performance by circumventing the magic getters in the QROptions class - these are replaced by (set) property hooks where unnecessary overhead is reduced. Some of the built-in output classes may see the re-addition of some of these properties locally, depending on the performance impact.

QROutputAbstract::$excludeFromConnect
QROutputAbstract::$keepAsSquare
QROutputAbstract::$connectPaths
QROutputAbstract::$eol
QROutputAbstract::$drawCircularModules
QROutputAbstract::$drawLightModules
QROutputAbstract::$circleRadius

These changes are already in dev-main.

6.0.0

Hi, I've kept you waiting for too long now, so I'm going to release it "as is". Originally I planned to add support for creating Structured Append QR Codes but I'm currently lacking the mental capacity to wrap my head around this concept (a method to calculate the parity already exists in the code, feel free to submit a PR!).

Once again, a big thank you to everyone who submitted issue reports and opened discussions and helped to improve this library!

IMPORTANT: v6 will be branched out and the main branch will remain the active development branch towards v7. If you have used the composer version dev-main without a commit hash in the past, please make sure to update the requirement ASAP. You have been warned.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [chillerlan/php-qrcode](https://github.com/chillerlan/php-qrcode) from 4.4.2 to 6.0.1.
- [Release notes](https://github.com/chillerlan/php-qrcode/releases)
- [Commits](chillerlan/php-qrcode@4.4.2...6.0.1)

---
updated-dependencies:
- dependency-name: chillerlan/php-qrcode
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 6, 2026

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The pull request is intended to upgrade chillerlan/php-qrcode from version 4.4.2 to 6.0.1. This is a major version jump that introduces significant breaking changes. Current results indicate that no files have actually been modified in this pull request.

Before merging, the implementation must include updates to composer.json and composer.lock, along with mandatory refactoring of any code interacting with QRMatrix, BitBuffer, or QROutputAbstract to align with the v6 API. Codacy results are currently 'up to standards', but this is likely a false positive due to the lack of changes.

About this PR

  • This major version bump (v4 to v6) includes breaking changes such as the removal of getters in QRMatrix (e.g., getMatrix(), getSize()) in favor of public properties, and the removal of properties like $eol and $circleRadius from QROutputAbstract. Logic relying on these must be refactored.
  • The pull request currently contains no code changes. Please ensure that composer.json and composer.lock are updated and that all necessary refactorings for the v6.0.1 upgrade are included.

Test suggestions

  • Confirm successful QR code generation using version 6.0.1.
  • Verify that logic accessing QRMatrix or BitBuffer properties has been updated to use the new public properties instead of deprecated getters.
  • Test custom output rendering if the application extends QROutputAbstract to ensure removed properties don't cause failures.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Confirm successful QR code generation using version 6.0.1.
2. Verify that logic accessing QRMatrix or BitBuffer properties has been updated to use the new public properties instead of deprecated getters.
3. Test custom output rendering if the application extends QROutputAbstract to ensure removed properties don't cause failures.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@codacy-production

codacy-production Bot commented May 15, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@mokesano mokesano self-assigned this May 15, 2026
@mokesano mokesano merged commit 2641e2c into main Jun 2, 2026
7 of 10 checks passed
@mokesano mokesano deleted the dependabot/composer/chillerlan/php-qrcode-6.0.1 branch June 2, 2026 11:39
@github-project-automation github-project-automation Bot moved this from Todo to Done in wizdam-fork Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant