Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: show deprecations when linting & lint against next PHP version #225

Merged
merged 2 commits into from
Aug 26, 2024

Commits on Aug 22, 2024

  1. GH Actions: show deprecations when linting

    While rare, there are some deprecations which PHP can show when a file is being linted.
    By default these are ignored by PHP-Parallel-Lint.
    
    Apparently though, there is an option to show them (wasn't documented until recently), so let's turn that option on.
    jrfnl committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    028e22c View commit details
    Browse the repository at this point in the history
  2. GH Actions: also lint against _next_ PHP version

    The PHP lint job currently checks all PHP files for parse/compile errors against a limited set of PHP versions, including the high/low versions.
    
    It did not run the linter against the _next_ (upcoming) PHP version yet.
    
    This has now been added with the `'nightly'` alias, which means that the version will automatically roll through to the next PHP version when a new PHP branchs gets cut, without us needing to manually maintain this.
    
    Also note that the build against `nightly` is allowed to fail.
    jrfnl committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    14f8798 View commit details
    Browse the repository at this point in the history