-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
command:eval-fileRelated to 'eval-file' commandRelated to 'eval-file' commandgood-first-issueGood for newcomersGood for newcomers
Milestone
Description
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
eval-file uses eval() to execute code in provided script. Unfortunately, this has some limitations:
declare(strict_types=1)in the script file throws a fatal error ineval()- evale'd code cannot be debugged using XDebug.
Describe the solution you'd like
I propose to add --use-require flag to eval-file to indicate that the script should be executed using require().
If the proposal is accepted I'm willing to implement it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
command:eval-fileRelated to 'eval-file' commandRelated to 'eval-file' commandgood-first-issueGood for newcomersGood for newcomers