Skip to content

run_on_save not working? #8

@ghost

Description

Hi there,

I've just installed this and have it working using ALT + S as well as the options to Check/Fix a file in Sublime > Tools. This works great!

However I have in my User config run_on_save set to true but nothing seems to happen after I hit save. Here is my User config:

{
     // Run PHPCS when a buffer is saved.
    "run_on_save": true,

    "phpcs_standard": "PSR2",

    // Path to the PHPCS script.
    "phpcs_path": "/Users/ralphmorris/phpspecs/PHP_CodeSniffer/bin/phpcs",

    // Path to the PHPCBF script.
    "phpcbf_path": "/Users/ralphmorris/phpspecs/PHP_CodeSniffer/bin/phpcbf",
}

If I move a bracket into the wrong position and then do Shift + Option + S it fixes it. But on save, nothing.

I'm unsure how to debug this. Any ideas?

Thanks
Ralph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions