1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-22 21:52:58 +02:00

phpcs: enable psr2

This commit is contained in:
Elan Ruusamäe
2016-10-16 16:46:43 +03:00
parent 0cc631c5a9
commit 5fb7ea1ed1
44 changed files with 175 additions and 109 deletions

View File

@@ -11,7 +11,8 @@
* @author Stephen Clay <steve@mrclay.org>
* @author Adam Pedersen (Issue 55 fix)
*/
class Minify_Lines {
class Minify_Lines
{
/**
* Add line numbers in C-style comments
@@ -156,7 +157,8 @@ class Minify_Lines {
* @param string $token Token being checked
* @return bool
*/
private static function _find($str, $token) {
private static function _find($str, $token)
{
switch ($token) {
case '//':
$fakes = array(