Skip to content
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

Plugin do not work after fresh install #51

Closed
staatzstreich opened this issue Nov 13, 2012 · 1 comment
Closed

Plugin do not work after fresh install #51

staatzstreich opened this issue Nov 13, 2012 · 1 comment

Comments

@staatzstreich
Copy link

After installing the latest version via package control i get following output in sublime console:

Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./phpcs.py", line 430, in run
File "./phpcs.py", line 284, in run
File "./phpcs.py", line 84, in get_errors
File "./phpcs.py", line 117, in execute
UnboundLocalError: local variable 'args' referenced before assignment

Could fix this with:

args = []

bevor

if Pref.phpcs_php_prefix_path != "" and self.class.name in Pref.phpcs_commands_to_php_prefix:
args = [Pref.phpcs_php_prefix_path]

some what in line 109

@benmatselby
Copy link
Owner

Thanks for raising this, apologies for the break this afternoon after pushing another fix.

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

No branches or pull requests

2 participants