Skip to content

Commit

Permalink
Better configuration for PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Sep 20, 2024
1 parent cbb13ff commit 08eccbc
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,17 @@
<file>lib/Varien/</file>
<file>public/api.php</file>
<file>public/index.php</file>
<!-- file contains include/include_once/... -->
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<!-- controllers -->
<exclude-pattern>*/api.php*</exclude-pattern>
<exclude-pattern>*/index.php*</exclude-pattern>
<exclude-pattern>*/app/Mage.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Adminhtml/controllers/Sales/Order/EditController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Adminhtml/controllers/System/Convert/GuiController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Bundle/controllers/Adminhtml/Bundle/Product/EditController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Bundle/controllers/Product/EditController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Bundle/controllers/SelectionController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php*</exclude-pattern>
<exclude-pattern>*/core/Mage/Downloadable/controllers/Product/EditController.php*</exclude-pattern>
<exclude-pattern>public/api.php</exclude-pattern>
<exclude-pattern>public/index.php</exclude-pattern>
<exclude-pattern>app/Mage.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Adminhtml/controllers/Sales/Order/EditController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Adminhtml/controllers/System/Convert/GuiController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Bundle/controllers/Adminhtml/Bundle/Product/EditController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Bundle/controllers/Product/EditController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Bundle/controllers/SelectionController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Downloadable/controllers/Adminhtml/Downloadable/Product/EditController.php</exclude-pattern>
<exclude-pattern>app/code/core/Mage/Downloadable/controllers/Product/EditController.php</exclude-pattern>
</rule>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength.TooLong"/>
Expand Down

0 comments on commit 08eccbc

Please sign in to comment.