From 21fffb3dae156792c0ffe5d4c2ba25e7607ac264 Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Sat, 17 Oct 2020 19:58:06 -0700 Subject: [PATCH] v2.0.1 -- do not truncate input in Tokenizer::scan --- CHANGELOG-2.x.md | 4 ++++ src/Tokenizer.php | Bin 19811 -> 19821 bytes 2 files changed, 4 insertions(+) diff --git a/CHANGELOG-2.x.md b/CHANGELOG-2.x.md index b3e598d..5c19c73 100644 --- a/CHANGELOG-2.x.md +++ b/CHANGELOG-2.x.md @@ -2,6 +2,10 @@ This changelog references the relevant changes done in 2.x versions. +## v2.0.1 +* Do not truncate input in `Tokenizer::scan`. Removed `substr($input, 0, 256)` rule as we're unsure where/why it's there and seems safe to remove. + + ## v2.0.0 __BREAKING CHANGES__ diff --git a/src/Tokenizer.php b/src/Tokenizer.php index 4cc0fa59f1c62641f0d76ce90c94729dc4a18804..9da6b28faf8ea68a89ec607c2a83111d96c035d6 100755 GIT binary patch delta 42 ycmaDni}CF&#tkM?O#1qhjinSh6!i5Ka#GW{CV!CDn7lxWbFzV})aC_Jhm8O%Sq<#~ delta 24 gcmaDmi}CR+#tkM?lg*_R7`Y}3xM^%|mwILd0CTnokpKVy