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

Commit

Permalink
Merge pull request #1 from loren138/analysis-qMeolv
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
loren138 authored Aug 15, 2016
2 parents aa58482 + edd882a commit 9341ec6
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
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

0 comments on commit 9341ec6

Please sign in to comment.