Skip to content

[Issue] Invalid combination of tabs and spaces in phpstan.neon #31239

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #31165: Invalid combination of tabs and spaces in phpstan.neon


Description (*)

The phpstan.neon file contains both spaces and tabs for different lines. But one line contains both characters. In our case, this line is a comment, and it is ignored during parsing, but this is denied by nette/neon parser. In addition, for code consistency, it must be brought to a common style.

Related Pull Requests

4e045c7#diff-b47a177d03a63c60ce971880ec7d61c2ba5bb7126f3ec0357f97059e4db4f859
19b636e#diff-b47a177d03a63c60ce971880ec7d61c2ba5bb7126f3ec0357f97059e4db4f859

Manual testing scenarios (*)

  1. Open phpstan.neon file in PhpStorm with NEON support plugin
  2. It is highlighted with errors
    image

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressProgress: doneSeverity: S4Affects aesthetics, professional look and feel, “quality” or “usability”.

Type

No type

Projects

Status

Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions