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 --json output #19

Merged
merged 2 commits into from
May 20, 2024
Merged

Add --json output #19

merged 2 commits into from
May 20, 2024

Conversation

TomasVotruba
Copy link
Owner

@TomasVotruba TomasVotruba commented May 20, 2024

Useful for piping to other tools πŸ˜‰

vendor/bin/phpstan-bodyscan --json

↓

[
    {
        "level": 0,
        "error_count": 0
    },
    {
        "level": 1,
        "error_count": 5
    },
    {
        "level": 2,
        "error_count": 25
    }
]

@TomasVotruba TomasVotruba changed the title tv json output Add --json output May 20, 2024
@TomasVotruba TomasVotruba force-pushed the tv-json-output branch 2 times, most recently from 178eb5a to c10fcf1 Compare May 20, 2024 02:15
@TomasVotruba TomasVotruba enabled auto-merge (squash) May 20, 2024 02:17
@TomasVotruba TomasVotruba merged commit 37ad1e7 into main May 20, 2024
6 checks passed
@TomasVotruba TomasVotruba deleted the tv-json-output branch May 20, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant