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.

Поиск по сайту

Канал @aofeed Чат @aofeedchat

Контакты и сотрудничество:
Рекомендую наш хостинг beget.ru
Пишите на info@urn.su если Вы:
1. Хотите написать статью для нашего сайта или перевести статью на свой родной язык.
2. Хотите разместить на сайте рекламу, подходящую по тематике.
3. Реклама на моём сайте имеет максимальный уровень цензуры. Если Вы увидели рекламный блок недопустимый для просмотра детьми школьного возраста, вызывающий шок или вводящий в заблуждение - пожалуйста свяжитесь с нами по электронной почте
4. Нашли на сайте ошибку, неточности, баг и т.д. ... .......
5. Статьи можно расшарить в соцсетях, нажав на иконку сети: