{"id":17968466,"url":"https://github.com/mikebronner/action-reviewdog-phpstan","last_synced_at":"2025-03-25T10:32:10.665Z","repository":{"id":46037509,"uuid":"303203654","full_name":"mikebronner/action-reviewdog-phpstan","owner":"mikebronner","description":"🐾 Run PHPStan with ReviewDog.","archived":false,"fork":false,"pushed_at":"2024-04-30T11:22:06.000Z","size":10,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T16:40:55.392Z","etag":null,"topics":["phpstan","reviewdog"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikebronner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-11T20:09:28.000Z","updated_at":"2023-09-30T20:55:53.000Z","dependencies_parsed_at":"2024-10-29T15:13:19.554Z","dependency_job_id":null,"html_url":"https://github.com/mikebronner/action-reviewdog-phpstan","commit_stats":{"total_commits":10,"total_committers":5,"mean_commits":2.0,"dds":0.4,"last_synced_commit":"4904dab170f4d1b3e754baf87991f6e6154cc77a"},"previous_names":["genealabs/action-reviewdog-phpstan"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikebronner%2Faction-reviewdog-phpstan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikebronner%2Faction-reviewdog-phpstan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikebronner%2Faction-reviewdog-phpstan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikebronner%2Faction-reviewdog-phpstan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikebronner","download_url":"https://codeload.github.com/mikebronner/action-reviewdog-phpstan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245444214,"owners_count":20616341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["phpstan","reviewdog"],"created_at":"2024-10-29T14:40:20.755Z","updated_at":"2025-03-25T10:32:10.354Z","avatar_url":"https://github.com/mikebronner.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action: Run PHPSTAN with ReviewDog\nThis action runs [PHP Static Analyzer](https://phpstan.org) with [ReviewDog](https://github.com/reviewdog/reviewdog).\n\n## Inputs\n### `github_token`\n**Required** Must be in form of `github_token: ${{ secrets.github_token }}`\n\n### `level`\nReport level for reviewdog [info,warning,error]. It's same as `-level` flag of reviewdog.\n**Default** `warning`\n\n### `phpstan_level`\nReport level for phpstan.\n**Default** `4`\n\n### `reporter`\nReporter of reviewdog command [github-pr-check,github-check,github-pr-review]. It's same as `-reporter` flag of reviewdog.\n**Default** `github-pr-check`\n\n### `target_directory`\n**Default** `src`\n\n### `fail_on_error`\nFail on error.\n**Default** `false`\n\n### `args`\nThis is a catch-all for any other commandline arguments you want to add to PHPStan.\n**Default** ''\n\n## Usage\n```yml\n\nphpstan-linter:\n    name: PHPStan\n    runs-on: ubuntu-latest\n    steps:\n        -   name: Check out code into the workspace\n            uses: actions/checkout@v2\n        -   name: Run php check code with reviewdog\n            uses: GeneaLabs/action-reviewdog-phpstan@1.1.2\n            with:\n                github_token: '${{ github.token }}'\n                level: 'error'\n                fail_on_error: 'false'\n                phpstan_level: 4\n                reporter: 'github-pr-review'\n                target_directory: 'src'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikebronner%2Faction-reviewdog-phpstan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikebronner%2Faction-reviewdog-phpstan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikebronner%2Faction-reviewdog-phpstan/lists"}