Check PHP Syntax
Version updated for https://github.com/mlocati/check-php-syntax to version 1.3.0.
- This action is used across all versions by 40 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automatically verifies the syntax of PHP files to ensure compatibility with a specified PHP version, making it particularly useful for projects supporting older PHP versions. It helps identify syntax errors and incompatibilities in code changes, such as pull requests, during continuous integration workflows. Key capabilities include customizable file inclusion/exclusion, support for legacy PHP versions (as early as 5.3), and optional failure on warnings or duplicate class/function names.
Release notes
What’s Changed
- Switch from node20 to node24, switch to module system
Full Changelog: https://github.com/mlocati/check-php-syntax/compare/v1.2.4...1.3.0