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: phpstan/phpdoc-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.3.0
Choose a base ref
...
head repository: phpstan/phpdoc-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.3.2
Choose a head ref
  • 9 commits
  • 79 files changed
  • 3 contributors

Commits on Sep 6, 2025

  1. Fix CS

    ondrejmirtes committed Sep 6, 2025
    Configuration menu
    Copy the full SHA
    bd6f207 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. Configuration menu
    Copy the full SHA
    b22787a View commit details
    Browse the repository at this point in the history
  2. Update CLAUDE.MD with comprehensive project documentation

    Add detailed information about:
    - Project overview and key features
    - Complete source code structure (Lexer, Parser, AST, Printer)
    - Test organization and structure
    - How the parser works (Lexing → Parsing → Traversal → Printing)
    - Common development tasks (adding tags, types, modifying lexer)
    - Coding standards and best practices
    - PHPStan rules and testing guidelines
    - AST node conventions and parser patterns
    - Backwards compatibility considerations
    - Performance and documentation guidelines
    claude committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    972c2c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc79f19 View commit details
    Browse the repository at this point in the history
  4. Implement __set_state() for all AST node classes

    Add __set_state() magic method to all 68 AST node classes to enable
    var_export() serialization for caching purposes.
    
    Implementation details:
    - All classes now support reconstruction via var_export()
    - Constructor parameters are properly extracted from properties array
    - Attributes are restored after instance creation
    - Optional parameters handled with null coalescing operator
    
    Classes updated:
    - Type nodes: 20 classes (ArrayTypeNode, GenericTypeNode, etc.)
    - ConstExpr nodes: 10 classes (ConstExprArrayNode, ConstFetchNode, etc.)
    - PhpDoc core: 4 classes (PhpDocNode, PhpDocTagNode, etc.)
    - PhpDoc tag values: 29 classes (ParamTagValueNode, ReturnTagValueNode, etc.)
    - Doctrine nodes: 5 classes (DoctrineAnnotation, DoctrineArray, etc.)
    
    All tests pass (3711 tests, 19858 assertions)
    PHPStan analysis passes with no errors
    claude authored and ondrejmirtes committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    afd1aa5 View commit details
    Browse the repository at this point in the history
  5. More tests

    ondrejmirtes committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    bbf4f8d View commit details
    Browse the repository at this point in the history
  6. __set_state for Comment

    ondrejmirtes committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    16dbf99 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2026

  1. Rename CLAUDE.MD to CLAUDE.md

    gharlan authored and ondrejmirtes committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    5bd6dc9 View commit details
    Browse the repository at this point in the history
  2. Add CLAUDE.md to .gitattributes

    gharlan authored and ondrejmirtes committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    a004701 View commit details
    Browse the repository at this point in the history
Loading