diff --git a/.github/.kodiak.toml b/.github/.kodiak.toml deleted file mode 100644 index 60c34b6f..00000000 --- a/.github/.kodiak.toml +++ /dev/null @@ -1,10 +0,0 @@ -version = 1 - -[merge] -automerge_label = "automerge" -blacklist_title_regex = "^WIP.*" -blacklist_labels = ["WIP"] -method = "rebase" -delete_branch_on_merge = true -notify_on_conflict = true -optimistic_updates = false diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6dc90550..65274a68 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,7 @@ jobs: uses: contributte/.github/.github/workflows/nette-tester.yml@v1 with: php: "8.5" + make: "init tests" test84: name: "Nette Tester" diff --git a/tests/Cases/Symfony/Validator/Mocks/UserPojo.php b/tests/Cases/Symfony/Validator/Mocks/UserPojo.php index 522b12f3..22d29dba 100644 --- a/tests/Cases/Symfony/Validator/Mocks/UserPojo.php +++ b/tests/Cases/Symfony/Validator/Mocks/UserPojo.php @@ -14,7 +14,7 @@ class UserPojo public static function loadValidatorMetadata(ClassMetadata $metadata): void { $metadata->addPropertyConstraint('username', new NotBlank()); - $metadata->addPropertyConstraint('username', new Length(['min' => 10, 'max' => 20])); + $metadata->addPropertyConstraint('username', new Length(min: 10, max: 20)); } public function getUsername(): string diff --git a/tests/Cases/Symfony/Validator/Validator.simple.phpt b/tests/Cases/Symfony/Validator/Validator.simple.phpt index 71f507a8..9b1b9361 100644 --- a/tests/Cases/Symfony/Validator/Validator.simple.phpt +++ b/tests/Cases/Symfony/Validator/Validator.simple.phpt @@ -15,7 +15,7 @@ require_once __DIR__ . '/../../../bootstrap.php'; Toolkit::test(function (): void { $validator = Validation::createValidator(); $violations = $validator->validate('Felix', [ - new Length(['min' => 10]), + new Length(min: 10), new NotBlank(), ]);