summaryrefslogtreecommitdiff
path: root/src/HTML5/Parser/FileInputStream.php
diff options
context:
space:
mode:
authorTitouan Galopin <[email protected]>2018-11-03 01:03:34 +0100
committerTitouan Galopin <[email protected]>2018-11-03 01:36:52 +0100
commit321ed9626c091f1f4dcef8223d88ee88a400a241 (patch)
tree32a565fac06feba41230228a806dc22d6e8f17c3 /src/HTML5/Parser/FileInputStream.php
parent7453ab08dc4c8f65d5db52fd2c6b8943d59bf95b (diff)
Improve performance by relying on a native string instead of InputStream
Diffstat (limited to 'src/HTML5/Parser/FileInputStream.php')
-rw-r--r--src/HTML5/Parser/FileInputStream.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/HTML5/Parser/FileInputStream.php b/src/HTML5/Parser/FileInputStream.php
index fbf006d..76bd17b 100644
--- a/src/HTML5/Parser/FileInputStream.php
+++ b/src/HTML5/Parser/FileInputStream.php
@@ -11,11 +11,10 @@ namespace Masterminds\HTML5\Parser;
* really like to rewrite this class to efficiently handle lower level
* stream reads (and thus efficiently handle large documents).
*
- * @todo A buffered input stream would be useful.
+ * @deprecated since 2.4, to remove in 3.0. Use a string in the scanner instead.
*/
class FileInputStream extends StringInputStream implements InputStream
{
-
/**
* Load a file input stream.
*