chore: workflow and package updates, linting (#59)

* chore(deps): update composer packages

* chore(ci): update workflows

* chore(lint): fix codeql language, composer lint:fix

* chore: set php version 8.2, update pre-commit hooks, linting
This commit is contained in:
2025-12-01 11:18:44 +02:00
committed by GitHub
parent e293587296
commit c3d6b8b1c6
15 changed files with 445 additions and 446 deletions

View File

@@ -338,7 +338,7 @@ final class InputValidatorTest extends TestCase
{
InputValidator::validateConditionalRules([
'rule1' => fn($value): bool => $value > 100,
'rule2' => fn($value): bool => is_string($value),
'rule2' => is_string(...),
]);
$this->assertTrue(true);

View File

@@ -519,7 +519,7 @@ class MaskingStrategiesTest extends TestCase
$this->assertCount(3, $strategies);
// Check that we have the expected strategy types
$classNames = array_map('get_class', $strategies);
$classNames = array_map(get_class(...), $strategies);
$this->assertContains(RegexMaskingStrategy::class, $classNames);
$this->assertContains(FieldPathMaskingStrategy::class, $classNames);
$this->assertContains(DataTypeMaskingStrategy::class, $classNames);