You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Client.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,7 @@ public function getCookieJar()
199
199
publicfunctiongetCrawler()
200
200
{
201
201
if (null === $this->crawler) {
202
-
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
202
+
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
203
203
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
204
204
}
205
205
@@ -214,7 +214,7 @@ public function getCrawler()
214
214
publicfunctiongetInternalResponse()
215
215
{
216
216
if (null === $this->internalResponse) {
217
-
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
217
+
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
218
218
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
219
219
}
220
220
@@ -234,7 +234,7 @@ public function getInternalResponse()
234
234
publicfunctiongetResponse()
235
235
{
236
236
if (null === $this->response) {
237
-
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
237
+
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
238
238
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
239
239
}
240
240
@@ -249,7 +249,7 @@ public function getResponse()
249
249
publicfunctiongetInternalRequest()
250
250
{
251
251
if (null === $this->internalRequest) {
252
-
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
252
+
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
253
253
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
254
254
}
255
255
@@ -269,7 +269,7 @@ public function getInternalRequest()
269
269
publicfunctiongetRequest()
270
270
{
271
271
if (null === $this->request) {
272
-
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
272
+
@trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
273
273
// throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
274
274
}
275
275
@@ -314,8 +314,8 @@ public function clickLink(string $linkText): Crawler
@trigger_error(sprintf('The "%s()" method will have a new "array $serverParameters = []" argument in version 5.0, not defining it is deprecated since Symfony 4.2.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
@trigger_error(sprintf('The "%s()" method will have a new "array $serverParameters = []" argument in version 5.0, not defining it is deprecated since Symfony 4.2.', static::class.'::'.__FUNCTION__), E_USER_DEPRECATED);
0 commit comments