Merge remote-tracking branch 'bantu/ticket/12180' into develop

* bantu/ticket/12180:
  [ticket/12180] Add "Each file MUST end with exactly one newline character" rule
This commit is contained in:
Joas Schilling 2014-02-12 22:12:30 +01:00
commit 75fa467b7b
5 changed files with 4 additions and 4 deletions

View file

@ -29,6 +29,9 @@
<!-- Method arguments with default values MUST go at the end of the argument list. -->
<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,
and there MUST be one space after each comma. -->
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">

View file

@ -289,4 +289,3 @@ define('WORDS_TABLE', $table_prefix . 'words');
define('ZEBRA_TABLE', $table_prefix . 'zebra');
// Additional tables

View file

@ -157,4 +157,3 @@ class redis extends \phpbb\cache\driver\memory
return false;
}
}

View file

@ -18,4 +18,4 @@ class exception extends \UnexpectedValueException
{
return $this->getMessage();
}
}
}

View file

@ -112,4 +112,3 @@ class deactivated_super_global implements \ArrayAccess, \Countable, \IteratorAgg
$this->error();
}
}