Skip to content

Commit 656492a

Browse files
authored
Merge pull request #49 from PHPCSStandards/feature/php8-compat-hardening
QA: minor tweak
2 parents 3afa254 + 29c5843 commit 656492a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/CheckSniffCompleteness.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ protected function processCliCommand()
258258
foreach ($args as $arg) {
259259
if (\strpos($arg, '--exclude=') === 0) {
260260
$exclude = \substr($arg, 10);
261-
if ($exclude === '') {
261+
if (empty($exclude)) {
262262
$this->excludedDirs = [];
263263
continue;
264264
}

0 commit comments

Comments
 (0)