Skip to content

FEAT: Move storefront to requrei to pass shopware static code analysis#56

Merged
TheBreaken merged 2 commits into
developfrom
feature/move-storefront-to-require
Jun 25, 2026
Merged

FEAT: Move storefront to requrei to pass shopware static code analysis#56
TheBreaken merged 2 commits into
developfrom
feature/move-storefront-to-require

Conversation

@TheBreaken

Copy link
Copy Markdown
Contributor

Shopware runs phpstan without dev and therefore the UrlEncodingTwigFilter class not exists. This class is needed here src/Decorator/UrlEncodingTwigFilterDecorator.php.

Error from the phpstan:

Warnings of the static code analysis:


 Error

 Internal error: Class
 Shopware\Storefront\Framework\Twig\Extension\UrlEncodingTwigFilter was
 not found while trying to analyse it - discovering symbols is probably
 not configured properly. while analysing file
 /tmp/plugincheck/NlxSwImgproxy/src/Decorator/UrlEncodingTwigFilterDecorat
 or.php

 Run PHPStan with -v option and post the stack trace to:
 https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml

[ERROR] Found 1 error

⚠️ Result is incomplete because of severe errors. ⚠️
Fix these errors first and then re-run PHPStan
to get all reported errors.

Shopware runs phpstan without dev and therefore the UrlEncodingTwigFilter class not exists. This class is needed here src/Decorator/UrlEncodingTwigFilterDecorator.php.

Error from the phpstan:

Warnings of the static code analysis:

---------------------------------------------------------------------------
     Error
 -- ---------------------------------------------------------------------------
     Internal error: Class
     Shopware\Storefront\Framework\Twig\Extension\UrlEncodingTwigFilter was
     not found while trying to analyse it - discovering symbols is probably
     not configured properly. while analysing file
     /tmp/plugincheck/NlxSwImgproxy/src/Decorator/UrlEncodingTwigFilterDecorat
     or.php

     Run PHPStan with -v option and post the stack trace to:
     https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml

 -- ---------------------------------------------------------------------------

 [ERROR] Found 1 error

⚠️  Result is incomplete because of severe errors. ⚠️
   Fix these errors first and then re-run PHPStan
   to get all reported errors.
@TheBreaken TheBreaken self-assigned this Jun 25, 2026
@TheBreaken TheBreaken merged commit 9fbd7b4 into develop Jun 25, 2026
9 checks passed
@TheBreaken TheBreaken deleted the feature/move-storefront-to-require branch June 25, 2026 13:43
@netlogix-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 2.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants