Commit Graph

238 Commits

Author SHA1 Message Date
smiley 490cc43b47 🛀 too many static calls in here 2025-11-14 21:01:37 +01: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 bf34b46c57 :octocat: reintroducing phan because phpstan keeps making trouble 2025-07-19 23:29:41 +02:00
smiley d65911ada9 :octocat: dependency update & phpstan happy 2025-06-16 18:46:33 +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 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 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 1a8e1ffd2b :octocat: mark nullable types explicitly (https://github.com/chillerlan/php-qrcode/issues/276) 2024-07-17 10:19:31 +02:00
smiley 991287a774 🚿 2024-07-17 08:11:42 +02:00
smiley df49b3ffa4 🔧 estimated bit length was correct, add a safety margin instead 2024-02-27 15:39:22 +01:00
smiley ccc73766e9 🚿 2024-02-27 14:51:05 +01:00
smiley c1c9cdf285 wrench: QRData::estimateTotalBitLength(): do not substract from the estimated bit length 2024-02-27 14:47:36 +01:00
smiley e9743c00f0 :octocat: spimplifications & cleanup 2024-01-06 17:32:32 +01:00
smiley 00800ef901 🛀 clean-up (again) 2023-11-27 22:53:38 +01:00
smiley 39e3dfe83b 🔥 v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints 2023-11-25 12:49:56 +01:00
smiley ff147426a1 :octocat: moved some files 2023-10-27 20:03:48 +02:00
smiley 8c0da25c72 🚿 2023-10-23 01:55:17 +02:00
smiley 3c2d23d8ac :octocat: mask pattern testing performance improvement 2023-10-23 01:45:00 +02:00
smiley af7ba49225 :octocat: some micro optimization 2023-10-17 00:06:39 +02:00
smiley 59d8132392 🚿 2023-10-16 19:30:16 +02:00
smiley 90f4a4bc66 :octocat: significant output performance improvements 2023-10-16 18:27:45 +02:00
smiley 2327690e99 🚿 2023-10-15 16:28:16 +02:00
smiley 5152f929f9 :octocat: lifting some logo space restrictions - overwrite function patterns as much as you wish, just don't blame me 2023-10-06 01:04:53 +02:00
smiley 911de7af69 :octocat: removed QRMatrix::M_TEST 2023-10-05 17:57:35 +02:00
smiley ef1af6296c 🔧 fix bit order comment 2023-09-17 21:51:30 +02:00
smiley 85776d2db9 :octocat: re-introduce QRMatrix::flip() (6c66d56a31) as bitmask rework (#205) won't happen any time soon 2023-09-08 21:13:08 +02:00
smiley 16534f605c :octocat: ECI: throw on invalid encoding ID 2023-07-13 18:34:14 +02:00
smiley efb829c4a6 :octocat: fully support reflectance reversal 2023-07-13 11:44:21 +02:00
smiley 5a280c8107 🚿 clean up some (int) casts 2023-07-12 21:23:43 +02:00
smiley d7a02d0b1a :octocat: 2023-07-11 18:43:50 +02:00
smiley 15dcc0195f :octocat: 2023-07-09 15:53:48 +02:00
smiley cf92e49958 :octocat: this was possible all the time??? 2023-06-21 14:11:28 +02:00
smiley 71509a5a94 :octocat: 2023-06-15 16:49:35 +02:00
smiley a1659840d8 :octocat: 2023-06-13 16:12:33 +02:00
smiley afee26a225 :octocat: QRMatrix::getMatrix() +early exit 2023-06-13 15:44:38 +02:00
smiley a031b4702e :octocat: QRMatrix: +convenience contstants M_QUIETZONE_DARK & M_LOGO_DARK 2023-06-13 15:42:02 +02:00
smiley 6c66d56a31 :octocat: remove QRMatrix::flip() 2023-04-10 15:41:19 +02:00
smiley a1f051ca55 :octocat: fix PHP 8.2 deprecation warning 2023-04-08 23:22:59 +02:00
smiley a2da56402b :octocat: 2023-04-08 23:21:31 +02:00
smiley db300baa78 🚿 2023-04-06 21:25:30 +02:00
smiley 44257b1e08 :octocat: add QRMatrix::setArea() 2023-04-06 20:59:03 +02:00
smiley 6b9f6f8459 :octocat: move format info & masking 2023-04-04 21:57:41 +02:00
smiley 50179a97ef :octocat: move mask pattern parameter 2023-04-04 20:21:04 +02:00