File tree 1 file changed +52
-0
lines changed 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of Laravel Hashids.
5
+ *
6
+ * (c) Vincent Klaiber <[email protected] >
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ declare (strict_types=1 );
13
+
14
+ namespace Vinkla \Tests \Hashids ;
15
+
16
+ use GrahamCampbell \Analyzer \AnalysisTrait ;
17
+ use Laravel \Lumen \Application ;
18
+ use PHPUnit \Framework \TestCase ;
19
+
20
+ /**
21
+ * This is the analysis test class.
22
+ *
23
+ * @author Vincent Klaiber <[email protected] >
24
+ */
25
+ class AnalysisTest extends TestCase
26
+ {
27
+ use AnalysisTrait;
28
+
29
+ /**
30
+ * Get the code paths to analyze.
31
+ *
32
+ * @return string[]
33
+ */
34
+ protected function getPaths ()
35
+ {
36
+ return [
37
+ realpath (__DIR__ .'/../config ' ),
38
+ realpath (__DIR__ .'/../src ' ),
39
+ realpath (__DIR__ ),
40
+ ];
41
+ }
42
+
43
+ /**
44
+ * Get the classes to ignore not existing.
45
+ *
46
+ * @return string[]
47
+ */
48
+ protected function getIgnored ()
49
+ {
50
+ return [Application::class];
51
+ }
52
+ }
You can’t perform that action at this time.
0 commit comments