{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15798","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15798/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15798/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15798/events","html_url":"https://github.com/symfony/symfony/pull/15798","id":106435744,"number":15798,"title":"[2.8][Form] Fix php warning on invalid FormFactory::createBuilder() argument","user":{"login":"xelaris","id":2466932,"avatar_url":"https://avatars.githubusercontent.com/u/2466932?v=3","gravatar_id":"","url":"https://api.github.com/users/xelaris","html_url":"https://github.com/xelaris","followers_url":"https://api.github.com/users/xelaris/followers","following_url":"https://api.github.com/users/xelaris/following{/other_user}","gists_url":"https://api.github.com/users/xelaris/gists{/gist_id}","starred_url":"https://api.github.com/users/xelaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xelaris/subscriptions","organizations_url":"https://api.github.com/users/xelaris/orgs","repos_url":"https://api.github.com/users/xelaris/repos","events_url":"https://api.github.com/users/xelaris/events{/privacy}","received_events_url":"https://api.github.com/users/xelaris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Work","name":"Status: Needs Work","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-14T21:54:33Z","updated_at":"2015-09-22T16:05:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/15798","html_url":"https://github.com/symfony/symfony/pull/15798","diff_url":"https://github.com/symfony/symfony/pull/15798.diff","patch_url":"https://github.com/symfony/symfony/pull/15798.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nWithout this check it comes to a `strpos() expects parameter 1 to be string, object given` warning, when passing an invalid argument to `FormFactory::createBuilder()` (e.g. when calling `$this->createForm(new AnEntity());` instead of `$this->createForm(new AnEntityType());` in a controller)."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/142334544","html_url":"https://github.com/symfony/symfony/pull/15798#issuecomment-142334544","issue_url":"https://api.github.com/repos/symfony/symfony/issues/15798","id":142334544,"user":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T16:05:59Z","updated_at":"2015-09-22T16:05:59Z","body":"Thank you @xelaris."}}