plugin-php
plugin-php copied to clipboard
Prettier PHP Plugin
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.0 to 7.19.1. Release notes Sourced from @babel/preset-env's releases. v7.19.1 (2022-09-14) Thanks @hegemonic for your first PR! :bug: Bug Fix babel-core #14930 Avoid fancy stack traces size...
Bumps [rollup](https://github.com/rollup/rollup) from 3.29.4 to 4.12.0. Release notes Sourced from rollup's releases. v4.12.0 4.12.0 2024-02-16 Features Improve raw bundling performance by 10-15% when not using the cache or plugins that...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.6.3 to 27.9.0. Release notes Sourced from eslint-plugin-jest's releases. v27.9.0 27.9.0 (2024-02-16) Features add should-be-fine support for flat configs (#1505) (4cc2a1b) v27.8.0 27.8.0 (2024-02-13) Features support failing.each...
Currently, attributes used on constructor properties are forcefully placed inline with the property (or above if it doesn't fit the print width). This can result in chaotic code where the...
**Prettier 3.2.5** **PHP Plugin 0.22.2** **Expected behavior:** PHP files with **inc** extension should not require closing php tag **Actual behavior:** Prettier throws an error if no ?> is found ```...
I have adjusted chain breaks for nested lookups which were overlooked in previous pull request. Also the break should now be consistent between `Test::foo()->`, `(new Test())->`, `$test['foo']` etc.
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5. Release notes Sourced from prettier's releases. 3.2.5 🔗 Changelog Changelog Sourced from prettier's changelog. 3.2.5 diff Support Angular inline styles as single template literal...
Use npx
Is there a plan to support new 8.3 version? The following code is correct, but prettier says not. ```php class Foo { public const string PHP_VERSION = "8.3"; } ```...
**@prettier/plugin-php v0.22.1** [Playground link](https://loilo.github.io/prettier-php-playground/#N4IgDgTgpgLjCWUIHkwIPYDsDOIBcok8mMA6vACYwAW+AHAAwA0IMAhgEblW14AsLAK7YoAFU648AMzYAbES2zEA5rKgBFQehhR8M+VBZhqYAGpIlWfCACsAOj4gWMCG3iyVAYXQBbH2wAFAAkA-BdBQxAOVwBjKABlGABPNWswJABaGNwWaABHQXhoANdlfz05BRBiEQgYErYytgqDAF8WKAp4GHQUNHgsSVA2bBgWkXbqzDBBMbwQAB4AfmMwAB1MDcw2HyhsMDY4gAIAQTB1tYBRTEEfbABuDY3hKFPztbX4wXPemA+TuAQeAcWZ7D4AET2MSB-Swj02mCgNx8R3iclmbAwmGutzwR1GQMwyg2wA2R3JRwAxABtSHYaHwWGYAAUAHIALIQOysgCUAF0yRSYiNXuyAEpHAC8R1ZPggrPhgvJNLpDKZbM52G5-KVR2FIiO4viUplcuwCqemApVNpUJhWI18Gw5p1VqFIsNAEl4sbpbKneb4a0NiBWkA) **Input:** ```php