Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Applied fixes from StyleCI #1

Merged
merged 1 commit into from
Aug 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Http/Controllers/CasController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ private function validLogin(
CASTicket $CASTicket,
$renew
) {

if ($request->has('service')) {
$ser = $request->input('service');
if (!$service->validate($ser)) {
Expand Down
1 change: 0 additions & 1 deletion src/Models/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

class Service
{

private $services;

public function __construct()
Expand Down
2 changes: 1 addition & 1 deletion tests/CASAuthenticationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Loren138\CASServer\Models\CASTicket;
use Carbon\Carbon;

class CasAuthenticationTest extends TestCase
class CASAuthenticationTest extends TestCase
{
use DatabaseMigrations;

Expand Down
3 changes: 2 additions & 1 deletion tests/CasControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,8 @@ public function testUnitGetLogin5()
$this->expectException(\Exception::class);
$this->expectExceptionMessageRegExp("/session/");
config(['casserver.disableNonSSL' => true]);
$request = new Request();$request->server->set('HTTPS', 'on');
$request = new Request();
$request->server->set('HTTPS', 'on');
$cas = new CasController($request);
$service = new Service();
$auth = \Mockery::mock('\Loren138\CASServer\Models\CASAuthentication');
Expand Down
1 change: 0 additions & 1 deletion tests/CleanupCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class CleanupCommandTest extends TestCase

public function testCommand()
{

$auth = new CASAuthentication();
$auth->username = 't';
$auth->lastUsed = Carbon::now();
Expand Down