# PhpStorm false positive warnings in services.xml

**URL:** <https://forum.shopware.com/t/phpstorm-false-positive-warnings-in-services-xml/102650>\
**Category:** Programming (EN)\
**Created:** [24. Januar 2024 um 08:56 UTC](https://forum.shopware.com/t/phpstorm-false-positive-warnings-in-services-xml/102650 "2024-01-24T08:56:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![openmindculture](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/openmindculture/32/8658_2.png) [@openmindculture](https://forum.shopware.com/u/openmindculture)\
**Post date:** [24. Januar 2024 um 08:56 UTC](https://forum.shopware.com/t/phpstorm-false-positive-warnings-in-services-xml/102650/1 "2024-01-24T08:56:57Z")

</div>

PhpStorm shows false positive warnings about the typical services.xml boilerplate code, although I have Symfony and Shopware support enabled, and I even added the xmlns and xsd to my Language Settings explicitly.

What is wrong?

services.xml

```auto
<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
    </services>
</container>

```

PhpSotrm „Problems“:

- Resource registered by this uri is not recognized (Settings | Languages & Frameworks | Schemas and DTDs)
- Cannot resolve symbol ‚[http://symfony.com/schema/dic/services/services-1.0.xsd](http://symfony.com/schema/dic/services/services-1.0.xsd)‘
- HTTP links are not secure

Screenshots:

 ![screenshot of file and warnings in PhpStorm](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/f/ffee8de569dac930f4c30d12c44257289fcb8b4a.png)

 ![screenshots of PhpStorm settings](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/4/9/49bd8137d71ac6000d13336c2fb07adf6273c2c5.png)
