Phplrt Versions Save

PHP Language Recognition Tool

3.4.2

6 months ago
  • Upgrade psalm level from 6 to 4.
  • A little memory usage parser optimizations.

3.4.1

6 months ago
  • Replace xxh128 hash to md5 for files (php 7.4 compatibility fix).
    • TODO: I should write tests for this, fail =)

3.4.0

6 months ago
  • Merge back-compatible features from 4.x branch.
  • Added many deprecation notes for 4.x compatibility.

phplrt/source

  • Added support for factories.
  • Deprecate PSR stream support.
  • Data reading logic has been completely rewritten and optimized.
    • Increased the speed of creating files from streams from 2.114μs to 1.357μs (per 2k iterations).
    • Increased the speed of creating files from strings from 2.968μs to 2.224μs (per 2k iterations).
  • Added support for \Fiber for concurrent source reading.

phplrt/position

  • Added support for factories.
  • Deprecate position intervals functional.
  • Position compute logic has been completely rewritten and optimized.
  • Added support for \Fiber for concurrent calculation of positions.

phplrt/parser

  • The calculation of expected tokens has been optimized and rewritten (a similar option is now deprecated).
  • Rewritten and optimized parser context.
  • Added the ability to pass reduce callback rules explicitly without creating a builder instance.
  • Added support for bypassing XDebug xdebug.max_nesting_level restrictions.

3.3.1

6 months ago
  • Fix parser config syntax error

3.3.0

6 months ago
  • Add "allow trailing tokens" parser option for tolerant parser logic implementation.

3.2.9

6 months ago
  • Fix phplrt/visitor executor type-hints.

3.2.8

6 months ago
  • Upgrade from PSR-12 to PER-2 codestyle.
  • Remove extra docblocks.
  • Minor docblock type fixes.
  • Upgrade and fix psalm errors.

3.2.7

11 months ago
  • Minor codestyle fixes

3.2.6

11 months ago
  • Minor code optimizations
  • Minor codestyle improvements

3.2.5

11 months ago
  • Upgrade dev dependencies