{"id":28387602,"url":"https://github.com/rectorphp/custom-phpspec-to-phpunit","last_synced_at":"2025-06-26T20:31:24.731Z","repository":{"id":214666381,"uuid":"697755559","full_name":"rectorphp/custom-phpspec-to-phpunit","owner":"rectorphp","description":"From PHPSpec and Prophecy to PHPUnit - use at own risk","archived":false,"fork":false,"pushed_at":"2025-04-15T08:17:35.000Z","size":6678,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-31T00:52:01.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tomasvotruba.com/blog/2019/03/21/how-to-instantly-migrate-phpspec-to-phpunit","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/rectorphp.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,"zenodo":null}},"created_at":"2023-09-28T12:12:57.000Z","updated_at":"2025-04-15T08:16:10.000Z","dependencies_parsed_at":"2024-01-11T18:03:38.020Z","dependency_job_id":"e3ffe755-a002-4e35-81a5-8c469942dbb5","html_url":"https://github.com/rectorphp/custom-phpspec-to-phpunit","commit_stats":null,"previous_names":["rectorphp/custom-phpspec-to-phpunit"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/rectorphp/custom-phpspec-to-phpunit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectorphp%2Fcustom-phpspec-to-phpunit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectorphp%2Fcustom-phpspec-to-phpunit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectorphp%2Fcustom-phpspec-to-phpunit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectorphp%2Fcustom-phpspec-to-phpunit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rectorphp","download_url":"https://codeload.github.com/rectorphp/custom-phpspec-to-phpunit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rectorphp%2Fcustom-phpspec-to-phpunit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262139461,"owners_count":23265157,"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":"2025-05-30T18:38:06.942Z","updated_at":"2025-06-26T20:31:24.718Z","avatar_url":"https://github.com/rectorphp.png","language":"PHP","readme":"# Rector Rules for PhpSpec to PHPUnit migration\n\n* [Rules Overview](/docs/rector_rules_overview.md)\n\n## Install\n\n* runs on PHP 7.4+\n\n```bash\ncomposer require rector/custom-phpspec-to-phpunit --dev\n```\n\n## Usage\n\n1. Register set\n\n```php\n$rectorConfig-\u003esets([\n    \\Rector\\PhpSpecToPHPUnit\\Set\\MigrationSetList::PHPSPEC_TO_PHPUNIT,\n]);\n```\n\n2. Run on specific spec directory\n\n```bash\nvendor/bin/rector process spec\n```\n\n\u003cbr\u003e\n\nThis package handles 99 % of changes. Explore these resources to handle edge-cases manually:\n\n* https://johannespichler.com/writing-custom-phpspec-matchers/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frectorphp%2Fcustom-phpspec-to-phpunit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frectorphp%2Fcustom-phpspec-to-phpunit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frectorphp%2Fcustom-phpspec-to-phpunit/lists"}