Documentation

Deprecated

Table of Contents

vendor/popphp/pop-http/src/Client/Handler/CurlMulti.php
vendor/popphp/pop-http/src/Server/Data.php
vendor/popphp/pop-http/src/Server/Request.php

CurlMulti.php

Line Element Reason
365 CurlMulti::isSuccess()

Use isBatchSuccess() - this name collides with the per-response isSuccess() convention used everywhere else in the codebase.

378 CurlMulti::isError()

Use isBatchError() - this name collides with the per-response isError() convention used everywhere else in the codebase.

Data.php

Line Element Reason
258 Data::getQueryData()

This always returns null now: the QUERY_STRING re-parse that used to populate $queryData was removed. Use getQuery() instead, which reads directly from PHP's native $_GET.

312 Data::hasQueryData()

This always returns false now: the QUERY_STRING re-parse that used to populate $queryData was removed. Check getQuery() instead (e.g. !empty($this->getQuery())), which reads directly from PHP's native $_GET.

Request.php

Line Element Reason
728 Request::getQueryData()

This always returns null now: the QUERY_STRING re-parse that used to populate $queryData was removed. Use getQuery() instead, which reads directly from PHP's native $_GET.

741 Request::hasQueryData()

This always returns false now: the QUERY_STRING re-parse that used to populate $queryData was removed. Check getQuery() instead (e.g. !empty($this->getQuery())), which reads directly from PHP's native $_GET.

Search results