src/Controller/DocumentApiController.php
Method postZipDocumentAction
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function postZipDocumentAction(Project $project, Campaign $campaign, Suite $suite, Request $request)
{
if ($this->isInvalidToken($request, $project->getToken())) {
return $this->getInvalidTokenView();
}
Line exceeds 120 characters; contains 318 characters Open
Open
* description="Example: </br><pre><code>curl https://www.ci-report.io/api/projects/project-one/campaigns/1/suites/1/doc/zip -H "X-CIR-TKN: 1f4ffb19e4b9-02278af07b7d-4e370a76f001" -X POST -F 'zipfile=@/path/to/myfile.zip'</code></pre><p>(@ symbol is mandatory at the beginning of the file path)</p>",
- Exclude checks
Line exceeds 120 characters; contains 222 characters Open
Open
* description="Example: </br><pre><code>curl https://www.ci-report.io/api/projects/project-one/campaigns/1/suites/1/doc/zip -H "X-CIR-TKN: 1f4ffb19e4b9-02278af07b7d-4e370a76f001" -X DELETE</code></pre>",
- Exclude checks