devel:coding_style
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
devel:coding_style [2023-09-02 14:04] – fixme Klap-in | devel:coding_style [2023-11-13 21:13] (current) – [Checking for Coding Style Violations] andi | ||
---|---|---|---|
Line 73: | Line 73: | ||
===== Checking for Coding Style Violations ===== | ===== Checking for Coding Style Violations ===== | ||
- | FIXME | ||
Code styles can be checked with [[https:// | Code styles can be checked with [[https:// | ||
Line 79: | Line 78: | ||
=== Setup === | === Setup === | ||
- | To install PHP_CodeSniffer best download the phar files: | + | Install via [[composer]]: |
cd _test | cd _test | ||
- | | + | |
- | wget https:// | + | |
Line 92: | Line 90: | ||
# Check a single file | # Check a single file | ||
cd _test | cd _test | ||
- | | + | |
| | ||
# Check all files in a directory | # Check all files in a directory | ||
cd _test | cd _test | ||
- | | + | |
devel/coding_style.txt · Last modified: 2023-11-13 21:13 by andi