fix(deps): update dependency chillerlan/php-qrcode to v6#60
Open
renovate[bot] wants to merge 1 commit intobetafrom
Open
fix(deps): update dependency chillerlan/php-qrcode to v6#60renovate[bot] wants to merge 1 commit intobetafrom
renovate[bot] wants to merge 1 commit intobetafrom
Conversation
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5→^5 || ^6Release Notes
chillerlan/php-qrcode (chillerlan/php-qrcode)
v6.0.1Compare Source
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
QRMatrixclass 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.BitBuffer::getBuffer()BitBuffer::$bufferBitBuffer::getLength()BitBuffer::$lengthDetector::getFinderPatterns()Detector::$finderPatternsEccLevel::getLevel()EccLevel::$levelECICharset::getID()ECICharset::$charsetIDFinderPattern::getCount()FinderPattern::$countGenericGFPoly::getCoefficients()GenericGFPoly::$coefficientsLuminanceSourceInterface::getHeight()LuminanceSourceInterface::$heightLuminanceSourceInterface::getWidth()LuminanceSourceInterface::$widthLuminanceSourceInterface::getLuminances()LuminanceSourceInterface::$luminancesMaskPattern::getPattern()MaskPattern::$currentPatternQRData::getBitBuffer()QRData::$bitBufferQRMatrix::getEccLevel()QRMatrix::$eccLevelQRMatrix::getMaskPattern()QRMatrix::$maskPatternQRMatrix::getMatrix()QRMatrix::$matrixQRMatrix::getSize()QRMatrix::$moduleCountQRMatrix::getVersion()QRMatrix::$versionResultPoint::getEstimatedModuleSize()ResultPoint::$estimatedModuleSizeResultPoint::getX()ResultPoint::$xResultPoint::getY()ResultPoint::$yVersion::getVersionNumber()Version::$versionNumberThe following properties as well as the method
copyVars()inQROutputAbstractwill be removed in v7 without replacement,as they only existed to improve performance by circumventing the magic getters in the
QROptionsclass - 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.These changes are already in
dev-main.v6.0.0Compare Source
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
mainbranch will remain the active development branch towards v7. If you have used the composer versiondev-mainwithout a commit hash in the past, please make sure to update the requirement ASAP. You have been warned.For feedback and questions please head over to the linked discussion!
Changelog
QRCodeconstructor now also accepts aniterableas options, which is handed over to a newQROptionsinstance internally.QRMatrix::getBooleanMatrix()fromQRMatrix::getMatrix()to remove type ambiguity, the optional parameter$booleanhas been removed.benchmarkbranch).QROptionsTrait)QROptions::$outputTypeand the related constants inQROutputInterfacehave been removed. The output type is now specified viaQROptions::$outputInterfacewith the default value ofQRMarkupSVG::class. (#223).QRCodeReaderOptionsTrait.QROptions::$eccLevelnow also accepts the string valuesL, M, Q, H(case-insensitive) - these will be converted internally to the respective integers. (#160).QROptions::$scale(module scaling for several raster image output classes) is now clamped between 1 and 50.QROutputInterfaceand child classes)$transformof the methodQROutputAbstract::collectModules(Closure $transform)has been removed in favor of a methodQROutputAbstract::moduleTransform():mixed|nullwhich is called with the same parameters.QRInterventionImage(intervention/image) output.QRMarkupXMLincluding an XSD schemaqrcode.schema.xsd.QRStringJSONoverhaul, similar to XML output, including a JSON schemaqrcode.schema.json.QRGdImageAVIF.QRFpdf::dump(): allow using externalFPDFinstance.CssColorModuleValueTraitandRGBArrayModuleValueTraitfor use in custom output classes.v5.0.5Compare Source
imagedestroy()deprecation)$transformof the methodQROutputAbstract::collectModules(Closure $transform)has been deprecated in favor of the newly introduced methodQROutputAbstract::moduleTransform()with the same parameters as the anonymous closure. The parameter will be removed in v6.empty()have been replaced with more precise checks.v5.0.4Compare Source
AlphaNumstring validator and added additional tests (#313)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.