A Github Action that runs PhpStorm in a headless mode and runs the configured inspections.
MIT License
This action runs PHPStorm inspections on your codebase.
Parameter | Type | Default | Description |
---|---|---|---|
target |
string |
The directory to be inspected. | |
profile |
string |
The absolute path to the profile file. | |
output |
string |
The absolute path to spew outputs to | |
verbosity |
string |
v2 | The verbose level. v0 - silent, v1 - verbose, v2 - most verbose. |
scope |
string |
default | The inspection scope to be used. If none, all files are inspected. |
jobs:
inspect:
runs-on: ubuntu-latest
steps:
- name: Run IntelliJ
uses: mridang/action-phpstorm@master
with:
target: .
profile: ./.idea/inspectionProfiles/Project_Default.xml
output: ./output
verbosity: v2
scope: sources
The MIT License (MIT)
Copyright (c) 2020 Mridang Agarwalla