mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12180] Add "Each file MUST end with exactly one newline character" rule
PHPBB3-12180
This commit is contained in:
parent
02674de893
commit
1e86f71133
5 changed files with 4 additions and 4 deletions
|
@ -29,6 +29,9 @@
|
||||||
<!-- Method arguments with default values MUST go at the end of the argument list. -->
|
<!-- Method arguments with default values MUST go at the end of the argument list. -->
|
||||||
<rule ref="PEAR.Functions.ValidDefaultValue" />
|
<rule ref="PEAR.Functions.ValidDefaultValue" />
|
||||||
|
|
||||||
|
<!-- Each file MUST end with exactly one newline character -->
|
||||||
|
<rule ref="PSR2.Files.EndFileNewline" />
|
||||||
|
|
||||||
<!-- In the argument list, there MUST NOT be a space before each comma,
|
<!-- In the argument list, there MUST NOT be a space before each comma,
|
||||||
and there MUST be one space after each comma. -->
|
and there MUST be one space after each comma. -->
|
||||||
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
||||||
|
|
|
@ -289,4 +289,3 @@ define('WORDS_TABLE', $table_prefix . 'words');
|
||||||
define('ZEBRA_TABLE', $table_prefix . 'zebra');
|
define('ZEBRA_TABLE', $table_prefix . 'zebra');
|
||||||
|
|
||||||
// Additional tables
|
// Additional tables
|
||||||
|
|
||||||
|
|
1
phpBB/phpbb/cache/driver/redis.php
vendored
1
phpBB/phpbb/cache/driver/redis.php
vendored
|
@ -157,4 +157,3 @@ class redis extends \phpbb\cache\driver\memory
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -112,4 +112,3 @@ class deactivated_super_global implements \ArrayAccess, \Countable, \IteratorAgg
|
||||||
$this->error();
|
$this->error();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue