Skip to content

PHP_CodeSniffer Check with Annotations

Actions
PHPCS checker with auto annotations out of the box
v1.2.0
Latest
Star (55)

PHP CodeSniffer GitHub Action

This action is deprecated in favor of much faster and better-supported solution, please update your Actions accordingly:

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
    tools: cs2pr, phpcs

- name: Run phpcs
  run: phpcs -q --report=checkstyle src | cs2pr

Details here.

How Annotations Works

F

PHP_CodeSniffer Check with Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

PHPCS checker with auto annotations out of the box
v1.2.0
Latest

PHP_CodeSniffer Check with Annotations is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.