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

Add PHPStan analysis to PRs and mainline pushes #710

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Commits on Nov 3, 2022

  1. chore: add dev dependency on phpstan

    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    b1d41dc View commit details
    Browse the repository at this point in the history
  2. chore: add basic config for phpstan

    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    c3bd31b View commit details
    Browse the repository at this point in the history
  3. chore(VSCode): configure phpstan extension

    Add sanderronde.phpstan-vscode to the suggested extensions list, and
    provide config settings for the extension as well.
    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    a23f93b View commit details
    Browse the repository at this point in the history
  4. chore(VSCode): update spell check ignore words

    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    79a1dc6 View commit details
    Browse the repository at this point in the history
  5. chore(phpstan): add undef variable ignores

    Add a couple of ignore rules so that we are not spammed with mentions of
    $config across the project, or undefined variable errors for any theme
    file. We know that these variables are in fact defined, even if phpstan
    can't figure it out.
    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    c86a5e9 View commit details
    Browse the repository at this point in the history
  6. add PHPStan to CI jobs

    We're also renaming the CI workflows file from "Unit Tests" as we now do
    more than just run PHPUnit in it.
    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    01e4152 View commit details
    Browse the repository at this point in the history
  7. chore(VSCode): update extenson recommendations

    recca0120.vscode-phpunit isn't maintained anymore, switch to
    renandelmonico.vscode-php-test-explorer instead.
    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    e4b6bf8 View commit details
    Browse the repository at this point in the history
  8. Use GH format for PHPStan output

    Chris Charabaruk committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    9bc2c9c View commit details
    Browse the repository at this point in the history