Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/tolerant-php-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: phpactor/tolerant-php-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 15 commits
  • 121 files changed
  • 3 contributors

Commits on Jan 7, 2023

  1. Tolerate open string

    dantleech committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    0dac214 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Support enum interfaces

    dantleech committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    ca60294 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from phpactor/enum-interface

    Support enum interfaces
    dantleech authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    41b24b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    70af077 View commit details
    Browse the repository at this point in the history
  2. Fix conflicts

    dantleech committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    7d843d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdc7009 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Support parsing php 8.3 typed class constants

    https://wiki.php.net/rfc/typed_class_constants#inheritance_and_variance
    As of php 8.3, class constants can have the same types as parameters
    (including union, intersection, and DNF types)
    
    Start testing with php 8.3
    TysonAndre authored and dantleech committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    d31c085 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3bd51bd View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2025

  1. Configuration menu
    Copy the full SHA
    fd4d241 View commit details
    Browse the repository at this point in the history
  2. Remove dead method

    dantleech committed Jan 13, 2025
    Configuration menu
    Copy the full SHA
    8a42bdf View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2025

  1. Configuration menu
    Copy the full SHA
    0d3aad0 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2025

  1. Support parsing of PHP 8.4 property hooks

    As part of this, stricten the parsing of property names and use a
    narrower syntax but reuse AssignmentExpression for backwards
    compatibility of applications that originally used tolerant-php-parser's
    result of parseExpression.
    
    References:
    https://wiki.php.net/rfc/property-hooks and the linked php-src PR's
    zend_language_parser.y
    
    https://wiki.php.net/rfc/property-hooks#abbreviated_syntax
    https://wiki.php.net/rfc/property-hooks#interaction_with_constructor_property_promotion
    TysonAndre authored and dantleech committed Jan 27, 2025
    Configuration menu
    Copy the full SHA
    be9cbe5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1492f47 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2025

  1. Support property hooks default value parsing

    These tests are cursed.
    dantleech committed Feb 5, 2025
    Configuration menu
    Copy the full SHA
    50911f6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from phpactor/property-hook

    Property hook
    dantleech authored Feb 5, 2025
    Configuration menu
    Copy the full SHA
    092205e View commit details
    Browse the repository at this point in the history
Loading