Skip to content

Commit 917a66e

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: [Notifier] Fix parsing Dsn with empty user/password Remove void return type from test methods [Notifier] Use assertSame()
2 parents 73ec832 + ab2b270 commit 917a66e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Constraints/ExpressionLanguageSyntaxValidatorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function createValidator()
2323
return new ExpressionLanguageSyntaxValidator(new ExpressionLanguage());
2424
}
2525

26-
public function testExpressionValid(): void
26+
public function testExpressionValid()
2727
{
2828
$this->validator->validate('1 + 1', new ExpressionLanguageSyntax([
2929
'message' => 'myMessage',
@@ -33,7 +33,7 @@ public function testExpressionValid(): void
3333
$this->assertNoViolation();
3434
}
3535

36-
public function testExpressionWithoutNames(): void
36+
public function testExpressionWithoutNames()
3737
{
3838
$this->validator->validate('1 + 1', new ExpressionLanguageSyntax([
3939
'message' => 'myMessage',
@@ -42,7 +42,7 @@ public function testExpressionWithoutNames(): void
4242
$this->assertNoViolation();
4343
}
4444

45-
public function testExpressionWithAllowedVariableName(): void
45+
public function testExpressionWithAllowedVariableName()
4646
{
4747
$this->validator->validate('a + 1', new ExpressionLanguageSyntax([
4848
'message' => 'myMessage',
@@ -52,7 +52,7 @@ public function testExpressionWithAllowedVariableName(): void
5252
$this->assertNoViolation();
5353
}
5454

55-
public function testExpressionIsNotValid(): void
55+
public function testExpressionIsNotValid()
5656
{
5757
$this->validator->validate('a + 1', new ExpressionLanguageSyntax([
5858
'message' => 'myMessage',

0 commit comments

Comments
 (0)