Skip to content

Commit 50fff04

Browse files
committed
Update the deprecation warning convention
1 parent 496ee87 commit 50fff04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/BrowserKitDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function getClient()
7777
*/
7878
public function setRemoveHostFromUrl($remove = true)
7979
{
80-
trigger_error(
80+
@trigger_error(
8181
'setRemoveHostFromUrl() is deprecated as of 1.2 and will be removed in 2.0. Pass the base url in the constructor instead.',
8282
E_USER_DEPRECATED
8383
);
@@ -93,7 +93,7 @@ public function setRemoveHostFromUrl($remove = true)
9393
*/
9494
public function setRemoveScriptFromUrl($remove = true)
9595
{
96-
trigger_error(
96+
@trigger_error(
9797
'setRemoveScriptFromUrl() is deprecated as of 1.2 and will be removed in 2.0. Pass the base url in the constructor instead.',
9898
E_USER_DEPRECATED
9999
);

0 commit comments

Comments
 (0)