TestCase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createApplication() 0 8 1
1
<?php
2
3
class TestCase extends Illuminate\Foundation\Testing\TestCase {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
4
5
	/**
6
	 * Creates the application.
7
	 *
8
	 * @return \Symfony\Component\HttpKernel\HttpKernelInterface
9
	 */
10
	public function createApplication()
11
	{
12
		$unitTesting = true;
13
14
		$testEnvironment = 'testing';
15
16
		return require __DIR__.'/../../bootstrap/start.php';
17
	}
18
19
}
20