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
ffe45ba1
Commit
ffe45ba1
authored
Nov 10, 2013
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed CS
parent
bf5609d9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
1 deletion
+4
-1
src/Silex/Application.php
src/Silex/Application.php
+1
-0
tests/Silex/Tests/Provider/FormServiceProviderTest.php
tests/Silex/Tests/Provider/FormServiceProviderTest.php
+2
-0
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
+0
-1
tests/Silex/Tests/Provider/TranslationServiceProviderTest.php
...s/Silex/Tests/Provider/TranslationServiceProviderTest.php
+1
-0
No files found.
src/Silex/Application.php
View file @
ffe45ba1
...
@@ -273,6 +273,7 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
...
@@ -273,6 +273,7 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
{
{
if
(
$this
->
booted
)
{
if
(
$this
->
booted
)
{
$this
[
'dispatcher'
]
->
addListener
(
$eventName
,
$callback
,
$priority
);
$this
[
'dispatcher'
]
->
addListener
(
$eventName
,
$callback
,
$priority
);
return
;
return
;
}
}
...
...
tests/Silex/Tests/Provider/FormServiceProviderTest.php
View file @
ffe45ba1
...
@@ -34,6 +34,7 @@ class FormServiceProviderTest extends \PHPUnit_Framework_TestCase
...
@@ -34,6 +34,7 @@ class FormServiceProviderTest extends \PHPUnit_Framework_TestCase
$app
[
'form.type.extensions'
]
=
$app
->
share
(
$app
->
extend
(
'form.type.extensions'
,
function
(
$extensions
)
{
$app
[
'form.type.extensions'
]
=
$app
->
share
(
$app
->
extend
(
'form.type.extensions'
,
function
(
$extensions
)
{
$extensions
[]
=
new
DummyFormTypeExtension
();
$extensions
[]
=
new
DummyFormTypeExtension
();
return
$extensions
;
return
$extensions
;
}));
}));
...
@@ -52,6 +53,7 @@ class FormServiceProviderTest extends \PHPUnit_Framework_TestCase
...
@@ -52,6 +53,7 @@ class FormServiceProviderTest extends \PHPUnit_Framework_TestCase
$app
[
'form.type.guessers'
]
=
$app
->
share
(
$app
->
extend
(
'form.type.guessers'
,
function
(
$guessers
)
{
$app
[
'form.type.guessers'
]
=
$app
->
share
(
$app
->
extend
(
'form.type.guessers'
,
function
(
$guessers
)
{
$guessers
[]
=
new
FormTypeGuesserChain
(
array
());
$guessers
[]
=
new
FormTypeGuesserChain
(
array
());
return
$guessers
;
return
$guessers
;
}));
}));
...
...
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
View file @
ffe45ba1
...
@@ -162,4 +162,3 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
...
@@ -162,4 +162,3 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
return
$app
;
return
$app
;
}
}
}
}
tests/Silex/Tests/Provider/TranslationServiceProviderTest.php
View file @
ffe45ba1
...
@@ -48,6 +48,7 @@ class TranslationServiceProviderTest extends \PHPUnit_Framework_TestCase
...
@@ -48,6 +48,7 @@ class TranslationServiceProviderTest extends \PHPUnit_Framework_TestCase
)
)
)
)
);
);
return
$app
;
return
$app
;
}
}
...
...
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