Skip to content

Instantly share code, notes, and snippets.

@lattespirit
Last active June 4, 2022 15:12
Show Gist options
  • Save lattespirit/0b4dcaead6651b135e6e077bc818c9b0 to your computer and use it in GitHub Desktop.
Save lattespirit/0b4dcaead6651b135e6e077bc818c9b0 to your computer and use it in GitHub Desktop.
Add Options when execute build system in Sublime
{
"variants": [
{
"name": "PHP CS Fixer",
"cmd": ["${folder}/vendor/bin/php-cs-fixer", "fix", "--config=${folder}/.php-cs-fixer.php", "--allow-risky=yes", "--using-cache=no", "$file"]
},
{
"name": "PHP Interpreter",
"cmd": [
"php",
"$file"
],
"file_regex": "php$",
"selector": "source.php"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment