{"id":16674246,"url":"https://github.com/dmvdbrugge/fixer-prio-graph","last_synced_at":"2025-04-09T20:15:41.302Z","repository":{"id":189942678,"uuid":"154953340","full_name":"dmvdbrugge/fixer-prio-graph","owner":"dmvdbrugge","description":"Build a priority graph for PHP-CS-Fixer's fixers","archived":false,"fork":false,"pushed_at":"2019-03-26T13:59:16.000Z","size":6106,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:15:34.410Z","etag":null,"topics":["graph","graphviz","php-cs-fixer","priority","priority-graph"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dmvdbrugge.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}},"created_at":"2018-10-27T10:49:47.000Z","updated_at":"2019-03-29T10:28:18.000Z","dependencies_parsed_at":"2023-08-22T15:51:32.404Z","dependency_job_id":null,"html_url":"https://github.com/dmvdbrugge/fixer-prio-graph","commit_stats":null,"previous_names":["dmvdbrugge/fixer-prio-graph"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmvdbrugge%2Ffixer-prio-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmvdbrugge%2Ffixer-prio-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmvdbrugge%2Ffixer-prio-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmvdbrugge%2Ffixer-prio-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmvdbrugge","download_url":"https://codeload.github.com/dmvdbrugge/fixer-prio-graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"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":["graph","graphviz","php-cs-fixer","priority","priority-graph"],"created_at":"2024-10-12T12:29:56.726Z","updated_at":"2025-04-09T20:15:41.269Z","avatar_url":"https://github.com/dmvdbrugge.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fixer-prio-graph\nBuild a priority graph for [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)'s fixers.\n\n## The Graph\n(Click for full-size image)\n[![The Graph](graphs/51209a633d-thumb.png \"The Graph\")](graphs/51209a633d.png?raw=true)\n\n## Explanation\nPHP-CS-Fixer has rules, implemented as _fixers_. Those fixers (can) have a priority, to determine which fixer has to run\nbefore or after certain other fixers. Each defined priority-relation is shown here, as\n```\n( rule_alpha (priority) )---\u003e( rule_beta (priority) )---\u003e( rule_gamma (priority) )\n```\nmeaning that rule alpha has to run before rule beta which in turn has to run before rule gamma, which is enforced by the\nfact that alpha's priority is bigger than beta's which in turn is bigger than gamma's.\n\n## Usage\nFirst make sure to have the latest PHP-CS-Fixer master, and then run the script. As single command:\n```\ncomposer update \u0026\u0026 php fixer-prio-graph.php\n```\nThe script will open the newly created graph in the image viewer defined by your OS.\n\n## Installation\nJust `git clone` the repo.\n\nIt depends on [Graphviz](http://www.graphviz.org/) to generate the image, for installation see\n[their download page](https://graphviz.gitlab.io/download/).\n\n(Hint for mac: `brew install graphviz`)\n\n## License\nMIT License\n\nCopyright (c) 2018-2019 Dave van der Brugge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmvdbrugge%2Ffixer-prio-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmvdbrugge%2Ffixer-prio-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmvdbrugge%2Ffixer-prio-graph/lists"}