π Bug Description
Having a script with an escape sequence isn`t correctly executed.
π Steps to Reproduce
- Created a script with an escaped sequence
- Run that script
β
Expected Behavior
Executed as expected
β Actual Behavior
Error occurred pointing out script issues.
composer.json (if relevant)
{
"scripts": {
"copy-env": "@php -r \"file_exists('.env') || copy('.env.example', '.env')\""
}
}
Error Output
PHP Parse error: syntax error, unexpected end of file in Command line code on line 1
π Bug Description
Having a script with an escape sequence isn`t correctly executed.
π Steps to Reproduce
β Expected Behavior
Executed as expected
β Actual Behavior
Error occurred pointing out script issues.
composer.json (if relevant)
{ "scripts": { "copy-env": "@php -r \"file_exists('.env') || copy('.env.example', '.env')\"" } }Error Output