Skip to content

Commit

Permalink
Update php-cs-fixer config, CS fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykendall committed Jan 2, 2016
1 parent ef66012 commit 9e8f520
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
require_once './vendor/autoload.php';

$finder = \Symfony\CS\Finder\DefaultFinder::create()
->in('bin/')
->in('src/')
->in('tests/');

return \Symfony\CS\Config\Config::create()
->setUsingCache(true)
->fixers([
'-single_blank_line_before_namespace',
'-pre_increment',
'-concat_without_spaces',
'-phpdoc_inline_tag',
'concat_with_spaces',
'ordered_use',
])
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/Adapter/Db/PdoAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth\Adapter\Db;

use JeremyKendall\Password\PasswordValidatorInterface;
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth;

use Zend\Authentication\AuthenticationServiceInterface;
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth;

use JeremyKendall\Slim\Auth\Middleware\Authorization as AuthorizationMiddleware;
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/Exception/AuthException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth\Exception;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth\Exception;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth\Exception;

/**
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/IdentityInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth;

/**
Expand Down
1 change: 0 additions & 1 deletion src/JeremyKendall/Slim/Auth/Middleware/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright Copyright (c) 2015 Jeremy Kendall (http://about.me/jeremykendall)
* @license http://github.com/jeremykendall/slim-auth/blob/master/LICENSE MIT
*/

namespace JeremyKendall\Slim\Auth\Middleware;

use JeremyKendall\Slim\Auth\Exception\HttpForbiddenException;
Expand Down

0 comments on commit 9e8f520

Please sign in to comment.