Massive PHPCS linting

This commit is contained in:
Dane Everitt 2017-08-21 22:10:48 -05:00
parent 78c8b8d8ea
commit 3ee5803416
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
346 changed files with 834 additions and 1424 deletions

View file

@ -72,7 +72,10 @@ class KeyServiceTest extends TestCase
$this->repository = m::mock(ApiKeyRepositoryInterface::class);
$this->service = new KeyService(
$this->repository, $this->database, $this->encrypter, $this->permissions
$this->repository,
$this->database,
$this->encrypter,
$this->permissions
);
}
@ -108,7 +111,9 @@ class KeyServiceTest extends TestCase
$this->database->shouldReceive('commit')->withNoArgs()->once()->andReturnNull();
$response = $this->service->create(
['test-data' => 'test'], ['invalid-node', 'server-list'], ['invalid-node', 'server-create']
['test-data' => 'test'],
['invalid-node', 'server-list'],
['invalid-node', 'server-create']
);
$this->assertNotEmpty($response);