Skip to content

Commit e1aaa45

Browse files
fafiebignicolas-grekas
authored andcommitted
[Lock] 7.0 remove deprecations in Lock Component
1 parent b796a53 commit e1aaa45

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Tests/Middleware/Debug/MiddlewareTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,7 @@ public function testWithoutStopwatch(callable $sqlMethod, callable $endTransacti
275275
$this->conn->beginTransaction();
276276
$sqlMethod($this->conn, 'SELECT * FROM products');
277277
$endTransactionMethod($this->conn);
278+
279+
$this->addToAssertionCount(1);
278280
}
279281
}

Validator/Constraints/UniqueEntity.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ class UniqueEntity extends Constraint
3939
public $errorPath;
4040
public $ignoreNull = true;
4141

42-
/**
43-
* @deprecated since Symfony 6.1, use const ERROR_NAMES instead
44-
*/
45-
protected static $errorNames = self::ERROR_NAMES;
46-
4742
/**
4843
* @param array|string $fields The combination of fields that must contain unique values or a set of options
4944
* @param bool|array|string $ignoreNull The combination of fields that ignore null values

0 commit comments

Comments
 (0)