Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw error when PHP run() receives no code to run (#1646)
## Motivation for the change, related issues Prior to this PR, calling PHP#run() without providing an object with a `code` or `scriptPath` property, the call errors but does not clearly communicate the issue to the caller: `Error: PHP.run() failed with exit code 255 and the following output: PHP Fatal error: Uncaught ValueError: Path cannot be empty in [no active file]:0` After this change, the error is: ``TypeError: The request object must have either a `code` or a `scriptPath` property.`` ## Testing Instructions (or ideally a Blueprint) CI unit tests
- Loading branch information