[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 de0c35d5a6
commit 10c79bcafe
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
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) {