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/phpstan-strict-rules
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2bc5ae1
Choose a base ref
...
head repository: phpstan/phpstan-strict-rules
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 24ec515
Choose a head ref
  • 13 commits
  • 26 files changed
  • 5 contributors

Commits on Jul 22, 2026

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

Commits on Aug 3, 2026

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

Commits on Aug 10, 2026

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

Commits on Aug 17, 2026

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

Commits on Sep 10, 2026

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

Commits on Sep 11, 2026

  1. Open 2.1.x-dev

    ondrejmirtes committed Sep 11, 2026
    Configuration menu
    Copy the full SHA
    c58b775 View commit details
    Browse the repository at this point in the history
  2. Require PHPStan 2.3.0

    ondrejmirtes committed Sep 11, 2026
    Configuration menu
    Copy the full SHA
    9db0b58 View commit details
    Browse the repository at this point in the history
  3. Report loop variable overwrites only for variables still in use

    Foreach key/value and for-loop init overwrites are reported only when
    the loop takes over a variable assigned before it and read after it,
    as answered by VariableWritesNode::getVariableOverwritingLoop().
    Reusing a spent loop variable no longer reports.
    
    Closes #332
    
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01LYiPGg9cpsKLyK6X5BrJTT
    ondrejmirtes and claude committed Sep 11, 2026
    Configuration menu
    Copy the full SHA
    4908484 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2026

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

Commits on Sep 21, 2026

  1. Fix build (#336)

    VincentLanglet authored Sep 21, 2026
    Configuration menu
    Copy the full SHA
    aac2457 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2026

  1. Configuration menu
    Copy the full SHA
    25c1a99 View commit details
    Browse the repository at this point in the history
  2. Name the node types the arithmetic operand rules want

    Each of them handles one operator in its binary and its compound-assign
    form, and registered for Expr to get both - so it was called for every
    expression in the analysed code just to reject it. PHPStan 2.3.0's
    MultipleNodeTypesRule lets them name the two classes instead.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    Claude-Session: https://claude.ai/code/session_01QL6WG3TUaXc6ggSoDLdorG
    ondrejmirtes and claude committed Sep 22, 2026
    Configuration menu
    Copy the full SHA
    19b5b5b View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2026

  1. Configuration menu
    Copy the full SHA
    24ec515 View commit details
    Browse the repository at this point in the history
Loading