Report ?? null / ??= null on an always-set left side as an unnecessary null coalesce
#29706
phar.yml
on: pull_request
Compiler Tests
1m 48s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
PHAR Prefix Diff
0s
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests
/
Integration - Update baselines
0s
Annotations
12 errors and 1 warning
|
integration-tests / Integration - doctrine/dbal
Process completed with exit code 1.
|
|
integration-tests / Integration - doctrine/dbal:
src/Schema/Table.php#L235
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/App/Manifest/ModuleLoader.php#L150
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Api/Controller/UserController.php#L188
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Framework/Adapter/Redis/RedisConnectionsCompilerPass.php#L44
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Media/Subscriber/VideoCoverCleanupSubscriber.php#L120
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cookie/Service/CookieProvider.php#L260
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Content/Cookie/Service/CookieProvider.php#L217
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Customer/Validation/Constraint/CustomerVatIdentification.php#L60
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Customer/Validation/Constraint/CustomerPasswordMatches.php#L69
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Customer/Validation/Constraint/CustomerEmailUnique.php#L70
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / Integration - shopware/shopware:
src/Core/Checkout/Cart/LineItem/LineItemQuantitySplitter.php#L73
Coalesce operator ?? is unnecessary because the left side is always set and the right side is null.
|
|
integration-tests / PMMP Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pmmp/setup-php-action@3c38c259834f945351a662392836d90eb08abff0. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
baselines-doctrine-dbal-baseline.neon
|
1.23 KB |
sha256:93d393a8f31e7f0d980c15cad5942473e12ae19dd864eb9aeb9157a5398678fb
|
|
|
baselines-shopware-baseline.neon
|
25.1 KB |
sha256:a525da0f94a66baf3cbc1098c3ffd1e4704f943df7ce7ba8fdacb03e5d977614
|
|
|
phar-file
|
3.85 MB |
sha256:17235b1a4313c77f47065e7f863feff3b221bac00ba1b2571460e19ede2c64e0
|
|
|
phar-file-checksum
|
3.85 MB |
sha256:798a1baf50c7f9ebda5a3b7cc760448bbbcbb52e25c0515fa920fdae1262c679
|
|