Skip to content

Commit d25d771

Browse files
author
Dan Wallis
committed
Rename Magento2 coding standard to YouweMagento2
This is to avoid collision with upstream Magento2 coding standard. This is a breaking change and will require a new major version number when it is released.
1 parent 4dd8363 commit d25d771

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ root of the project.
1818
```xml
1919
<?xml version="1.0"?>
2020
<ruleset>
21-
<rule ref="./vendor/youwe/coding-standard-magento2/src/Magento2"/>
21+
<rule ref="./vendor/youwe/coding-standard-magento2/src/YouweMagento2"/>
2222
</ruleset>
2323
```
2424

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"autoload": {
1717
"psr-0": {
1818
"MediactMagento2": "src/MediactMagento2",
19-
"Magento2": "src/Magento2"
19+
"YouweMagento2": "src/YouweMagento2"
2020
}
2121
}
2222
}

src/MediactMagento2/phpmd.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
xsi:noNamespaceSchemaLocation="
1414
http://pmd.sf.net/ruleset_xml_schema.xsd">
1515
<description>Mediact coding standards for Magento2 is deprecated please use Magento2.</description>
16-
<rule ref="../Magento2/phpmd.xml" />
16+
<rule ref="../YouweMagento2/phpmd.xml" />
1717
</ruleset>

src/MediactMagento2/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
-->
88
<ruleset name="Mediact/Magento2">
99
<description>Mediact coding standards for Magento2 is deprecated please use Magento2.</description>
10-
<rule ref="../Magento2"/>
10+
<rule ref="../YouweMagento2"/>
1111
</ruleset>
File renamed without changes.

src/Magento2/ruleset.xml renamed to src/YouweMagento2/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* https://www.youweagency.com
66
*/
77
-->
8-
<ruleset name="Magento2">
8+
<ruleset name="YouweMagento2">
99
<description>Youwe coding standards for Magento2.</description>
1010
<arg name="colors" />
1111
<arg name="extensions" value="php/PHP,phtml/PHP,js/JS,css/CSS" />

0 commit comments

Comments
 (0)