| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | #[Route('/oauth/mercadolivre/return', name: 'mercadolivre_connect', methods: ['GET'])] |
||
| 22 | public function returnAction(Request $request): Response |
||
| 23 | { |
||
| 24 | echo $request->get('code'); |
||
| 25 | echo $request->get('state'); |
||
| 26 | |||
| 27 | $html = '<html><body>'; |
||
| 28 | $html .= '<h1>Seu Conteúdo HTML</h1>'; |
||
| 29 | //$html .= '<script>window.close();</script>'; |
||
| 30 | $html .= '</body></html>'; |
||
| 31 | return new Response($html, Response::HTTP_OK, ['Content-Type' => 'text/html']); |
||
| 32 | } |
||
| 34 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths