Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Graham Campbell <[email protected]>
  • Loading branch information
GrahamCampbell committed Dec 13, 2014
1 parent bfbe29d commit 8909013
Show file tree
Hide file tree
Showing 53 changed files with 47 additions and 55 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/CacheServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ public function provides()
];
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Scheduling/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public function sendOutputTo($location)
*
* @param array|dynamic $addresses
* @return $this
*
*
* @throws \LogicException
*/
public function emailOutputTo($addresses)
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Contracts/Debug/ExceptionHandler.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Illuminate\Contracts\Debug;

use Exception;
use Illuminate\Contracts\Console\Application as ConsoleApplication;

interface ExceptionHandler {

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Cookie/CookieServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public function register()
});
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Database/DatabaseManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,4 @@ public function __call($method, $parameters)
return call_user_func_array(array($this->connection(), $method), $parameters);
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Database/SeedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public function provides()
return array('seeder', 'command.seed');
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Encryption/EncryptionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public function register()
});
}

}
}
1 change: 0 additions & 1 deletion src/Illuminate/Foundation/Bootstrap/ConfigureLogging.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Illuminate\Log\Writer;
use Monolog\Logger as Monolog;
use Monolog\Handler\SyslogHandler;
use Illuminate\Contracts\Foundation\Application;

class ConfigureLogging {
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php namespace Illuminate\Foundation\Bootstrap;

use ErrorException;
use Symfony\Component\Debug\ErrorHandler;
use Symfony\Component\Debug\ExceptionHandler;
use Illuminate\Contracts\Foundation\Application;
use Symfony\Component\Console\Output\ConsoleOutput;
Expand Down
2 changes: 0 additions & 2 deletions src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php namespace Illuminate\Foundation\Bootstrap;

use Illuminate\Config\FileLoader;
use Illuminate\Config\Repository;
use Symfony\Component\Finder\Finder;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Contracts\Foundation\Application;

class LoadConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/AppNameCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected function setBootstrapNamespaces()
$this->replaceIn(
$this->getBootstrapPath(), $this->currentRoot.'\\Console', $this->argument('name').'\\Console'
);

$this->replaceIn(
$this->getBootstrapPath(), $this->currentRoot.'\\Exceptions', $this->argument('name').'\\Exceptions'
);
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Hashing/HashServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ public function provides()
return array('hash');
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Pagination/PaginationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public function register()
});
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/ListenCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ protected function getOptions()
);
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Redis/RedisServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public function provides()
return array('redis');
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Matching/HostValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public function matches(Route $route, Request $request)
return preg_match($route->getCompiled()->getHostRegex(), $request->getHost());
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Matching/MethodValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ public function matches(Route $route, Request $request)
return in_array($request->getMethod(), $route->methods());
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Matching/SchemeValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function matches(Route $route, Request $request)
return true;
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Matching/UriValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ public function matches(Route $route, Request $request)
return preg_match($route->getCompiled()->getRegex(), rawurldecode($path));
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Matching/ValidatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ interface ValidatorInterface {
*/
public function matches(Route $route, Request $request);

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Session/SessionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ public function setDefaultDriver($name)
$this->app['config']['session.driver'] = $name;
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Session/SessionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ protected function registerSessionDriver()
});
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class App extends Facade {
*/
protected static function getFacadeAccessor() { return 'app'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Artisan.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Artisan extends Facade {
*/
protected static function getFacadeAccessor() { return 'Illuminate\Contracts\Console\Kernel'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class Auth extends Facade {
*/
protected static function getFacadeAccessor() { return 'auth'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class Cache extends Facade {
*/
protected static function getFacadeAccessor() { return 'cache'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Config extends Facade {
*/
protected static function getFacadeAccessor() { return 'config'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ public static function get($key = null, $default = null)
*/
protected static function getFacadeAccessor() { return 'cookie'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Crypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Crypt extends Facade {
*/
protected static function getFacadeAccessor() { return 'encrypter'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/DB.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class DB extends Facade {
*/
protected static function getFacadeAccessor() { return 'db'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Event extends Facade {
*/
protected static function getFacadeAccessor() { return 'events'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class File extends Facade {
*/
protected static function getFacadeAccessor() { return 'files'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Hash.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Hash extends Facade {
*/
protected static function getFacadeAccessor() { return 'hash'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public static function get($key = null, $default = null)
*/
protected static function getFacadeAccessor() { return 'request'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Lang extends Facade {
*/
protected static function getFacadeAccessor() { return 'translator'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Log extends Facade {
*/
protected static function getFacadeAccessor() { return 'log'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Mail extends Facade {
*/
protected static function getFacadeAccessor() { return 'mailer'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Paginator extends Facade {
*/
protected static function getFacadeAccessor() { return 'paginator'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Redirect extends Facade {
*/
protected static function getFacadeAccessor() { return 'redirect'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Redis extends Facade {
*/
protected static function getFacadeAccessor() { return 'redis'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Request extends Facade {
*/
protected static function getFacadeAccessor() { return 'request'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Route extends Facade {
*/
protected static function getFacadeAccessor() { return 'router'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ protected static function getFacadeAccessor()
return static::$app['db']->connection()->getSchemaBuilder();
}

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ class Session extends Facade {
*/
protected static function getFacadeAccessor() { return 'session'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/URL.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class URL extends Facade {
*/
protected static function getFacadeAccessor() { return 'url'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Validator extends Facade {
*/
protected static function getFacadeAccessor() { return 'validator'; }

}
}
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class View extends Facade {
*/
protected static function getFacadeAccessor() { return 'view'; }

}
}
2 changes: 0 additions & 2 deletions src/Illuminate/Support/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php namespace Illuminate\Support;

use ReflectionClass;

abstract class ServiceProvider {

/**
Expand Down
1 change: 0 additions & 1 deletion src/Illuminate/View/ViewServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php namespace Illuminate\View;

use Illuminate\Support\ViewErrorBag;
use Illuminate\View\Engines\PhpEngine;
use Illuminate\Support\ServiceProvider;
use Illuminate\View\Engines\CompilerEngine;
Expand Down
2 changes: 1 addition & 1 deletion tests/Foundation/FoundationAliasLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testLoaderCanBeCreatedAndRegisteredOnce()
$this->assertEquals(array('foo' => 'bar'), $loader->getAliases());
$this->assertFalse($loader->isRegistered());
$loader->register();

$this->assertTrue($loader->isRegistered());
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Mail/MailMandrillTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public function setHttpClient($client)
{
$this->client = $client;
}
}
}
2 changes: 1 addition & 1 deletion tests/Queue/QueueListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ public function testMakeProcessCorrectlyFormatsCommandLine()
$this->assertEquals('"'.PHP_BINARY.'" artisan queue:work connection --queue="queue" --delay=1 --memory=2 --sleep=3 --tries=0', $process->getCommandLine());
}

}
}
2 changes: 1 addition & 1 deletion tests/Support/SupportMessageBagTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ public function testConstructor()
$this->assertEquals(array('country' => array('Azerbaijan'), 'capital' => array('Baku')), $messageBag->getMessages());
}

}
}

0 comments on commit 8909013

Please sign in to comment.