Skip to content

Commit

Permalink
fix: wrong di.xml configuration - missing noNamespaceSchemaLocation a…
Browse files Browse the repository at this point in the history
…nd xmlns:xsi (#82)

This caused static tests for M2 fail and when project is using automated testing for the modules
it is inconvenient to exclude this module only. By this change, static tests will pass for this module.
  • Loading branch information
LoogleCZ authored Nov 1, 2023
1 parent d385964 commit 104fd5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/di.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<config>
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\AppInterface">
<plugin name="graycoreCorsLauncher" type="Graycore\Cors\Plugin\FastLauncher"/>
</type>
</config>
</config>

0 comments on commit 104fd5d

Please sign in to comment.