Skip to content

Include definition file path in error message

Jiří Pudil requested to merge error-with-file-name into master

Before:

> php bin/console.php grifart:scaffolder:generateClass Model/
Processed 8 / 32
Cannot resolve type Ivy\Procedure\ProcedureSpecification.
Processed 21 / 32
Cannot resolve type Ivy\Procedure\ProcedureSpecification.
Processed 23 / 32
Cannot resolve type Ivy\Procedure\ProcedureSpecification.
32 processed files.
Some files wasn't processed correctly. See above.

😱


After:

> php bin/console.php grifart:scaffolder:generateClass Model/
Processed 8 / 32
Model/Treatment/ApiProjection/TreatmentPartPlan/DTO/.definition.php: Cannot resolve type Ivy\Procedure\ProcedureSpecification.
Processed 21 / 32
Model/Treatment/AdminProjection/TreatmentPart/Database/.definition.php: Cannot resolve type Ivy\Procedure\ProcedureSpecification.
Processed 23 / 32
Model/Treatment/Event/TreatmentHasBeenInitializedFromTemplate_v1/.definition.php: Cannot resolve type Ivy\Procedure\ProcedureSpecification.
32 processed files.
Some files wasn't processed correctly. See above.

😌

Edited by Jiří Pudil

Merge request reports

Loading