Skip to content

Commit 9a9b98c

Browse files
committed
ci: fix PHP CS Fixer errors
1 parent fb4a7fa commit 9a9b98c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// @see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7777
1313
->setParallelConfig(ParallelConfigFactory::detect())
1414
->setRules([
15-
'@PHP71Migration' => true,
16-
'@PHPUnit75Migration:risky' => true,
15+
'@PHP7x1Migration' => true,
16+
'@PHPUnit7x5Migration:risky' => true,
1717
'@Symfony' => true,
1818
'@Symfony:risky' => true,
1919
'protected_to_private' => false,

src/Altcha.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function verifyFieldsHash(array $formData, array $fields, string $fieldsH
178178
$lines = [];
179179
foreach ($fields as $field) {
180180
$value = $formData[$field] ?? '';
181-
$lines[] = is_scalar($value) ? (string) $value : '';
181+
$lines[] = \is_scalar($value) ? (string) $value : '';
182182
}
183183
$joinedData = implode("\n", $lines);
184184
$computedHash = $this->hasher->hashHex($algorithm, $joinedData);

0 commit comments

Comments
 (0)