plugin-php
plugin-php copied to clipboard
Prettier PHP Plugin
Currently breaks outputing an inline comment closes #2022
**Prettier 2.7.1** **PHP Plugin 0.19.1** ```sh # Options (if any): printWidth: 120 ``` **Input:** ```php const liftDataWithInlineRanges = ___PSEUDO_INLINE_PLACEHOLDER___ ___PSEUDO_INLINE_PLACEHOLDER___ ... ``` **Expected behavior:** No `___PSEUDO_INLINE_PLACEHOLDER___` strings getting added to...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.6.3 to 28.5.0. Release notes Sourced from eslint-plugin-jest's releases. v28.5.0 28.5.0 (2024-05-03) Features allow @typescript-eslint/utils v7 as a direct dependency (#1567) (1476f10) v28.4.0 28.4.0 (2024-05-03) Features valid-expect:...
Bumps [rollup](https://github.com/rollup/rollup) from 3.29.4 to 4.17.2. Release notes Sourced from rollup's releases. v4.17.2 4.17.2 2024-04-30 Bug Fixes Fix tree-shaking problems when using spread arguments (#5503) Pull Requests #5501: Slightly improve...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.23.9 to 7.24.5. Release notes Sourced from @babel/preset-env's releases. v7.24.5 (2024-04-29) Thanks @romgrk and @sossost for your first PRs! :bug: Bug Fix babel-plugin-transform-classes, babel-traverse #16377 fix: TypeScript...
This fixes #2275. It is a quick and dirty patch, so I would very much appreciate any critical feedback. Unfortunately this change also affected most of the tests, so there...
An imported or required file returning a callable value cannot be immediately invoked as Prettier is stripping the surrounding parentheses. (The below example assumes `file.php` contains e.g. `
**@prettier/plugin-php v0.22.2** [Playground link](https://loilo.github.io/prettier-php-playground/#N4IgDgTgpgLjCWUIHkwIPYDsDOIBcok8mMA6vACYwAW+AHAAwA0IMAhgEblW14AsLAK7YoAFU648AMzYAbES2zEA5rKgBFQehhR8M+VBZhqYAGpIlWfCACsAOj4gWMCG3iyVAYXQBbH2wAFAAkA-BdBQxAOVwBjKABlGABPNWswJABaGNwWaABHQXhoANdlfz05BRBiEQgYErYytgqDAF8WKAp4GHQUNHgsSVA2bBgWkXbqzDBBMbwQAB4AfmMwAB1MDYAKfMLoAH0sOIACff2AEQBJACUz47tjgHIAejs7Z450bVHXMGe2MBgOyrR4ASgyAD5qGxMBQ1NcoAUoKMtgikaM8HgYgCYIJoFtQaCANwgVpAA) **Input:** ```php
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0. Release notes Sourced from eslint's releases. v8.57.0 Features 1120b9b feat: Add loadESLint() API method for v8 (#18098) (Nicholas C. Zakas) dca7d0f feat: Enable eslint.config.mjs...