{"action":"created","issue":{"url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/31","labels_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/31/comments","events_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/31/events","html_url":"https://github.com/AntoineAugusti/diplo/issues/31","id":74670764,"number":31,"title":"Problème de changement de phase","user":{"login":"NathanMalo","id":9069597,"avatar_url":"https://avatars.githubusercontent.com/u/9069597?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanMalo","html_url":"https://github.com/NathanMalo","followers_url":"https://api.github.com/users/NathanMalo/followers","following_url":"https://api.github.com/users/NathanMalo/following{/other_user}","gists_url":"https://api.github.com/users/NathanMalo/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanMalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanMalo/subscriptions","organizations_url":"https://api.github.com/users/NathanMalo/orgs","repos_url":"https://api.github.com/users/NathanMalo/repos","events_url":"https://api.github.com/users/NathanMalo/events{/privacy}","received_events_url":"https://api.github.com/users/NathanMalo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-05-09T13:15:23Z","updated_at":"2015-05-09T20:26:43Z","closed_at":null,"body":"On vient de rejoindre une partie et en phase de combat, le chrono est descendu à 0 puis remonté à 59 pour redescendre à 0 etc , sans changement de phase ni d'application des ordres données.\r\n\r\nUne idée ?"},"comment":{"url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/comments/100541256","html_url":"https://github.com/AntoineAugusti/diplo/issues/31#issuecomment-100541256","issue_url":"https://api.github.com/repos/AntoineAugusti/diplo/issues/31","id":100541256,"user":{"login":"NathanMalo","id":9069597,"avatar_url":"https://avatars.githubusercontent.com/u/9069597?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanMalo","html_url":"https://github.com/NathanMalo","followers_url":"https://api.github.com/users/NathanMalo/followers","following_url":"https://api.github.com/users/NathanMalo/following{/other_user}","gists_url":"https://api.github.com/users/NathanMalo/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanMalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanMalo/subscriptions","organizations_url":"https://api.github.com/users/NathanMalo/orgs","repos_url":"https://api.github.com/users/NathanMalo/repos","events_url":"https://api.github.com/users/NathanMalo/events{/privacy}","received_events_url":"https://api.github.com/users/NathanMalo/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T20:26:42Z","updated_at":"2015-05-09T20:26:42Z","body":"Mes chéris d'amour ? <3 ping @AntoineAugusti @jeanclaudeb \r\n\r\n[2015-05-09 20:25:44] local.INFO: Changement de phase - negociation tour 1 date 20:25:44 2015-05-09  \r\n[2015-05-09 20:25:44] local.ERROR: exception 'ErrorException' with message 'Argument 2 passed to Diplo\\Armees\\EloquentArmeeRepository::deplacerArmee() must implement interface Diplo\\Cartes\\CaseInterface, integer given, called in /var/www/api/app/Ordres/AttaquerExecuteur.php on line 38 and defined' in /var/www/api/app/Armees/EloquentArmeeRepository.php:30\r\nStack trace:\r\n#0 /var/www/api/app/Armees/EloquentArmeeRepository.php(30): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(4096, 'Argument 2 pass...', '/var/www/api/ap...', 30, Array)\r\n#1 /var/www/api/app/Ordres/AttaquerExecuteur.php(38): Diplo\\Armees\\EloquentArmeeRepository->deplacerArmee(Object(Diplo\\Armees\\Armee), 71)\r\n#2 /var/www/api/app/Handlers/Events/ExecuterOrdres.php(98): Diplo\\Ordres\\AttaquerExecuteur->executer(Object(Diplo\\Ordres\\Attaquer), Array)\r\n#3 /var/www/api/app/Handlers/Events/ExecuterOrdres.php(68): Diplo\\Handlers\\Events\\ExecuterOrdres->executer(Object(Diplo\\Ordres\\Attaquer), Array)\r\n#4 [internal function]: Diplo\\Handlers\\Events\\ExecuterOrdres->handle(Object(Diplo\\Events\\PartieChangeDeTour))\r\n#5 /var/www/api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(327): call_user_func_array(Array, Array)\r\n#6 [internal function]: Illuminate\\Events\\Dispatcher->Illuminate\\Events\\{closure}(Object(Diplo\\Events\\PartieChangeDeTour))\r\n#7 /var/www/api/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(218): call_user_func_array(Object(Closure), Array)\r\n#8 /var/www/api/app/Commands/PartiePhaseSwitcherHandler.php(77): Illuminate\\Events\\Dispatcher->fire(Object(Diplo\\Events\\PartieChangeDeTour))\r\n#9 [internal function]: Diplo\\Commands\\PartiePhaseSwitcherHandler->handle(Object(Illuminate\\Queue\\QueueManager), Object(Illuminate\\Log\\Writer), Object(Illuminate\\Events\\Dispatcher))\r\n#10 /var/www/api/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)\r\n#11 /var/www/api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(202): Illuminate\\Container\\Container->call(Array)\r\n#12 [internal function]: Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}(Object(Diplo\\Commands\\PartiePhaseSwitcherHandler))\r\n#13 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Diplo\\Commands\\PartiePhaseSwitcherHandler))\r\n#14 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Diplo\\Commands\\PartiePhaseSwitcherHandler))\r\n#15 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Diplo\\Commands\\PartiePhaseSwitcherHandler))\r\n#16 /var/www/api/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(215): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#17 /var/www/api/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(42): Illuminate\\Bus\\Dispatcher->dispatchNow(Object(Diplo\\Commands\\PartiePhaseSwitcherHandler), Object(Closure))\r\n#18 /var/www/api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(126): Illuminate\\Queue\\CallQueuedHandler->call(Object(Illuminate\\Queue\\Jobs\\IronJob), Array)\r\n#19 /var/www/api/vendor/laravel/framework/src/Illuminate/Queue/Jobs/IronJob.php(57): Illuminate\\Queue\\Jobs\\Job->resolveAndFire(Array)\r\n#20 /var/www/api/vendor/laravel/framework/src/Illuminate/Queue/IronQueue.php(159): Illuminate\\Queue\\Jobs\\IronJob->fire()\r\n#21 [internal function]: Illuminate\\Queue\\IronQueue->marshal()\r\n#22 /var/www/api/vendor/laravel/framework/src/Illuminate/Queue/QueueManager.php(223): call_user_func_array(Array, Array)\r\n#23 /var/www/api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(207): Illuminate\\Queue\\QueueManager->__call('marshal', Array)\r\n#24 /var/www/api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(207): Illuminate\\Queue\\QueueManager->marshal()\r\n#25 /var/www/api/app/Http/routes.php(25): Illuminate\\Support\\Facades\\Facade::__callStatic('marshal', Array)\r\n#26 /var/www/api/app/Http/routes.php(25): Illuminate\\Support\\Facades\\Queue::marshal()\r\n#27 [internal function]: Diplo\\Providers\\RouteServiceProvider->{closure}()\r\n#28 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(157): call_user_func_array(Object(Closure), Array)\r\n#29 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Route.php(129): Illuminate\\Routing\\Route->runCallable(Object(Illuminate\\Http\\Request))\r\n#30 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(701): Illuminate\\Routing\\Route->run(Object(Illuminate\\Http\\Request))\r\n#31 [internal function]: Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))\r\n#32 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#33 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#34 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#35 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#36 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(670): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))\r\n#37 /var/www/api/vendor/laravel/framework/src/Illuminate/Routing/Router.php(628): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))\r\n#38 /var/www/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(214): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))\r\n#39 [internal function]: Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))\r\n#40 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#41 /var/www/api/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(55): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#42 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#43 /var/www/api/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(61): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#44 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#45 /var/www/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#46 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#47 /var/www/api/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#48 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#49 /var/www/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(42): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#50 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(125): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))\r\n#51 [internal function]: Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))\r\n#52 /var/www/api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(101): call_user_func(Object(Closure), Object(Illuminate\\Http\\Request))\r\n#53 /var/www/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))\r\n#54 /var/www/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(84): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))\r\n#55 /var/www/api/public/index.php(53): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))\r\n#56 {main}  \r\n"}}