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
850939d3
Commit
850939d3
authored
Jan 20, 2015
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed CS
parent
722983ad
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
src/Silex/EventListener/ConverterListener.php
src/Silex/EventListener/ConverterListener.php
+2
-2
src/Silex/ServiceControllerResolver.php
src/Silex/ServiceControllerResolver.php
+1
-1
tests/Silex/Tests/ApplicationTest.php
tests/Silex/Tests/ApplicationTest.php
+2
-2
tests/Silex/Tests/ControllerTest.php
tests/Silex/Tests/ControllerTest.php
+2
-2
tests/Silex/Tests/RouterTest.php
tests/Silex/Tests/RouterTest.php
+2
-2
No files found.
src/Silex/EventListener/ConverterListener.php
View file @
850939d3
...
@@ -30,8 +30,8 @@ class ConverterListener implements EventSubscriberInterface
...
@@ -30,8 +30,8 @@ class ConverterListener implements EventSubscriberInterface
/**
/**
* Constructor.
* Constructor.
*
*
* @param RouteCollection $routes
A RouteCollection instance
* @param RouteCollection $routes A RouteCollection instance
* @param CallbackResolver $callbackResolver
A CallbackResolver instance
* @param CallbackResolver $callbackResolver A CallbackResolver instance
*/
*/
public
function
__construct
(
RouteCollection
$routes
,
CallbackResolver
$callbackResolver
)
public
function
__construct
(
RouteCollection
$routes
,
CallbackResolver
$callbackResolver
)
{
{
...
...
src/Silex/ServiceControllerResolver.php
View file @
850939d3
...
@@ -28,7 +28,7 @@ class ServiceControllerResolver implements ControllerResolverInterface
...
@@ -28,7 +28,7 @@ class ServiceControllerResolver implements ControllerResolverInterface
* Constructor.
* Constructor.
*
*
* @param ControllerResolverInterface $controllerResolver A ControllerResolverInterface instance to delegate to
* @param ControllerResolverInterface $controllerResolver A ControllerResolverInterface instance to delegate to
* @param CallbackResolver
$callbackResolver
A service resolver instance
* @param CallbackResolver
$callbackResolver
A service resolver instance
*/
*/
public
function
__construct
(
ControllerResolverInterface
$controllerResolver
,
CallbackResolver
$callbackResolver
)
public
function
__construct
(
ControllerResolverInterface
$controllerResolver
,
CallbackResolver
$callbackResolver
)
{
{
...
...
tests/Silex/Tests/ApplicationTest.php
View file @
850939d3
...
@@ -152,8 +152,8 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
...
@@ -152,8 +152,8 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
}
}
/**
/**
* @dataProvider escapeProvider
* @dataProvider escapeProvider
*/
*/
public
function
testEscape
(
$expected
,
$text
)
public
function
testEscape
(
$expected
,
$text
)
{
{
$app
=
new
Application
();
$app
=
new
Application
();
...
...
tests/Silex/Tests/ControllerTest.php
View file @
850939d3
...
@@ -31,8 +31,8 @@ class ControllerTest extends \PHPUnit_Framework_TestCase
...
@@ -31,8 +31,8 @@ class ControllerTest extends \PHPUnit_Framework_TestCase
}
}
/**
/**
* @expectedException Silex\Exception\ControllerFrozenException
* @expectedException Silex\Exception\ControllerFrozenException
*/
*/
public
function
testBindOnFrozenControllerShouldThrowException
()
public
function
testBindOnFrozenControllerShouldThrowException
()
{
{
$controller
=
new
Controller
(
new
Route
(
'/foo'
));
$controller
=
new
Controller
(
new
Route
(
'/foo'
));
...
...
tests/Silex/Tests/RouterTest.php
View file @
850939d3
...
@@ -95,8 +95,8 @@ class RouterTest extends \PHPUnit_Framework_TestCase
...
@@ -95,8 +95,8 @@ class RouterTest extends \PHPUnit_Framework_TestCase
}
}
/**
/**
* @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
* @expectedException \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
*/
public
function
testMissingRoute
()
public
function
testMissingRoute
()
{
{
$app
=
new
Application
();
$app
=
new
Application
();
...
...
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