Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mridang/action-phpstorm

A Github Action that runs PhpStorm in a headless mode and runs the configured inspections.
https://github.com/mridang/action-phpstorm

actions ci github github-actions ide jetbrains phpstorm

Last synced: 21 days ago
JSON representation

A Github Action that runs PhpStorm in a headless mode and runs the configured inspections.

Awesome Lists containing this project

README

        

# PHPStorm Inspector

This action runs PHPStorm inspections on your codebase.

## Parameters
| 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. |

## Usage
```yaml
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
```

## License

The MIT License (MIT)

Copyright (c) 2020 Mridang Agarwalla