emacs-php / emacs-php/phpt-mode

Flycheck report PHP syntax errors

Open
#1 1 comment 0 reactions 1 assignee Claimed by @zonuexe View on GitHub
enhancement
Dominant language
Emacs Lisp
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.