{"action":"created","issue":{"url":"https://api.github.com/repos/rectorphp/rector/issues/208","repository_url":"https://api.github.com/repos/rectorphp/rector","labels_url":"https://api.github.com/repos/rectorphp/rector/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/rectorphp/rector/issues/208/comments","events_url":"https://api.github.com/repos/rectorphp/rector/issues/208/events","html_url":"https://github.com/rectorphp/rector/issues/208","id":283860890,"number":208,"title":"Can not get PHPUnit assert method refactored","user":{"login":"carusogabriel","id":16328050,"avatar_url":"https://avatars3.githubusercontent.com/u/16328050?v=4","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-12-21T12:01:16Z","updated_at":"2017-12-25T12:54:07Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"@TomasVotruba As suggested to you, I'm opening this issue to track this. I'll use [`Phalcon Framework`](https://github.com/phalcon/cphalcon) as an example. Steps to reproduce:\r\n### 1º: Fork\r\nI forked and checkout the `4.0.x` branch.\r\n\r\n### 2º Run Rector\r\nI installed `Rector` globally, with #207, and I ran:\r\n```\r\nrector process tests/ --level phpunit60\r\n```\r\nOnly the `tests/_ci/phpunit.php` file got changed:\r\n```diff\r\n-PHPUnit_TextUI_Command::main();\r\n+PHPUnit\\TextUI\\Command::main();\r\n```\r\nThere are many `file_exists`, `is_*` (not merged wet here #199), that didn't got affected. I tried to reproduce a PR I did a while ago there [`#13192`](https://github.com/phalcon/cphalcon/pull/13192)."},"comment":{"url":"https://api.github.com/repos/rectorphp/rector/issues/comments/353867748","html_url":"https://github.com/rectorphp/rector/issues/208#issuecomment-353867748","issue_url":"https://api.github.com/repos/rectorphp/rector/issues/208","id":353867748,"user":{"login":"carusogabriel","id":16328050,"avatar_url":"https://avatars3.githubusercontent.com/u/16328050?v=4","gravatar_id":"","url":"https://api.github.com/users/carusogabriel","html_url":"https://github.com/carusogabriel","followers_url":"https://api.github.com/users/carusogabriel/followers","following_url":"https://api.github.com/users/carusogabriel/following{/other_user}","gists_url":"https://api.github.com/users/carusogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/carusogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusogabriel/subscriptions","organizations_url":"https://api.github.com/users/carusogabriel/orgs","repos_url":"https://api.github.com/users/carusogabriel/repos","events_url":"https://api.github.com/users/carusogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/carusogabriel/received_events","type":"User","site_admin":false},"created_at":"2017-12-25T12:54:07Z","updated_at":"2017-12-25T12:54:07Z","author_association":"CONTRIBUTOR","body":"Update: I guess our problem is with subfolders. When I ran:\r\n```sh\r\nvendor/bin/rector process tests --level phpunit-specific-method\r\n```\r\nNothing has changed. But, if I specify a subfolder:\r\n```sh\r\nvendor/bin/rector process tests/Filesystem --level phpunit-specific-method\r\n```\r\nThe `tests/Filesystem/FilesystemTest.php` gets all `is_dir` changed :tada: \r\n\r\nI'm searching how we can fix it :nerd_face: "}}
{"actor":{"display_login":"carusogabriel"}}