Skip to content

Commit cf98a30

Browse files
authored
Add vaimo/uk-phpcs-standards repo and package (#300)
1 parent 2115421 commit cf98a30

File tree

6 files changed

+71
-5
lines changed

6 files changed

+71
-5
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ phpstan.neon
2424
/phpunit.xml.dist
2525
.phpunit.result.cache
2626
###< phpunit/phpunit ###
27+
28+
29+
composer.phar

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"squizlabs/php_codesniffer": "3.10.1",
1818
"symfony/flex": "^2.4.5",
1919
"vaimo/phpcs-rulesets": "dev-codacy",
20-
"wp-coding-standards/wpcs": "^3.1.0"
20+
"wp-coding-standards/wpcs": "^3.1.0",
21+
"vaimo/uk-phpcs-standards": "dev-master"
2122
},
2223
"repositories": [
2324
{
@@ -27,6 +28,10 @@
2728
{
2829
"type": "vcs",
2930
"url": "https://bitbucket.org/vaimo/phpcs-rulesets.git"
31+
},
32+
{
33+
"type": "vcs",
34+
"url": "https://bitbucket.org/vaimo/uk-phpcs-standards.git"
3035
}
3136
],
3237
"config": {

composer.lock

Lines changed: 50 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Templates: Object Manager

docs/description/description.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,10 @@
13681368
"patternId" : "Magento2_Strings_StringConcat",
13691369
"title" : "Strings: String Concat",
13701370
"parameters" : [ ]
1371+
}, {
1372+
"patternId" : "Magento2_Templates_ObjectManager",
1373+
"title" : "Templates: Object Manager",
1374+
"parameters" : [ ]
13711375
}, {
13721376
"patternId" : "Magento2_Templates_ThisInTemplate",
13731377
"title" : "Templates: This In Template",

docs/patterns.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2169,6 +2169,13 @@
21692169
"parameters" : [ ],
21702170
"languages" : [ ],
21712171
"enabled" : false
2172+
}, {
2173+
"patternId" : "Magento2_Templates_ObjectManager",
2174+
"level" : "Info",
2175+
"category" : "CodeStyle",
2176+
"parameters" : [ ],
2177+
"languages" : [ ],
2178+
"enabled" : false
21722179
}, {
21732180
"patternId" : "Magento2_Templates_ThisInTemplate",
21742181
"level" : "Info",

0 commit comments

Comments
 (0)