Skip to content

Feature/yii2 coding standards #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ a relative path to a custom phpcs ruleset.xml file.

### Supported Coding Standards

In addition to standards provided by [default](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage#printing-a-list-of-installed-coding-standards) with PHP_CodeSniffer, the [Drupal](https://github.com/klausi/coder) and [WordPress](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) coding standards are supported. Here is the full list:
In addition to standards provided by [default](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage#printing-a-list-of-installed-coding-standards) with PHP_CodeSniffer, the [Drupal](https://github.com/klausi/coder), [WordPress](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards), and [Yii2](https://github.com/yiisoft/yii2-coding-standards) coding standards are supported. Here is the full list:

* Drupal
* DrupalPractice
Expand All @@ -56,6 +56,7 @@ In addition to standards provided by [default](https://github.com/squizlabs/PHP_
* WordPress-Docs
* WordPress-Extra
* WordPress-VIP
* Yii2
* Zend

### Need help?
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"barracudanetworks/forkdaemon-php": "^1.0",
"danielstjules/stringy": "^2.3",
"drupal/coder": "^8.2",
"wp-coding-standards/wpcs": "^0.10.0"
"wp-coding-standards/wpcs": "^0.10.0",
"yiisoft/yii2-coding-standards": "^2.0"
}
}
72 changes: 70 additions & 2 deletions composer.lock

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