{"id":15753739,"url":"https://github.com/mcaskill/phplint-bash","last_synced_at":"2025-03-31T07:42:30.256Z","repository":{"id":141079937,"uuid":"137081107","full_name":"mcaskill/phplint-bash","owner":"mcaskill","description":"A bash script to recursively lint PHP files with a nice output.","archived":false,"fork":false,"pushed_at":"2018-06-12T16:12:02.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T00:48:01.021Z","etag":null,"topics":[],"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/mcaskill.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-06-12T14:09:54.000Z","updated_at":"2023-07-25T14:17:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"88d2fae1-98bc-4cec-afe0-5cf86ea8c543","html_url":"https://github.com/mcaskill/phplint-bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaskill%2Fphplint-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaskill%2Fphplint-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaskill%2Fphplint-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaskill%2Fphplint-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcaskill","download_url":"https://codeload.github.com/mcaskill/phplint-bash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246436052,"owners_count":20776960,"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":[],"created_at":"2024-10-04T07:41:53.660Z","updated_at":"2025-03-31T07:42:30.232Z","avatar_url":"https://github.com/mcaskill.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPLint\n\nA bash wrapper around `php -l` to recursively perform syntax checks on PHP files with several processes at once.\n\n## Installation\n\n```console\n$ composer require mcaskill/phplint-bash\n```\n\n## Usage\n\n```\nUsage:\n  phplint [options] [\u003cpath\u003e]...\n\nArguments:\n  path            One or more paths to files or directories to search for PHP files.\n\nOptions:\n  -h, --help      Display this help message and exit.\n  -V, --version   Display version information and exit.\n  -p, --progress  Display progress of the run.\n  -v, --verbose   Increase verbosity of messages.\n  -q, --quiet     Do not output any messages or progress.\n\nExit Codes:\n  0: OK\n  1: Generic/unknown error code\n  2: PHP syntax error code\n```\n\nExample:\n\n```\n$ phplint src/Http/Controllers/ src/Providers/RouteServiceProvider.php\n```\n\n## License\n\nThis is licensed under MIT.\n\n---\n\n\u003e `-l, --syntax-check`\n\u003e \n\u003e Provides a convenient way to perform only a syntax check on the given PHP code. On success, the text _No syntax errors detected in \u003cfilename\u003e_ is written to standard output and the shell return code is `0`. On failure, the text _Errors parsing \u003cfilename\u003e_ in addition to the internal parser error message is written to standard output and the shell return code is set to `-1`.\n\u003e \n\u003e This option won't find fatal errors (like undefined functions). Use the `-f` to test for fatal errors too.\n\n— [PHP command line options](http://php.net/manual/en/features.commandline.options.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaskill%2Fphplint-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcaskill%2Fphplint-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaskill%2Fphplint-bash/lists"}