Chad has uploaded a new change for review.
https://gerrit.wikimedia.org/r/294101
Change subject: Don't look for hooks in .php5 files that don't exist
......................................................................
Don't look for hooks in .php5 files that don't exist
Change-Id: I4c9cdcdebfe4e617361f723df624c1d3e3096e6e
(cherry picked from commit f2c9dea186ebe4f47601d4508a874e6c059cb35c)
---
M maintenance/findHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/01/294101/1
diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php
index bc36141..7304a2a 100644
--- a/maintenance/findHooks.php
+++ b/maintenance/findHooks.php
@@ -314,7 +314,7 @@
foreach ( $iterator as $info ) {
// Ignore directories, work only on php files,
- if ( $info->isFile() && in_array(
$info->getExtension(), [ 'php', 'php5', 'inc' ] )
+ if ( $info->isFile() && in_array(
$info->getExtension(), [ 'php', 'inc' ] )
// Skip this file as it contains text that
looks like a bad wfRunHooks() call
&& $info->getRealPath() !== __FILE__
) {
--
To view, visit https://gerrit.wikimedia.org/r/294101
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c9cdcdebfe4e617361f723df624c1d3e3096e6e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_27
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits