Skip to content

Fix: Add null checks for _client in Bulk class #1469

Fix: Add null checks for _client in Bulk class

Fix: Add null checks for _client in Bulk class #1469

Triggered via push December 30, 2025 18:03
Status Failure
Total duration 32s
Artifacts
Coding style
18s
Coding style
Coding standards
29s
Coding standards
PHPStan
26s
PHPStan
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Coding style
Process completed with exit code 8.
PHPUnit (PHP 8.5, ES 9.1.0)
Process completed with exit code 2.
PHPUnit (PHP 8.2, ES 9.1.0)
Process completed with exit code 2.
PHPUnit (PHP 8.4, ES 9.1.0)
Process completed with exit code 2.
PHPStan
Process completed with exit code 1.
PHPStan: tests/BulkTest.php#L859
Call to an undefined method Elastica\Response::setData().
PHPStan: src/Bulk.php#L347
Strict comparison using !== between null and Elastica\Client will always evaluate to true.
PHPStan: src/Bulk.php#L167
Strict comparison using !== between null and Elastica\Client will always evaluate to true.
PHPStan: src/Bulk.php#L135
Strict comparison using !== between null and Elastica\Client will always evaluate to true.
PHPUnit (PHP 8.3, ES 9.1.0)
Process completed with exit code 2.
PHPUnit (PHP 8.1, ES 9.1.0)
Process completed with exit code 2.