Skip to content

Elasticsearch 8

Elasticsearch 8 #463

Triggered via push January 15, 2024 09:52
Status Failure
Total duration 48s
Artifacts

php.yml

on: push
Matrix: php-cs-fixer
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

49 errors
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires ruflin/elastica ^7.1, it is satisfiable by ruflin/elastica[7.1.0, ..., 7.3.1] from composer repo (https://repo.packagist.org) but ruflin/elastica[dev-feature/up_to_elasticsearch_8, 8.x-dev] from vcs repo (github https://github.com/pawelkeska/Elastica) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest)
Process completed with exit code 2.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires ruflin/elastica ^7.1, it is satisfiable by ruflin/elastica[7.1.0, ..., 7.3.1] from composer repo (https://repo.packagist.org) but ruflin/elastica[dev-feature/up_to_elasticsearch_8, 8.x-dev] from vcs repo (github https://github.com/pawelkeska/Elastica) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest)
Process completed with exit code 2.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires ruflin/elastica ^7.1, it is satisfiable by ruflin/elastica[7.1.0, ..., 7.3.1] from composer repo (https://repo.packagist.org) but ruflin/elastica[dev-feature/up_to_elasticsearch_8, 8.x-dev] from vcs repo (github https://github.com/pawelkeska/Elastica) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest)
Process completed with exit code 2.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires ruflin/elastica ^7.1, it is satisfiable by ruflin/elastica[7.1.0, ..., 7.3.1] from composer repo (https://repo.packagist.org) but ruflin/elastica[dev-feature/up_to_elasticsearch_8, 8.x-dev] from vcs repo (github https://github.com/pawelkeska/Elastica) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest)
Process completed with exit code 2.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Cleanup.php#L65
Caught class Elastic\Elasticsearch\Exception\ElasticsearchException not found.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Cleanup.php#L66
Call to method getMessage() on an unknown class Elastic\Elasticsearch\Exception\ElasticsearchException.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Index.php#L232
Call to method asBool() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has invalid return type Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has parameter $body with no value type specified in iterable type array.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() overrides method Elastica\Client::request() but misses parameter #5 $contentType.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #2 $url of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is required but parameter #2 $method of method Elastica\Client::request() is optional.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #3 $headers (array) of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not contravariant with parameter #3 $data (mixed) of method Elastica\Client::request().
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Return type Elastic\Elasticsearch\Response\Elasticsearch of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not covariant with return type Elastica\Response of method Elastica\Client::request().
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L22
Call to an undefined method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::createRequest().
php-cs-fixer (ubuntu-latest)
Process completed with exit code 8.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Cleanup.php#L65
Caught class Elastic\Elasticsearch\Exception\ElasticsearchException not found.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Cleanup.php#L66
Call to method getMessage() on an unknown class Elastic\Elasticsearch\Exception\ElasticsearchException.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Command/Index.php#L232
Call to method asBool() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has invalid return type Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has parameter $body with no value type specified in iterable type array.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() overrides method Elastica\Client::request() but misses parameter #5 $contentType.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #2 $url of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is required but parameter #2 $method of method Elastica\Client::request() is optional.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #3 $headers (array) of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not contravariant with parameter #3 $data (mixed) of method Elastica\Client::request().
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Return type Elastic\Elasticsearch\Response\Elasticsearch of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not covariant with return type Elastica\Response of method Elastica\Client::request().
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-stable) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L22
Call to an undefined method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::createRequest().
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Cleanup.php#L65
Caught class Elastic\Elasticsearch\Exception\ElasticsearchException not found.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Cleanup.php#L66
Call to method getMessage() on an unknown class Elastic\Elasticsearch\Exception\ElasticsearchException.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Index.php#L232
Call to method asBool() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has invalid return type Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has parameter $body with no value type specified in iterable type array.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() overrides method Elastica\Client::request() but misses parameter #5 $contentType.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #2 $url of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is required but parameter #2 $method of method Elastica\Client::request() is optional.
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #3 $headers (array) of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not contravariant with parameter #3 $data (mixed) of method Elastica\Client::request().
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Return type Elastic\Elasticsearch\Response\Elasticsearch of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not covariant with return type Elastica\Response of method Elastica\Client::request().
phpstan (PHP 8.1 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L22
Call to an undefined method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::createRequest().
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Cleanup.php#L65
Caught class Elastic\Elasticsearch\Exception\ElasticsearchException not found.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Cleanup.php#L66
Call to method getMessage() on an unknown class Elastic\Elasticsearch\Exception\ElasticsearchException.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Command/Index.php#L232
Call to method asBool() on an unknown class Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has invalid return type Elastic\Elasticsearch\Response\Elasticsearch.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() has parameter $body with no value type specified in iterable type array.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() overrides method Elastica\Client::request() but misses parameter #5 $contentType.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #2 $url of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is required but parameter #2 $method of method Elastica\Client::request() is optional.
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Parameter #3 $headers (array) of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not contravariant with parameter #3 $data (mixed) of method Elastica\Client::request().
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L20
Return type Elastic\Elasticsearch\Response\Elasticsearch of method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::request() is not covariant with return type Elastica\Response of method Elastica\Client::request().
phpstan (PHP 8.2 with Pimcore ^11.0 (prefer-lowest) on ubuntu-latest): src/Elastica/Client/ElasticsearchClient.php#L22
Call to an undefined method Valantic\ElasticaBridgeBundle\Elastica\Client\ElasticsearchClient::createRequest().