{"id":17797386,"url":"https://github.com/steevanb/docker-php-code-fixer","last_synced_at":"2025-07-28T01:38:31.108Z","repository":{"id":70344006,"uuid":"203968129","full_name":"steevanb/docker-php-code-fixer","owner":"steevanb","description":"Docker image for wapmorgan/PhpCodeFixer","archived":false,"fork":false,"pushed_at":"2020-03-20T15:11:11.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T03:23:23.409Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steevanb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-23T09:30:53.000Z","updated_at":"2020-03-20T15:10:54.000Z","dependencies_parsed_at":"2023-07-27T22:16:15.621Z","dependency_job_id":null,"html_url":"https://github.com/steevanb/docker-php-code-fixer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/steevanb/docker-php-code-fixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steevanb%2Fdocker-php-code-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steevanb%2Fdocker-php-code-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steevanb%2Fdocker-php-code-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steevanb%2Fdocker-php-code-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steevanb","download_url":"https://codeload.github.com/steevanb/docker-php-code-fixer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steevanb%2Fdocker-php-code-fixer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451232,"owners_count":24089298,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-27T11:55:36.738Z","updated_at":"2025-07-28T01:38:31.077Z","avatar_url":"https://github.com/steevanb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![version](https://img.shields.io/badge/version-2.0.23-green.svg)](https://github.com/steevanb/docker-php-code-fixer/tree/2.0.23)\n[![php](https://img.shields.io/badge/docker-blue.svg)](https://php.net)\n![Lines](https://img.shields.io/badge/code%20lines-132-green.svg)\n\n## docker-php-code-fixer\n\nDocker container for [wapmorgan/PhpCodeFixer](https://github.com/wapmorgan/PhpCodeFixer).\n\nVersion of this repository,\nand docker images on [dockerhub](https://cloud.docker.com/u/steevanb/repository/docker/steevanb/php-code-fixer),\nfollow [wapmorgan/PhpCodeFixer](https://github.com/wapmorgan/PhpCodeFixer) versions.\n\nIf some fixes has to be made on this repository, we will add a 4th level in version, like 2.0.23`.1`.\n\n## Installation\n\nYou don't need to install this repository, use the Docker image directly.\n\n## Usage\n\n### Locally with Docker\n\nCreate `bin/phpcf`: \n\n```bash\n#!/usr/bin/env sh\n\nset -e\n\nif [ $(which docker || false) ]; then\n    readonly PROJECT_DIRECTORY=\"$(realpath $(dirname $(realpath $0))/..)\"\n    docker \\\n        run \\\n        --rm \\\n        -it \\\n        -v ${PROJECT_DIRECTORY}:/app:ro \\\n        -w /app \\\n        steevanb/php-code-fixer:2.0.23 \\\n        bin/phpcf\nelse\n    phpcf --exclude=/vendor/ .\nfi\n```\n\n### Integration with CircleCI\n\nAdd phpcf in `.circleci/config.yml`:\n\n```yaml\nversion: '2.1'\n\njobs:\n    phpcf:\n        docker:\n            - image: steevanb/php-code-fixer:2.0.23\n        working_directory: /app\n        steps:\n            - checkout\n            - run:\n                  name: phpcf\n                  command: bin/phpcf\n\nworkflows:\n    version: '2.1'\n    Code quality:\n        jobs:\n            - phpcf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteevanb%2Fdocker-php-code-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteevanb%2Fdocker-php-code-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteevanb%2Fdocker-php-code-fixer/lists"}