Skip to content

[Feature] Add a Sentry configuration helper #184

[Feature] Add a Sentry configuration helper

[Feature] Add a Sentry configuration helper #184

Triggered via pull request March 12, 2024 16:27
Status Failure
Total duration 57s
Artifacts

tests.yml

on: pull_request
Matrix: PHPCS
Matrix: PHPStan
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 27 warnings
PHPCS (8.3)
Process completed with exit code 2.
PHPStan (8.1): src/Sentry/Config.php#L29
Method Studiometa\WPToolkit\Sentry\Config::getJsConfig() should return string but returns string|false.
PHPStan (8.1): src/Sentry/Sentry.php#L11
Static property Studiometa\WPToolkit\Sentry\Sentry::$config is never read, only written.
PHPStan (8.1): src/Sentry/Sentry.php#L13
Method Studiometa\WPToolkit\Sentry\Sentry::configureWithDefaults() has no return type specified.
PHPStan (8.1): src/Sentry/Sentry.php#L18
Parameter #1 $json of function json_decode expects string, string|false given.
PHPStan (8.1): src/Sentry/Sentry.php#L19
Cannot access property $name on mixed.
PHPStan (8.1): src/Sentry/Sentry.php#L19
Cannot access property $version on mixed.
PHPStan (8.1): src/Sentry/Sentry.php#L38
Method Studiometa\WPToolkit\Sentry\Sentry::configure() has no return type specified.
PHPStan (8.1): src/Sentry/Sentry.php#L54
Parameter #1 $name of method Sentry\Tracing\TransactionContext::setName() expects string, mixed given.
PHPStan (8.1)
Process completed with exit code 1.
PHPStan (8.3): src/Sentry/Config.php#L29
Method Studiometa\WPToolkit\Sentry\Config::getJsConfig() should return string but returns string|false.
PHPStan (8.3): src/Sentry/Sentry.php#L11
Static property Studiometa\WPToolkit\Sentry\Sentry::$config is never read, only written.
PHPStan (8.3): src/Sentry/Sentry.php#L13
Method Studiometa\WPToolkit\Sentry\Sentry::configureWithDefaults() has no return type specified.
PHPStan (8.3): src/Sentry/Sentry.php#L18
Parameter #1 $json of function json_decode expects string, string|false given.
PHPStan (8.3): src/Sentry/Sentry.php#L19
Cannot access property $name on mixed.
PHPStan (8.3): src/Sentry/Sentry.php#L19
Cannot access property $version on mixed.
PHPStan (8.3): src/Sentry/Sentry.php#L38
Method Studiometa\WPToolkit\Sentry\Sentry::configure() has no return type specified.
PHPStan (8.3): src/Sentry/Sentry.php#L54
Parameter #1 $name of method Sentry\Tracing\TransactionContext::setName() expects string, mixed given.
PHPStan (8.3)
Process completed with exit code 1.
PHPStan (8.2): src/Sentry/Config.php#L29
Method Studiometa\WPToolkit\Sentry\Config::getJsConfig() should return string but returns string|false.
PHPStan (8.2): src/Sentry/Sentry.php#L11
Static property Studiometa\WPToolkit\Sentry\Sentry::$config is never read, only written.
PHPStan (8.2): src/Sentry/Sentry.php#L13
Method Studiometa\WPToolkit\Sentry\Sentry::configureWithDefaults() has no return type specified.
PHPStan (8.2): src/Sentry/Sentry.php#L18
Parameter #1 $json of function json_decode expects string, string|false given.
PHPStan (8.2): src/Sentry/Sentry.php#L19
Cannot access property $name on mixed.
PHPStan (8.2): src/Sentry/Sentry.php#L19
Cannot access property $version on mixed.
PHPStan (8.2): src/Sentry/Sentry.php#L38
Method Studiometa\WPToolkit\Sentry\Sentry::configure() has no return type specified.
PHPStan (8.2): src/Sentry/Sentry.php#L54
Parameter #1 $name of method Sentry\Tracing\TransactionContext::setName() expects string, mixed given.
PHPStan (8.2)
Process completed with exit code 1.
PHPCS (8.1)
Process completed with exit code 2.
PHPCS (8.2)
Process completed with exit code 2.
PHPCS (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPCS (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPCS (8.3)
The `set-output` 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/
PHPStan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.1)
The `set-output` 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/
PHPStan (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.3)
The `set-output` 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/
PHPStan (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.2)
The `set-output` 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/
PHPCS (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPCS (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPCS (8.1)
The `set-output` 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/
PHPCS (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPCS (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPCS (8.2)
The `set-output` 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/
PHPUnit (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.1)
The `set-output` 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/
PHPUnit (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.2)
The `set-output` 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/
PHPUnit (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.3)
The `set-output` 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/