<!-- BEFORE SUBMITTING AN ISSUE: 1. Search for your issue on GitHub: https://github.com/prettier/plugin-php/issues A large number of opened issues are duplicates of existing issues. If someone has already opened an issue for what you are experiencing, you do not need to open a new issue — please add a 👍 reaction to the existing issue instead. 2. We get a lot of requests for adding options, but Prettier is built on the principle of being opinionated about code formatting. This means we have a very high bar for adding new options. Find out more: https://prettier.io/docs/en/option-philosophy.html Tip! Don't write this stuff manually. 1. Go to https://loilo.github.io/prettier-php-playground/ 2. Paste your code and set options 3. Press the "Report issue" button in the lower right --> **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 ``` [error] test.inc: SyntaxError: Unexpected character "EOF" (3:1) [error] 1 | <?php [error] 2 | $test = "echo"; [error] > 3 | [error] | ^ ```
Activity