Skip to content

PHP Syntax Checker (Lint)

Actions
php syntax control (php -l)
8.3
Latest
Star (10)

PHP Syntax checker (lint) action

This action controls the syntax of php files in a folder, excluding the vendor folder.

Inputs

dir

The folder to control. Default ".".

Example usage

- name: PHP Syntax Checker (Lint)
  uses: StephaneBour/actions-php-lint@8.2
  with:
    dir: './src'

Change PHP Version

You can use :

StephaneBour/actions-php-lint@8.2
StephaneBour/actions-php-lint@8.1
StephaneBour/actions-php-lint@8.0
StephaneBour/actions-php-lint@7.4
StephaneBour/actions-php-lint@7.3
StephaneBour/actions-php-lint@7.2
StephaneBour/actions-php-lint@7.1
StephaneBour/actions-php-lint@7.0
StephaneBour/actions-php-lint@5.6

On success

On success

On failure

On success

PHP Syntax Checker (Lint) 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

php syntax control (php -l)
8.3
Latest

PHP Syntax Checker (Lint) 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.