We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 562c45e commit 0839aa9Copy full SHA for 0839aa9
.github/workflows/tests.yml
@@ -46,4 +46,4 @@ jobs:
46
run: vendor/bin/php-cs-fixer fix --dry-run --diff
47
48
- name: Run PHPUnit Tests
49
- run: vendor/bin/phpunit
+ run: -d zend.assertions=1 -d assert.active=1 vendor/bin/phpunit
tests/FieldValidatorTest.php
@@ -55,9 +55,6 @@ public function itDontValidates($values)
55
#[Test]
56
public function itCantCreateFieldValidatorWithInvalidRules()
57
{
58
- ini_set('zend.assertions', '1'); // activar las aserciones
59
- ini_set('assert.active', '1');
60
- ini_set('assert.exception', '1'); // no tiene efecto en PHP 8.3+
61
$this->expectException(AssertionError::class);
62
new FieldValidator(344);
63
}
0 commit comments