Download the PHP package matthiasnoback/code-sniffer-sniff-dsl without Composer
On this page you can find all versions of the php package matthiasnoback/code-sniffer-sniff-dsl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download matthiasnoback/code-sniffer-sniff-dsl
More information about matthiasnoback/code-sniffer-sniff-dsl
Files in matthiasnoback/code-sniffer-sniff-dsl
Download matthiasnoback/code-sniffer-sniff-dsl
More information about matthiasnoback/code-sniffer-sniff-dsl
Files in matthiasnoback/code-sniffer-sniff-dsl
Vendor matthiasnoback
Package code-sniffer-sniff-dsl
Short Description DSL for writing sniffs for PHP_CodeSniffer
License MIT
Homepage http://github.com/matthiasnoback/code-sniffer-sniff-dsl
Package code-sniffer-sniff-dsl
Short Description DSL for writing sniffs for PHP_CodeSniffer
License MIT
Homepage http://github.com/matthiasnoback/code-sniffer-sniff-dsl
Please rate this library. Is it a good library?
Informations about the package code-sniffer-sniff-dsl
DSL for writing PHP_CodeSniffer sniffs
Using this library you can easily write code sniffs for PHP_CodeSniffer. When you don't use this DSL you will find yourself writing lots of specific, never reusable code.
Example
Say you want to create a code sniff that triggers an error if a PHP file contains an (auto-generated) doc comment at the top (this is called a "file comment"). You should first create a "matcher" for this specific situation:
Next the actual sniff class is pretty simple:
All versions of code-sniffer-sniff-dsl with dependencies
PHP Build Version
Package Version
The package matthiasnoback/code-sniffer-sniff-dsl contains the following files
Loading the files please wait ....