Allow ES8 #497
Annotations
10 errors and 3 warnings
Run PHPStan:
src/Elastica/Client.php#L54
Declaration of FOS\ElasticaBundle\Elastica\Client::request(string $path, string $method = Elastica\Request::GET, $data = Array, string $contentType = Elastica\Request::DEFAULT_CONTENT_TYPE): Elastica\Response should be compatible with Elastica\Client::request(string $path, string $method = Elastica\Request::GET, $data = Array, array $query = Array, string $contentType = Elastica\Request::DEFAULT_CONTENT_TYPE): Elastica\Response
|
Run PHPStan:
src/Elastica/Client.php#L54
Method FOS\ElasticaBundle\Elastica\Client::request() overrides method Elastica\Client::request() but misses parameter #5 $contentType.
|
Run PHPStan:
src/Elastica/Client.php#L54
Parameter #4 $contentType (string) of method FOS\ElasticaBundle\Elastica\Client::request() is not contravariant with parameter #4 $query (array) of method Elastica\Client::request().
|
Run PHPStan:
src/Elastica/Client.php#L61
Call to an undefined method FOS\ElasticaBundle\Elastica\Client::createRequest().
|
Run PHPStan:
src/Elastica/Client.php#L64
Call to method asString() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
|
Run PHPStan:
src/Elastica/Client.php#L64
Call to method getStatusCode() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
|
Run PHPStan:
src/Elastica/Client.php#L67
Method FOS\ElasticaBundle\Elastica\Client::sendRequest() has invalid return type Elastic\Elasticsearch\Response\Elasticsearch.
|
Run PHPStan:
src/Elastica/Client.php#L67
Parameter $request of method FOS\ElasticaBundle\Elastica\Client::sendRequest() has invalid type Psr\Http\Message\RequestInterface.
|
Run PHPStan:
src/Elastica/Client.php#L73
Call to method getBody() on an unknown class Psr\Http\Message\RequestInterface.
|
Run PHPStan:
src/Elastica/Client.php#L76
Call to an undefined static method Elastica\Client::sendRequest().
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Install Composer dependencies (lowest)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading