{"id":15525091,"url":"https://github.com/staabm/rector-repro1","last_synced_at":"2025-06-25T22:06:33.761Z","repository":{"id":103435134,"uuid":"432118967","full_name":"staabm/rector-repro1","owner":"staabm","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-29T09:00:36.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T10:45:33.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/staabm.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":"2021-11-26T09:17:10.000Z","updated_at":"2022-01-14T16:27:15.000Z","dependencies_parsed_at":"2023-04-09T11:01:02.842Z","dependency_job_id":null,"html_url":"https://github.com/staabm/rector-repro1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/staabm/rector-repro1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frector-repro1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frector-repro1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frector-repro1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frector-repro1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staabm","download_url":"https://codeload.github.com/staabm/rector-repro1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staabm%2Frector-repro1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960542,"owners_count":23236574,"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-02T10:54:36.150Z","updated_at":"2025-06-25T22:06:33.752Z","avatar_url":"https://github.com/staabm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"this repo reproduces a case in which rector add php starting/ending tags in view files.\n\nSteps\n-----\n\n- `composer install`\n- `vendor/bin/rector process -n`\n\nexpected result\n- rector might change whitespaces / intentation.. AFAIK its technically hard to keep all whitespaces -\u003e thats fine\n- rector should not add `\u003c?php ?\u003e` at the beginning of the file\n- rector should not add a trailling `\u003c?php`\n\nactual result\n\n```diff\n+\u003c?php\n+\n+?\u003e\n\n        \u003cdiv\u003e\n-       \u003c?php echo check_box($auktion, 'skipnetzprovider', '1', \"class=checkbox onclick=\\\"getAngebotHTML($('angebot').value);\\\"\"); ?\u003e\n+       \u003c?php\n+echo check_box($auktion, 'skipnetzprovider', '1', \"class=checkbox onclick=\\\"getAngebotHTML($('angebot').value);\\\"\");\n+?\u003e\n        \u003cb class=\"caption\"\u003eProvider und Netz nicht anzeigen\u003c/b\u003e (Im gesamten Template)\n        \u003cbr\u003e\u003cbr\u003e\n-       \u003c/div\u003e\n+       \u003c/div\u003e\u003c?php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Frector-repro1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaabm%2Frector-repro1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaabm%2Frector-repro1/lists"}