What lives here

This section documents every linter that checks the PHP code of this site, in the order a change usually meets them:

  1. php -l and lint-php.sh — syntax gate, runs first and blocks everything else on failure.
  2. PHPCS: PHP CodeSniffer — code style reporting.
  3. phpcs.xml — ruleset file: excludes, properties, per-line opt-outs.
  4. PHPCBF — auto-fixing with proof of zero change.
  5. wrap-long-lines.sh — our own line-length wrapper with a php -l safety gate.
  6. PHPStan and Psalm — static analysis that finds real bugs, not style.

Every article follows the same shape: how to install the tool, a minimal example, a more complex real-world invocation, and the exact fixes this tool produced while cleaning up the src/ tree.

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: