File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1940,13 +1940,20 @@ private function handleDriverException(
1940
1940
/**
1941
1941
* BC layer for a wide-spread use-case of old DBAL APIs
1942
1942
*
1943
- * @deprecated This API is deprecated and will be removed after 2022
1943
+ * @deprecated Use {@see executeStatement()} instead
1944
1944
*
1945
1945
* @param array<mixed> $params The query parameters
1946
1946
* @param array<int|string|null> $types The parameter types
1947
1947
*/
1948
1948
public function executeUpdate (string $ sql , array $ params = [], array $ types = []): int
1949
1949
{
1950
+ Deprecation::trigger (
1951
+ 'doctrine/dbal ' ,
1952
+ 'https://github.com/doctrine/dbal/pull/4163 ' ,
1953
+ '%s is deprecated, please use executeStatement() instead. ' ,
1954
+ __METHOD__ ,
1955
+ );
1956
+
1950
1957
return $ this ->executeStatement ($ sql , $ params , $ types );
1951
1958
}
1952
1959
You can’t perform that action at this time.
0 commit comments