Skip to content

Prevent Flycheck from showing errors due to deleted temp files during editing #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Apr 8, 2025

fixes #43

Suppress unnecessary Flycheck errors when PHPStan reports "[ERROR] No files found to analyse."
This happens because temporary files are deleted while editing, causing PHPStan to fail to find files.

An around-advice on flycheck-finish-checker-process has been added to ignore such cases, preventing misleading errors from being shown in modified buffers.

… editing

Suppress unnecessary Flycheck errors when PHPStan reports
"[ERROR] No files found to analyse."
This happens because temporary files are deleted while editing,
causing PHPStan to fail to find files.

An around-advice on `flycheck-finish-checker-process` has been added
to ignore such cases, preventing misleading errors from being shown in
modified buffers.
@zonuexe zonuexe merged commit 540c379 into master Apr 8, 2025
14 checks passed
@zonuexe zonuexe deleted the fix/suppress-flycheck-errors-on-editing branch April 8, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant