- Issue created by @jonathan1055
- Merge request !375#3531515 Remove --debug from _PHPSTAN_EXTRA when generating report files → (Merged) created by jonathan1055
- 🇬🇧United Kingdom jonathan1055
Testing with GTD MR8
As-is with --debug in all phpstan commands, we get invalid .xml and the red errors in the report tab
https://git.drupalcode.org/project/gitlab_templates_downstream/-/merge_r...
https://git.drupalcode.org/project/gitlab_templates_downstream/-/pipelin...Now using this MR375
https://git.drupalcode.org/project/gitlab_templates_downstream/-/pipelin...
The MR report tab is green with no .xml errors, even though we still get the debug output in the viewable log.Ready for review
- 🇬🇧United Kingdom jonathan1055
Added screenshots to show the problem, because these are not viewable when the last run is clean.
-
fjgarlin →
committed 2f62d9bf on main authored by
jonathan1055 →
Issue #3531515 by jonathan1055: Avoid using PHPStan --debug when...
-
fjgarlin →
committed 2f62d9bf on main authored by
jonathan1055 →
- 🇬🇧United Kingdom jonathan1055
Small thing, but worth fixing. When using
--debug
you don't expect the output files to be corrupt. Especially as that is probably precisely the time when you need to examine the files.I have also just checked that this works when there is no '--debug' in the original string, and it does work OK