aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:39 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-17 00:42:39 +0200
commit89af1150718a184249d8040637969b03a3003596 (patch)
tree44ebf3864ded8edabde1eae392300911edc3f359 /phpBB/phpbb/cache
parent4d6afb26380d192efc556640499b6f5c43fbdf3c (diff)
parentafcca62784b51e34649f44905a27948bc3c8400c (diff)
downloadforums-89af1150718a184249d8040637969b03a3003596.tar
forums-89af1150718a184249d8040637969b03a3003596.tar.gz
forums-89af1150718a184249d8040637969b03a3003596.tar.bz2
forums-89af1150718a184249d8040637969b03a3003596.tar.xz
forums-89af1150718a184249d8040637969b03a3003596.zip
Merge pull request #2603 from Nicofuma/ticket/12721
[ticket/12721] Improve the code sniffer: simple rules * Nicofuma/ticket/12721: [ticket/12721] Update rules descriptions [ticket/12721] Add Generic.NamingConventions.ConstructorName in strict [ticket/12721] Add Squiz.Functions.LowercaseFunctionKeywords in legacy [ticket/12721] Add Squiz.ControlStructures.ForLoopDeclaration in legacy [ticket/12721] Add Squiz.ControlStructures.ForEachLoopDeclaration [ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy [ticket/12721] Add Generic.Functions.OpeningFunctionBraceBsdAllman [ticket/12721] Add Squiz.Arrays.ArrayBracketSpacing in the legacy ruleset [ticket/12721] Add Generic.Files.LowercasedFilename in the legacy ruleset
Diffstat (limited to 'phpBB/phpbb/cache')
-rw-r--r--phpBB/phpbb/cache/driver/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cache/driver/file.php b/phpBB/phpbb/cache/driver/file.php
index 03b7b1ea82..b32af32d25 100644
--- a/phpBB/phpbb/cache/driver/file.php
+++ b/phpBB/phpbb/cache/driver/file.php
@@ -224,7 +224,7 @@ class file extends \phpbb\cache\driver\base
{
$this->remove_dir($fileInfo->getPathname());
}
- elseif (strpos($filename, 'container_') === 0 ||
+ else if (strpos($filename, 'container_') === 0 ||
strpos($filename, 'url_matcher') === 0 ||
strpos($filename, 'sql_') === 0 ||
strpos($filename, 'data_') === 0)