dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
phpcs: More require/include is not a function
[lhc/web/wiklou.git]
/
maintenance
/
language
/
rebuildLanguage.php
diff --git
a/maintenance/language/rebuildLanguage.php
b/maintenance/language/rebuildLanguage.php
index
02c41d2
..
66948ae
100644
(file)
--- a/
maintenance/language/rebuildLanguage.php
+++ b/
maintenance/language/rebuildLanguage.php
@@
-22,7
+22,7
@@
* @defgroup MaintenanceLanguage MaintenanceLanguage
*/
* @defgroup MaintenanceLanguage MaintenanceLanguage
*/
-require_once
( __DIR__ . '/../commandLine.inc' )
;
+require_once
__DIR__ . '/../commandLine.inc'
;
require_once 'languages.inc';
require_once 'writeMessagesArray.inc';
require_once 'languages.inc';
require_once 'writeMessagesArray.inc';
@@
-56,7
+56,7
@@
function rebuildLanguage( $languages, $code, $write, $listUnknown, $removeUnknow
*/
function removeDupes( $oldMsgArray, $dupeMsgSource ) {
if ( file_exists( $dupeMsgSource ) ) {
*/
function removeDupes( $oldMsgArray, $dupeMsgSource ) {
if ( file_exists( $dupeMsgSource ) ) {
- include
( $dupeMsgSource )
;
+ include
$dupeMsgSource
;
if ( !isset( $dupeMessages ) ) {
echo "There are no duplicated messages in the source file provided.";
exit( 1 );
if ( !isset( $dupeMessages ) ) {
echo "There are no duplicated messages in the source file provided.";
exit( 1 );