Skip to content

feat: Implement tracing instrumentation #72

feat: Implement tracing instrumentation

feat: Implement tracing instrumentation #72

Triggered via pull request January 4, 2024 12:48
Status Failure
Total duration 2m 19s
Artifacts 2

ci.yml

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

Annotations

12 errors and 5 warnings
PHPUnit (PHP 8.2)
Process completed with exit code 1.
PHPUnit (PHP 8.2)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Connection.php#L16
Property FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Connection::$connection is never read, only written.
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Driver.php#L85
Parameter #1 $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<int, mixed>, ...}) of method FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Driver::connect() should be contravariant with parameter $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array, ...}) of method Doctrine\DBAL\Driver::connect()
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Driver.php#L85
Parameter #1 $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<int, mixed>, ...}) of method FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Driver::connect() should be contravariant with parameter $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array, ...}) of method Doctrine\DBAL\Driver::connect()
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Driver.php#L85
Parameter #1 $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<int, mixed>, ...}) of method FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Driver::connect() should be contravariant with parameter $params (array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, default_dbname?: string, driver?: 'ibm_db2'|'mysqli'|'oci8'|'pdo_mysql'|'pdo_oci'|'pdo_pgsql'|'pdo_sqlite'|'pdo_sqlsrv'|'pgsql'|'sqlite3'|'sqlsrv', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array, ...}) of method Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware::connect()
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Statement.php#L13
Property FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Statement::$statement is never read, only written.
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Statement.php#L14
Property FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Statement::$tracer is never read, only written.
PHPStan (PHP 8.3): src/Middleware/Doctrine/Trace/Statement.php#L15
Property FriendsOfOpenTelemetry\OpenTelemetryBundle\Middleware\Doctrine\Trace\Statement::$sql is never read, only written.
PHPStan (PHP 8.3)
Process completed with exit code 1.
PHPUnit (PHP 8.3)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
PHPUnit (PHP 8.3)
Process completed with exit code 1.
PHPUnit (PHP 8.2)
Failed to restore: Cache service responded with 429
PHPStan (PHP 8.3)
Failed to restore: Cache service responded with 429
PHPStan (PHP 8.3)
Failed to restore: Cache service responded with 429
PHPUnit (PHP 8.3)
Failed to restore: Cache service responded with 429
PHP CS Fixer (PHP 8.3)
Failed to restore: Cache service responded with 429

Artifacts

Produced during runtime
Name Size
phpunit-logs-php8.2 Expired
4.8 KB
phpunit-logs-php8.3 Expired
4.81 KB