Skip to content

Flycheck report PHP syntax errors #1

@zonuexe

Description

@zonuexe

The combination of Polymode and Flycheck works by accident because PHP has a syntactical property that ignores the outside of <?php and ?>.

However, the following cases are exceptions:

  • The code contains a declare statement.
  • Missing ?> at the end of the code.

The solution of this problem requires the cooperation of both Flycheck and Polymode.

For example, it should be reasonably possible by reusing the buffer possessed by Polymode.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions