File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,7 @@ public function generate()
108
108
}
109
109
110
110
ob_start ();
111
- foreach ($ this ->docFiles as $ file ) {
112
- $ doc = new DOMDocument ();
113
- $ doc ->load ($ file );
114
- $ documentation = $ doc ->getElementsByTagName ('documentation ' )->item (0 );
115
- $ this ->processSniff ($ documentation );
116
- }
111
+ parent ::generate ();
117
112
118
113
$ content = ob_get_contents ();
119
114
ob_end_clean ();
Original file line number Diff line number Diff line change 11
11
12
12
namespace PHP_CodeSniffer \Generators ;
13
13
14
- use DOMDocument ;
15
14
use DOMNode ;
16
15
use PHP_CodeSniffer \Config ;
17
16
@@ -32,12 +31,7 @@ public function generate()
32
31
}
33
32
34
33
ob_start ();
35
- foreach ($ this ->docFiles as $ file ) {
36
- $ doc = new DOMDocument ();
37
- $ doc ->load ($ file );
38
- $ documentation = $ doc ->getElementsByTagName ('documentation ' )->item (0 );
39
- $ this ->processSniff ($ documentation );
40
- }
34
+ parent ::generate ();
41
35
42
36
$ content = ob_get_contents ();
43
37
ob_end_clean ();
You can’t perform that action at this time.
0 commit comments