for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TestMonitor\DevOps\Actions;
use TestMonitor\DevOps\Transforms\TransformsProjects;
trait ManagesProjects
{
use TransformsProjects;
/**
* Get a list of of projects.
*
* @throws \TestMonitor\DevOps\Exceptions\InvalidDataException
* @return \TestMonitor\DevOps\Resources\Project[]
*/
public function projects()
$response = $this->get('_apis/projects');
get()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
/** @scrutinizer ignore-call */
return $this->fromDevOpsProjects($response['value']);
}