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: Dustin4444/plugin-php
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: prettier/plugin-php
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 12 commits
  • 62 files changed
  • 10 contributors

Commits on Apr 23, 2025

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

Commits on Jun 7, 2025

  1. fix(dosc): edited the build badge (prettier#2425)

    Co-authored-by: fisker Cheung <lionkay@gmail.com>
    Ocheretovich and fisker authored Jun 7, 2025
    Configuration menu
    Copy the full SHA
    198f6b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da7c4b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2025

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

Commits on Jun 25, 2025

  1. Configuration menu
    Copy the full SHA
    733a1c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54532a3 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

  1. feat: add support for PHP 8.3 typed class constants (prettier#2433)

    * Support PHP 8.3 typed constants.
    Depends on Kenneth-Sills/php-parser#1
    
    * chore: bump php-parser
    
    * chore: add tests for PHP 8.3 typed class constants
    
    ---------
    
    Co-authored-by: Mark Reidenbach <mark@digitalmanagementteam.com>
    czosel and mreiden authored Jul 9, 2025
    Configuration menu
    Copy the full SHA
    14f802a View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2025

  1. feat: format new without parenthesis in PHP 8.4 (prettier#2422)

    * deps: bump php-parser to 3.2.5
    
    * feat: add php 8.4 option
    
    * refactor: move isMinVersion to utils, update needsParen fn signature
    
    needsParens() is already being called with 2 params, but the fn
    signature didn't reflect that
    
    * test: prep snapshots for php 8.4 new w/o parens
    
    * feat: support new w/o parens in php 8.4
    claytonrcarter authored Jul 11, 2025
    Configuration menu
    Copy the full SHA
    031d14e View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2025

  1. 0.23.0

    czosel committed Jul 13, 2025
    Configuration menu
    Copy the full SHA
    74906e9 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2025

  1. feat!: bump default formatting version to composer version with fallb…

    …ack to latest supported PHP (prettier#2434)
    
    * feat!: bump default formatting version to 8.3
    
    BREAKING CHANGE: If you didn't set the `phpVersion` option explicitly,
    the formatting will assume PHP 8.3 now (instead of 7.0).
    
    * added composer version detection
    
    * run all spec.mjs test files, not just jsfmt, remove __tests__ dir as not used
    
    * changed return to null and improved test coverage
    - added wildcard major versions
    - updated test for null return
    - added invalid json test case
    
    * refactor: renamed getComposerPhpVersion func to match config naming more closely
    
    * documentation updaste for PHP default version changes
    
    * reformat: ran prettier on README
    
    * set default phpVersion to auto and added composer setting
    
    * refactored versions after rebasing
    - automatically use latest version
    - phpVersion is always a number now
    - moved isMinVersion to simple number comparison
    
    * update versions to number
    
    * snapshot changes after bumping default version to 8.4
    
    * reformat: prettier
    
    * fix default version
    
    * Update README.md to be clearer about default php version
    
    Co-authored-by: Christian Zosel <christian@zosel.ch>
    
    * Update README.md fix typo
    
    Co-authored-by: Christian Zosel <christian@zosel.ch>
    
    * Update src/options.mjs remove extra else
    
    Co-authored-by: Christian Zosel <christian@zosel.ch>
    
    * make not json example much clearer
    
    ---------
    
    Co-authored-by: Chris Seufert <chris@seufert.id.au>
    Co-authored-by: Chris Seufert <chris@modd.com.au>
    3 people authored Jul 16, 2025
    Configuration menu
    Copy the full SHA
    7b4d64b View commit details
    Browse the repository at this point in the history
  2. 0.24.0

    czosel committed Jul 16, 2025
    Configuration menu
    Copy the full SHA
    3ec61b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2025

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