From c747572a08d9d0b1b5ea048a1567297554d2295a Mon Sep 17 00:00:00 2001 From: Bas Cost Budde Date: Mon, 15 Sep 2025 18:34:14 +0200 Subject: [PATCH 1/5] update README to reflect symlink/path issue --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 566fa30..de77395 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,10 @@ You can set up your project settings to use a specific standard using the follow } } ``` + +### Sublime project path +Make sure to open the project using the absolute path to your files. `phpcs` will report the absolute path back, +and you will see no results when that path differs from the path Sublime sends in. + +If for example your files live in /usr/local/share/projects/Gandalf, and you made a symlink in your home directory +Gandalf pointing to this location, you'd be inclined to open the project from ~/Gandalf. Don't. From 6b0edf7039632fd809424f2cd4801a24e7b12c01 Mon Sep 17 00:00:00 2001 From: Bas Cost Budde Date: Mon, 15 Sep 2025 18:35:48 +0200 Subject: [PATCH 2/5] put README addition in level 2 instead of 3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index de77395..becbde2 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ You can set up your project settings to use a specific standard using the follow } ``` -### Sublime project path +## Sublime project path Make sure to open the project using the absolute path to your files. `phpcs` will report the absolute path back, and you will see no results when that path differs from the path Sublime sends in. From 37c7cb1e83c4c8400f601a08b040c96c517898d6 Mon Sep 17 00:00:00 2001 From: Bas Cost Budde Date: Tue, 16 Sep 2025 08:54:53 +0200 Subject: [PATCH 3/5] Revert "put README addition in level 2 instead of 3" This reverts commit 6b0edf7039632fd809424f2cd4801a24e7b12c01. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index becbde2..de77395 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ You can set up your project settings to use a specific standard using the follow } ``` -## Sublime project path +### Sublime project path Make sure to open the project using the absolute path to your files. `phpcs` will report the absolute path back, and you will see no results when that path differs from the path Sublime sends in. From c84a5006caeb4f48818a0e070b87e75330b939b8 Mon Sep 17 00:00:00 2001 From: Bas Cost Budde Date: Tue, 16 Sep 2025 08:55:23 +0200 Subject: [PATCH 4/5] Revert "update README to reflect symlink/path issue" This reverts commit c747572a08d9d0b1b5ea048a1567297554d2295a. --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index de77395..566fa30 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,3 @@ You can set up your project settings to use a specific standard using the follow } } ``` - -### Sublime project path -Make sure to open the project using the absolute path to your files. `phpcs` will report the absolute path back, -and you will see no results when that path differs from the path Sublime sends in. - -If for example your files live in /usr/local/share/projects/Gandalf, and you made a symlink in your home directory -Gandalf pointing to this location, you'd be inclined to open the project from ~/Gandalf. Don't. From 58b681c1b1bc62352f5f14b37e82c2441c4dcffb Mon Sep 17 00:00:00 2001 From: Bas Cost Budde Date: Tue, 16 Sep 2025 08:56:49 +0200 Subject: [PATCH 5/5] remove filename from linter, leaving default --- linter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/linter.py b/linter.py index 5c78193..675020e 100644 --- a/linter.py +++ b/linter.py @@ -16,7 +16,6 @@ def find_errors(self, output): for file_path, file_data in data["files"].items(): for error in file_data['messages']: yield LintMatch( - filename=file_path, line=error['line'] - 1, col=error['column'] - 1, error_type=error['type'].lower(),