{"action":"opened","issue":{"url":"https://api.github.com/repos/wouterj/WouterJEloquentBundle/issues/86","repository_url":"https://api.github.com/repos/wouterj/WouterJEloquentBundle","labels_url":"https://api.github.com/repos/wouterj/WouterJEloquentBundle/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/wouterj/WouterJEloquentBundle/issues/86/comments","events_url":"https://api.github.com/repos/wouterj/WouterJEloquentBundle/issues/86/events","html_url":"https://github.com/wouterj/WouterJEloquentBundle/issues/86","id":314370550,"number":86,"title":"Seeder class names losses their first letter","user":{"login":"mariano-gomez","id":6199230,"avatar_url":"https://avatars1.githubusercontent.com/u/6199230?v=4","gravatar_id":"","url":"https://api.github.com/users/mariano-gomez","html_url":"https://github.com/mariano-gomez","followers_url":"https://api.github.com/users/mariano-gomez/followers","following_url":"https://api.github.com/users/mariano-gomez/following{/other_user}","gists_url":"https://api.github.com/users/mariano-gomez/gists{/gist_id}","starred_url":"https://api.github.com/users/mariano-gomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariano-gomez/subscriptions","organizations_url":"https://api.github.com/users/mariano-gomez/orgs","repos_url":"https://api.github.com/users/mariano-gomez/repos","events_url":"https://api.github.com/users/mariano-gomez/events{/privacy}","received_events_url":"https://api.github.com/users/mariano-gomez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-14T23:27:24Z","updated_at":"2018-04-14T23:27:24Z","closed_at":null,"author_association":"NONE","body":"Hi guys, i've found that executing:\r\n ./bin/console eloquent:make:seeder --target=migrations/seeds/SomeClass.php SomeClass, a file is created in migrations/seeds/ with the correct filename. But inside the file, a class is defined with the name \"omeClass\"\r\n\r\nThe problem is in class wouterj\\eloquent-bundle\\src\\Command\\SeederMakeCommand.php, on line 65 ($class = substr($name, $lastPos + 1);)\r\n\r\nthat +1 shouldn't exists"}}
{"actor":{"display_login":"mariano-gomez"}}