# Warnhinweis bei der "Statische Code Analyse"

**URL:** <https://forum.shopware.com/t/warnhinweis-bei-der-statische-code-analyse/87867>\
**Category:** Programmierung\
**Created:** [25. Mai 2021 um 10:35 UTC](https://forum.shopware.com/t/warnhinweis-bei-der-statische-code-analyse/87867 "2021-05-25T10:35:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![webarbeit](https://avatars.discourse-cdn.com/v4/letter/w/b487fb/32.png) [@webarbeit](https://forum.shopware.com/u/webarbeit)\
**Post date:** [25. Mai 2021 um 10:35 UTC](https://forum.shopware.com/t/warnhinweis-bei-der-statische-code-analyse/87867/1 "2021-05-25T10:35:22Z")

</div>

Hallo zusammen,

bei der Überprüfung des Plugins kommt folgende Warnung.

Leider bin ich gerade überfragt. Was gilt es hier zu korrigieren?

Vielen Dank vorab und Grüße,  
Frank

# Error Output:

No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.  
Loading composer repositories with package information  
Updating dependencies  
Your requirements could not be resolved to an installable set of packages.

Problem 1  
- Root composer.json requires shopware/platform ~6.4.1.0, it is satisfiable by shopware/platform[6.4.1.0-dev] from composer repo ([https://repo.packagist.org](https://repo.packagist.org)) but shopware/platform[dev-trunk, 6.4.x-dev (alias of dev-trunk)] from path repo (platform) has higher repository priority. The packages with higher priority do not match your constraint and are therefore not installable. See [https://getcomposer.org/repoprio](https://getcomposer.org/repoprio) for details and assistance.

Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [25. Mai 2021 um 13:46 UTC](https://forum.shopware.com/t/warnhinweis-bei-der-statische-code-analyse/87867/2 "2021-05-25T13:46:11Z")

</div>

Da haben wir wohl das selbe Problem:

> [@Fehler composer.json requires shopware/platform](https://forum.shopware.com/t/fehler-composer-json-requires-shopware-platform/87801):
>
> Ich scheine hier mit der composer.json auf Kriegsfuß zu stehen. Beim hochladen in den SW Store kommt eine Warnung: Problem 1 - Root composer.json requires shopware/platform ~6.4.1.0, found shopware/platform[dev-trunk, 6.4.x-dev (alias of dev-trunk)] but it does not match the constraint. In meinem Plugin: "require": { "shopware/core": "^6.4" }, Laut Doku: [https://docs.shopware.com/en/account-en/manufacturer-area/quality-guidelines-for-extensions-in-the-community-store#class-shopware-stor…](https://docs.shopware.com/en/account-en/manufacturer-area/quality-guidelines-for-extensions-in-the-community-store#class-shopware-storefront-not-found)

Schade, dass bisher niemand von Shopware helfen konnte.

---

<div class="post-metadata">

**Author:** ![daMardl](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@daMardl](https://forum.shopware.com/u/daMardl)\
**Post date:** [31. August 2021 um 19:39 UTC](https://forum.shopware.com/t/warnhinweis-bei-der-statische-code-analyse/87867/3 "2021-08-31T19:39:53Z")

</div>

Stolpere auch gerade darüber. Aber dann wird es schon nicht so wichtig sein 🙂  
Mein Update wurde trotzdem freigegeben im Store
