Skip to content

Commit 5d28435

Browse files
kalessilfabpot
authored andcommitted
[2.3] Static Code Analysis for Components
1 parent e17d1ec commit 5d28435

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Helper/TableHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function setLayout($layout)
111111

112112
default:
113113
throw new \InvalidArgumentException(sprintf('Invalid table layout "%s".', $layout));
114-
};
114+
}
115115

116116
return $this;
117117
}

Output/ConsoleOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function_exists('php_uname') ? php_uname('s') : '',
131131
PHP_OS,
132132
);
133133

134-
return false !== stristr(implode(';', $checks), 'OS400');
134+
return false !== stripos(implode(';', $checks), 'OS400');
135135
}
136136

137137
/**

0 commit comments

Comments
 (0)