mirror of
https://github.com/ivuorinen/monolog-gdpr-filter.git
synced 2026-03-07 05:59:14 +00:00
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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user