mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-16 13:09:06 +01:00
43 lines
899 B
PHP
43 lines
899 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Alt Three Services Limited
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CachetHQ\Tests\Cachet;
|
|
|
|
use GrahamCampbell\Analyzer\AnalysisTrait;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* This is the analysis test class.
|
|
*
|
|
* @author Graham Campbell <graham@alt-three.com>
|
|
* @author James Brooks <james@alt-three.com>
|
|
*/
|
|
class AnalysisTest extends TestCase
|
|
{
|
|
use AnalysisTrait;
|
|
|
|
/**
|
|
* Get the code paths to analyze.
|
|
*
|
|
* @return string[]
|
|
*/
|
|
protected function getPaths()
|
|
{
|
|
return [
|
|
realpath(__DIR__.'/../app'),
|
|
realpath(__DIR__.'/../bootstrap'),
|
|
realpath(__DIR__.'/../config'),
|
|
realpath(__DIR__.'/../database'),
|
|
realpath(__DIR__),
|
|
];
|
|
}
|
|
}
|