@@ 83-87 (lines=5) @@ | ||
80 | "$IP/", |
|
81 | ]; |
|
82 | ||
83 | foreach ( $recurseDirs as $dir ) { |
|
84 | $ret = $this->getHooksFromDir( $dir, self::FIND_RECURSIVE ); |
|
85 | $potentialHooks = array_merge( $potentialHooks, $ret['good'] ); |
|
86 | $badHooks = array_merge( $badHooks, $ret['bad'] ); |
|
87 | } |
|
88 | foreach ( $nonRecurseDirs as $dir ) { |
|
89 | $ret = $this->getHooksFromDir( $dir ); |
|
90 | $potentialHooks = array_merge( $potentialHooks, $ret['good'] ); |
|
@@ 88-92 (lines=5) @@ | ||
85 | $potentialHooks = array_merge( $potentialHooks, $ret['good'] ); |
|
86 | $badHooks = array_merge( $badHooks, $ret['bad'] ); |
|
87 | } |
|
88 | foreach ( $nonRecurseDirs as $dir ) { |
|
89 | $ret = $this->getHooksFromDir( $dir ); |
|
90 | $potentialHooks = array_merge( $potentialHooks, $ret['good'] ); |
|
91 | $badHooks = array_merge( $badHooks, $ret['bad'] ); |
|
92 | } |
|
93 | ||
94 | $documented = array_keys( $documentedHooks ); |
|
95 | $potential = array_keys( $potentialHooks ); |