Skip to content
check

GitHub Action

Check PHP syntax errors

9.5.5 Latest version

Check PHP syntax errors

check

Check PHP syntax errors

Find php syntax errors

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Check PHP syntax errors

uses: overtrue/phplint@9.5.5

Learn more about this action in overtrue/phplint

Choose a version

PHPLint

`phplint` is a tool that can speed up linting of php files by running several lint processes at once.

Release Status Latest Stable Version Total Downloads License FOSSA Status

Version Status Requirements
9.x Active development PHP >= 8.2
9.5 Active support PHP >= 8.2
9.4 End Of Life PHP >= 8.1
9.3 End Of Life PHP >= 8.1
9.2 End Of Life PHP >= 8.1
9.1 End Of Life PHP >= 8.1
9.0 End Of Life PHP >= 8.0
6.x End Of Life PHP >= 8.2
5.x End Of Life PHP >= 8.1
4.x End Of Life PHP >= 8.0
3.x End Of Life PHP >= 7.4

NOTE if you have an older version of PHP lower than 8.0, we recommend to use the latest version 3.4.0

Version 9.1 is based on 9.0 code but did not support anymore PHP 8.0 that reached End-Of-Life.

Major version 9.0 is a full code rewrites that have the same source code (main branch) for all PHP 8.x versions (4.x, 5.x or 6.x), with a lot of improvement, full documentation, and full unit code tested.

Table of Contents

  1. Installation
    1. Requirements
    2. PHAR
    3. Docker
    4. Phive
    5. Composer
  2. Usage
  3. Configuration
  4. Upgrading
  5. Contributing
  6. Architecture

❤️ Sponsor me

Sponsor me

如果你喜欢我的项目并想支持它,点击这里 ❤️

Project supported by JetBrains

Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.

PHP 扩展包开发

想知道如何从零开始构建 PHP 扩展包?

请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》

License

MIT