[TOOLS][TESTS] Add coverage ignore tag to autogenerated code

This commit is contained in:
Hugo Sales 2021-05-05 15:56:03 +00:00
parent f25494cd83
commit 3a6a1b71d6
1 changed files with 2 additions and 0 deletions

View File

@ -78,9 +78,11 @@ foreach ($files as $file) {
$end = '// }}} Autocode';
$code = "
{$begin}
// @codeCoverageIgnoreStart
{$fields_code}
{$methods_code}
// @codeCoverageIgnoreEnd
{$end}";
foreach (['/\\//' => '\\/', '/ /' => '\\ '] as $from => $to) {