The updated file can be found on the XCJS GitHub.
The updated script corrects the build configuration not being chosen automatically and provides additional commands in the command palette.
{
"selector": "source.php",
"cmd": [
"php",
"-l",
"$file"
],
"variants": [
{
"name": "Run",
"cmd": [
"php",
"$file"
]
},
{
"name": "PHP Version",
"cmd": [
"php",
"-v"
]
},
{
"name": "PHP Config",
"cmd": [
"php",
"--ini"
]
},
{
"name": "PHP Info",
"cmd": [
"php",
"-i"
]
},
{
"name": "PHP Modules",
"cmd": [
"php",
"-m"
]
}
]
}
