forked from GNUsocial/gnu-social
[TOOLS][TESTS] Add coverage ignore tag to autogenerated code
This commit is contained in:
parent
de0c35d5a6
commit
10c79bcafe
@ -78,9 +78,11 @@ foreach ($files as $file) {
|
|||||||
$end = '// }}} Autocode';
|
$end = '// }}} Autocode';
|
||||||
$code = "
|
$code = "
|
||||||
{$begin}
|
{$begin}
|
||||||
|
// @codeCoverageIgnoreStart
|
||||||
{$fields_code}
|
{$fields_code}
|
||||||
|
|
||||||
{$methods_code}
|
{$methods_code}
|
||||||
|
// @codeCoverageIgnoreEnd
|
||||||
{$end}";
|
{$end}";
|
||||||
|
|
||||||
foreach (['/\\//' => '\\/', '/ /' => '\\ '] as $from => $to) {
|
foreach (['/\\//' => '\\/', '/ /' => '\\ '] as $from => $to) {
|
||||||
|
Loading…
Reference in New Issue
Block a user