File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,19 @@ We have tests to make sure everything works as expected.
65
65
First execute ` composer install ` .
66
66
Then execute ` vendor/bin/phpunit tests ` .
67
67
68
+ ### Coding Syntax
69
+
70
+ We use [ squizlabs/php_codesniffer] ( https://packagist.org/packages/squizlabs/php_codesniffer ) to maintain the code standards.
71
+ Type the following to execute them:
72
+ ``` bash
73
+ # To view the code errors
74
+ vendor/bin/phpcs --standard=psr2 --extensions=php --warning-severity=0 --report=full " src"
75
+
76
+ # OR to fix the code errors
77
+ vendor/bin/phpcbf --standard=psr2 --extensions=php --warning-severity=0 --report=full " src"
78
+ ```
79
+ > [ Read documentation about the code standards] ( https://github.com/squizlabs/PHP_CodeSniffer/wiki )
80
+
68
81
## Documentation
69
82
70
83
The class is well documented inline. If you use a decent IDE you'll see that each method is documented with PHPDoc.
You can’t perform that action at this time.
0 commit comments