test php-cs-fixer jenkins #1

Closed
rmasson wants to merge 1 commits from test-jenkins into develop
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ class MainController extends AbstractController
'Content-Type: application/json', 'Content-Type: application/json',
], ],
]); ]);
if (200 !== $response->getStatusCode()) { if (200 !== $response->getStatusCode())
{
$this->session->clear(); $this->session->clear();
throw new BadRequestException('pa de code 200'); throw new BadRequestException('pa de code 200');
} }