Skip to content

Commit

Permalink
PSR-2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 18, 2015
1 parent bc6f41e commit 3baae72
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/Compressor/Compressor.php
Expand Up @@ -22,5 +22,4 @@ public function compress($source)

return $source;
}

}
1 change: 0 additions & 1 deletion src/Factory.php
Expand Up @@ -113,5 +113,4 @@ public static function constructSmallest()
],
]);
}

}
1 change: 0 additions & 1 deletion src/Frameworks/SculpinListener.php
Expand Up @@ -65,5 +65,4 @@ protected function compress(Parser $parser, SourceSetEvent $event)
}
}
}

}
1 change: 0 additions & 1 deletion src/Parser.php
Expand Up @@ -85,5 +85,4 @@ public function getCompressors()
{
return $this->options['compressors'];
}

}
4 changes: 3 additions & 1 deletion src/Patterns.php
Expand Up @@ -20,7 +20,9 @@ class Patterns
const MATCH_PRE = '!(<pre[^>]*>?)(.*?)(</pre>)!is';
const MATCH_TEXTAREA = '!(<textarea[^>]*>?)(.*?)(</textarea>)!is';
const MATCH_STYLE = '!(<style>|<style[^>]*>?)(.*?)(</style>)!is';
const MATCH_JSCRIPT = '!(<script>|<script[^>]*type="text/javascript"[^>]*>|<script[^>]*type=\'text/javascript\'[^>]*>)(.*?)(</script>)!is';
const MATCH_JSCRIPT = '!(<script>)(.*?)(</script>)!is';
const MATCH_JSCRIPT2 = '!(<script[^>]*type="text/javascript"[^>]*>)(.*?)(</script>)!is';
const MATCH_JSCRIPT3 = '!(<script[^>]*type=\'text/javascript\'[^>]*>)(.*?)(</script>)!is';
const MATCH_SCRIPT = '!(<script[^>]*>?)(.*?)(</script>)!is';
const MATCH_NOCOMPRESS = '!(<nocompress>)(.*?)(</nocompress>)!is';
}
1 change: 0 additions & 1 deletion src/Tokenizer.php
Expand Up @@ -132,5 +132,4 @@ protected function replaceToken($tokens, $index, $newTokens)
{
return array_merge(array_slice($tokens, 0, $index), $newTokens, array_slice($tokens, $index + 1));
}

}

0 comments on commit 3baae72

Please sign in to comment.