From 51e47fa5dc74b6e77756b6745db197a3a220cf4b Mon Sep 17 00:00:00 2001 From: Ben Selby Date: Sun, 22 Feb 2026 13:11:06 +0000 Subject: [PATCH] Use the preference getter for phpcs phpcs_executable_path --- phpcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpcs.py b/phpcs.py index 3839762..8622ce2 100644 --- a/phpcs.py +++ b/phpcs.py @@ -240,7 +240,7 @@ def get_executable_args(self): ) != "" and self.__class__.__name__ in pref.get("phpcs_commands_to_php_prefix"): args = [pref.get("phpcs_php_prefix_path")] - if pref.phpcs_executable_path != "": + if pref.get("phpcs_executable_path") != "": application_path = pref.get("phpcs_executable_path") else: application_path = "phpcs"