Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
30a5aa59
Commit
30a5aa59
authored
Aug 04, 2015
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed CS
parent
9ae407fc
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
5 additions
and
14 deletions
+5
-14
src/Silex/Application/SecurityTrait.php
src/Silex/Application/SecurityTrait.php
+0
-1
src/Silex/Provider/FormServiceProvider.php
src/Silex/Provider/FormServiceProvider.php
+0
-2
src/Silex/Provider/KernelServiceProvider.php
src/Silex/Provider/KernelServiceProvider.php
+2
-2
src/Silex/Provider/SecurityServiceProvider.php
src/Silex/Provider/SecurityServiceProvider.php
+0
-1
src/Silex/Provider/Session/SessionListener.php
src/Silex/Provider/Session/SessionListener.php
+1
-1
src/Silex/Provider/Session/TestSessionListener.php
src/Silex/Provider/Session/TestSessionListener.php
+1
-1
src/Silex/Provider/TranslationServiceProvider.php
src/Silex/Provider/TranslationServiceProvider.php
+0
-1
src/Silex/Provider/ValidatorServiceProvider.php
src/Silex/Provider/ValidatorServiceProvider.php
+0
-3
tests/Silex/Tests/LazyRequestMatcherTest.php
tests/Silex/Tests/LazyRequestMatcherTest.php
+1
-1
tests/Silex/Tests/Provider/RoutingServiceProviderTest.php
tests/Silex/Tests/Provider/RoutingServiceProviderTest.php
+0
-1
No files found.
src/Silex/Application/SecurityTrait.php
View file @
30a5aa59
...
...
@@ -11,7 +11,6 @@
namespace
Silex\Application
;
use
Symfony\Component\Security\Core\Authentication\Token\TokenInterface
;
use
Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException
;
use
Symfony\Component\Security\Core\User\UserInterface
;
...
...
src/Silex/Provider/FormServiceProvider.php
View file @
30a5aa59
...
...
@@ -14,8 +14,6 @@ namespace Silex\Provider;
use
Pimple\Container
;
use
Pimple\ServiceProviderInterface
;
use
Symfony\Component\Form\Extension\Csrf\CsrfExtension
;
use
Symfony\Component\Form\Extension\Csrf\CsrfProvider\DefaultCsrfProvider
;
use
Symfony\Component\Form\Extension\Csrf\CsrfProvider\SessionCsrfProvider
;
use
Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationExtension
;
use
Symfony\Component\Form\Extension\Validator\ValidatorExtension
as
FormValidatorExtension
;
use
Symfony\Component\Form\Forms
;
...
...
src/Silex/Provider/KernelServiceProvider.php
View file @
30a5aa59
...
...
@@ -15,7 +15,7 @@ use Symfony\Component\HttpKernel\EventListener\ResponseListener;
class
KernelServiceProvider
implements
ServiceProviderInterface
,
EventListenerProviderInterface
{
/**
* {@inherit
D
oc}
* {@inherit
d
oc}
*/
public
function
register
(
Container
$pimple
)
{
...
...
@@ -25,7 +25,7 @@ class KernelServiceProvider implements ServiceProviderInterface, EventListenerPr
}
/**
* {@inherit
D
oc}
* {@inherit
d
oc}
*/
public
function
subscribe
(
Container
$app
,
EventDispatcherInterface
$dispatcher
)
{
...
...
src/Silex/Provider/SecurityServiceProvider.php
View file @
30a5aa59
...
...
@@ -21,7 +21,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use
Symfony\Component\HttpFoundation\RequestMatcher
;
use
Symfony\Component\HttpFoundation\Request
;
use
Symfony\Component\Security\Core\Security
;
use
Symfony\Component\Security\Core\SecurityContext
;
use
Symfony\Component\Security\Core\SecurityContextInterface
;
use
Symfony\Component\Security\Core\User\UserChecker
;
use
Symfony\Component\Security\Core\User\InMemoryUserProvider
;
...
...
src/Silex/Provider/Session/SessionListener.php
View file @
30a5aa59
...
...
@@ -31,7 +31,7 @@ class SessionListener extends BaseSessionListener
protected
function
getSession
()
{
if
(
!
isset
(
$this
->
app
[
'session'
]))
{
return
null
;
return
;
}
return
$this
->
app
[
'session'
];
...
...
src/Silex/Provider/Session/TestSessionListener.php
View file @
30a5aa59
...
...
@@ -31,7 +31,7 @@ class TestSessionListener extends BaseTestSessionListener
protected
function
getSession
()
{
if
(
!
isset
(
$this
->
app
[
'session'
]))
{
return
null
;
return
;
}
return
$this
->
app
[
'session'
];
...
...
src/Silex/Provider/TranslationServiceProvider.php
View file @
30a5aa59
...
...
@@ -71,7 +71,6 @@ class TranslationServiceProvider implements ServiceProviderInterface, EventListe
$app
[
'translator.cache_dir'
]
=
null
;
}
public
function
subscribe
(
Container
$app
,
EventDispatcherInterface
$dispatcher
)
{
$dispatcher
->
addSubscriber
(
$app
[
'translator.listener'
]);
...
...
src/Silex/Provider/ValidatorServiceProvider.php
View file @
30a5aa59
...
...
@@ -14,10 +14,7 @@ namespace Silex\Provider;
use
Pimple\Container
;
use
Pimple\ServiceProviderInterface
;
use
Silex\Provider\Validator\ConstraintValidatorFactory
;
use
Silex\Application
;
use
Symfony\Component\Validator\Validator
;
use
Symfony\Component\Validator\DefaultTranslator
;
use
Symfony\Component\Validator\Mapping\ClassMetadataFactory
;
use
Symfony\Component\Validator\Mapping\Factory\LazyLoadingMetadataFactory
;
use
Symfony\Component\Validator\Mapping\Loader\StaticMethodLoader
;
use
Symfony\Component\Validator\Validation
;
...
...
tests/Silex/Tests/LazyRequestMatcherTest.php
View file @
30a5aa59
...
...
@@ -30,7 +30,7 @@ class LazyRequestMatcherTest extends \PHPUnit_Framework_TestCase
$requestMatcher
=
$this
->
getMock
(
'Symfony\Component\Routing\Matcher\RequestMatcherInterface'
);
$matcher
=
new
LazyRequestMatcher
(
function
()
use
(
$requestMatcher
,
&
$callCounter
)
{
$callCounter
++
;
++
$callCounter
;
return
$requestMatcher
;
});
...
...
tests/Silex/Tests/Provider/RoutingServiceProviderTest.php
View file @
30a5aa59
...
...
@@ -12,7 +12,6 @@
namespace
Silex\Tests\Provider
;
use
Silex\Application
;
use
Silex\Provider\RoutingServiceProvider
;
use
Symfony\Component\HttpFoundation\Request
;
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment