Commit Graph

620 Commits

Author SHA1 Message Date
smiley e151e0915e :octocat: MaskPattern::$currentPattern: remove property getter in favor of asymmetric visibility 2026-03-18 02:22:16 +01:00
smiley a8076a113b :octocat: Version::$versionNumber: remove property getter in favor of asymmetric visibility 2026-03-18 02:14:28 +01:00
smiley 6b59d01c9e :octocat: EccLevel::$level remove property getter in favor of asymmetric visibility 2026-03-18 02:04:33 +01:00
smiley 97cc453dc0 :octocat: BitBuffer: remove property getters in favor of asymmetric visibility 2026-03-18 01:51:14 +01:00
smiley d51f7a7e8c :octocat: QRMatrix::getBitBuffer() remove property getter in favor of asymmetric visibility 2026-03-18 01:42:32 +01:00
smiley 63d2a08933 :octocat: QRMatrix::checkTypeIn(): convert loop to array_any() call 2026-03-18 01:23:16 +01:00
smiley 88b2f9a98c :octocat: QRMatrix: remove property getters in favor of asymmetric visibility 2026-03-18 01:19:14 +01:00
smiley 9a38501f5b :octocat: omit parentheses around "new" calls 2026-03-17 19:05:34 +01:00
smiley 3bfa0be1d5 :octocat: move determining min/max version 2026-03-17 18:37:01 +01:00
smiley 8d22cd3154 :octocat: silencing the offenders for now (https://github.com/phan/phan/issues/5491) 2026-03-17 00:13:03 +01:00
smiley 94931d8da2 :octocat: type hints for class constants 2026-03-16 21:48:09 +01:00
smiley 408f463832 :octocat: convert magic setters to property hooks 2026-03-16 20:29:16 +01:00
smiley aa5f04446f :octocat: phan happy (this might be a false positive?) 2026-03-14 16:52:10 +01:00
smiley 2f8cec4dbb :octocat: clamp the module scale value between 1 and 50 2026-02-10 18:30:55 +01:00
smiley 755e075400 :octocat: phpcs happy 2026-02-10 18:29:10 +01:00
smiley 53e2d8f7fc 🚿 2025-11-18 14:08:09 +01:00
smiley 44d277d537 🚿 order values 2025-11-17 19:09:49 +01:00
smiley 92346420a5 🚿 redundant "static" return type in final class 2025-11-17 18:51:35 +01:00
smiley d0462ee466 :octocat: allow invocation with options iterable for the public facing classes 2025-11-17 18:38:10 +01:00
smiley 490cc43b47 🛀 too many static calls in here 2025-11-14 21:01:37 +01:00
smiley b9d2059743 🚿 2025-11-02 00:33:13 +01:00
smiley ad1e39aaf6 🚿 2025-10-29 17:49:04 +01:00
smiley 8ffae8938c 🚿 PHP 8.5 deprecation: imagedestroy() 2025-10-29 17:42:02 +01:00
smiley 02ec24ee07 🚿 2025-10-09 23:44:55 +02:00
smiley ff729b3aba :octocat: QROutputAbstract::collectModules(): remove Closure parameter in favor of concrete method moduleTransform() 2025-10-09 22:41:51 +02:00
smiley 2b7c9b7020 :octocat: remove remaining instances of empty() 2025-10-09 21:31:41 +02:00
smiley 3a610d2838 :octocat: Kanji, Hanzi: do not mess with mb_detect_order(), feed the expected encodings directly into mb_detect_encoding() 2025-09-19 15:17:21 +02:00
Einar Gangsø 03e84852b4 Do not use AlphaNum when string contains comma
Using dash in this context will create a range between `+` and `.` which allows the following characters: `+`, `,`, `-`, `.`. 

The ASCII range is as follow: + (43), , (44), - (45), . (46).

Comma is not supported and will then crash in `write()`.
2025-09-19 10:41:26 +02:00
smiley 03a701e9eb 📖 2025-08-21 11:09:08 +02:00
smiley bf34b46c57 :octocat: reintroducing phan because phpstan keeps making trouble 2025-07-19 23:29:41 +02:00
smiley daf01b96b2 :octocat: hand over finder pattern coordinates to the decoder result (#248) 2025-06-16 18:47:48 +02:00
smiley d65911ada9 :octocat: dependency update & phpstan happy 2025-06-16 18:46:33 +02:00
smiley b9fe7d3dfe :octocat: phpcs happy 2025-04-01 14:23:21 +02:00
smiley 943ed3710b :octocat: QREps: cleanup, align with other output classes 2025-04-01 14:19:09 +02:00
smiley 0ef7bc7bf2 :octocat: extract QRMatrix::getBooleanMatrix() from QRMatrix::getMatrix() to remove type ambiguity 2025-04-01 12:43:05 +02:00
smiley b5ff1258a9 🚿 2024-11-27 20:19:56 +01:00
smiley 747a38dd30 :octocat: phpstan 2.0 2024-11-17 00:23:34 +01:00
smiley 1d8b7fd8ba :octocat: allow for ECI encoded numeric and alphanum segments (???), see https://github.com/chillerlan/php-qrcode/discussions/289 2024-11-16 19:27:59 +01:00
smiley f822e807d7 :octocat: regex fix (#282) 2024-10-16 10:22:02 +02:00
smiley 9964cf8ff1 :octocat: i hate this less (might be slightly slower tho) 2024-09-24 17:02:14 +02:00
smiley 9aecdcd925 🚿 2024-09-24 16:43:50 +02:00
smiley df18b1d90e :octocat: phpstan happy 2024-09-17 17:32:03 +02:00
smiley 7e7552bc05 :octocat: QRGdImage: remove custom error handler 2024-07-23 14:50:23 +02:00
smiley 54dac157c6 :octocat: QREps: extract header() method to ease customization 2024-07-21 22:29:50 +02:00
smiley 071bc4217d :octocat: add mime type guesser to QROutputAbstract (#223) 2024-07-21 18:04:45 +02:00
smiley a792c9f27a :octocat: there's areason why these methods were static... 2024-07-21 15:59:26 +02:00
smiley 7b1d9617d3 :octocat: declare strict types 2024-07-21 15:55:05 +02:00
smiley f32696c8a7 :octocat: fix PHPCS config, add Slevomat rules 2024-07-21 14:54:15 +02:00
smiley 89cdd09044 :octocat: switch phan for phpstan (see #277) 2024-07-21 05:25:26 +02:00
smiley f65d9d2815 Merge remote-tracking branch 'origin/main' 2024-07-17 10:20:05 +02:00