Skip to content

Commit

Permalink
Add vaimo/uk-phpcs-standards repo and package (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
heliocodacy authored Nov 5, 2024
1 parent 2115421 commit cf98a30
Showing 6 changed files with 71 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -24,3 +24,6 @@ phpstan.neon
/phpunit.xml.dist
.phpunit.result.cache
###< phpunit/phpunit ###


composer.phar
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -17,7 +17,8 @@
"squizlabs/php_codesniffer": "3.10.1",
"symfony/flex": "^2.4.5",
"vaimo/phpcs-rulesets": "dev-codacy",
"wp-coding-standards/wpcs": "^3.1.0"
"wp-coding-standards/wpcs": "^3.1.0",
"vaimo/uk-phpcs-standards": "dev-master"
},
"repositories": [
{
@@ -27,6 +28,10 @@
{
"type": "vcs",
"url": "https://bitbucket.org/vaimo/phpcs-rulesets.git"
},
{
"type": "vcs",
"url": "https://bitbucket.org/vaimo/uk-phpcs-standards.git"
}
],
"config": {
54 changes: 50 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/description/Magento2_Templates_ObjectManager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Templates: Object Manager
4 changes: 4 additions & 0 deletions docs/description/description.json
Original file line number Diff line number Diff line change
@@ -1368,6 +1368,10 @@
"patternId" : "Magento2_Strings_StringConcat",
"title" : "Strings: String Concat",
"parameters" : [ ]
}, {
"patternId" : "Magento2_Templates_ObjectManager",
"title" : "Templates: Object Manager",
"parameters" : [ ]
}, {
"patternId" : "Magento2_Templates_ThisInTemplate",
"title" : "Templates: This In Template",
7 changes: 7 additions & 0 deletions docs/patterns.json
Original file line number Diff line number Diff line change
@@ -2169,6 +2169,13 @@
"parameters" : [ ],
"languages" : [ ],
"enabled" : false
}, {
"patternId" : "Magento2_Templates_ObjectManager",
"level" : "Info",
"category" : "CodeStyle",
"parameters" : [ ],
"languages" : [ ],
"enabled" : false
}, {
"patternId" : "Magento2_Templates_ThisInTemplate",
"level" : "Info",

0 comments on commit cf98a30

Please sign in to comment.