Skip to content

Commit 8564059

Browse files
committed
Use the preference getter for phpcs phpcs_executable_path
1 parent 58027a1 commit 8564059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

phpcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def get_executable_args(self):
240240
) != "" and self.__class__.__name__ in pref.get("phpcs_commands_to_php_prefix"):
241241
args = [pref.get("phpcs_php_prefix_path")]
242242

243-
if pref.phpcs_executable_path != "":
243+
if pref.get("phpcs_executable_path") != "":
244244
application_path = pref.get("phpcs_executable_path")
245245
else:
246246
application_path = "phpcs"

0 commit comments

Comments
 (0)