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
fde7db80
Commit
fde7db80
authored
May 03, 2015
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.2' into 1.3
* 1.2: Phpdocs
parents
938a3e9c
2038b91c
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
15 deletions
+13
-15
src/Silex/ControllerCollection.php
src/Silex/ControllerCollection.php
+0
-3
src/Silex/EventListener/LogListener.php
src/Silex/EventListener/LogListener.php
+1
-1
src/Silex/ExceptionListenerWrapper.php
src/Silex/ExceptionListenerWrapper.php
+2
-1
src/Silex/Provider/SerializerServiceProvider.php
src/Silex/Provider/SerializerServiceProvider.php
+4
-4
src/Silex/RedirectableUrlMatcher.php
src/Silex/RedirectableUrlMatcher.php
+1
-1
tests/Silex/Tests/CallbackResolverTest.php
tests/Silex/Tests/CallbackResolverTest.php
+1
-1
tests/Silex/Tests/CallbackServicesTest.php
tests/Silex/Tests/CallbackServicesTest.php
+1
-1
tests/Silex/Tests/ControllerTest.php
tests/Silex/Tests/ControllerTest.php
+1
-1
tests/Silex/Tests/LazyUrlMatcherTest.php
tests/Silex/Tests/LazyUrlMatcherTest.php
+1
-1
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
+1
-1
No files found.
src/Silex/ControllerCollection.php
View file @
fde7db80
...
...
@@ -43,9 +43,6 @@ class ControllerCollection
protected
$defaultController
;
protected
$prefix
;
/**
* Constructor.
*/
public
function
__construct
(
Route
$defaultRoute
)
{
$this
->
defaultRoute
=
$defaultRoute
;
...
...
src/Silex/EventListener/LogListener.php
View file @
fde7db80
...
...
@@ -100,7 +100,7 @@ class LogListener implements EventSubscriberInterface
/**
* Logs an exception.
*
* @param Exception $e
* @param
\
Exception $e
*/
protected
function
logException
(
\Exception
$e
)
{
...
...
src/Silex/ExceptionListenerWrapper.php
View file @
fde7db80
...
...
@@ -30,7 +30,8 @@ class ExceptionListenerWrapper
/**
* Constructor.
*
* @param Application $app An Application instance
* @param Application $app An Application instance
* @param callable $callback
*/
public
function
__construct
(
Application
$app
,
$callback
)
{
...
...
src/Silex/Provider/SerializerServiceProvider.php
View file @
fde7db80
...
...
@@ -28,12 +28,12 @@ use Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer;
class
SerializerServiceProvider
implements
ServiceProviderInterface
{
/**
* {@inherit
D
oc}
* {@inherit
d
oc}
*
* This method registers a serializer service. {@link http://api.symfony.com/master/Symfony/Component/Serializer/Serializer.html
* The service is provided by the Symfony Serializer component}.
*
* @param
Silex\
Application $app
* @param Application $app
*/
public
function
register
(
Application
$app
)
{
...
...
@@ -51,11 +51,11 @@ class SerializerServiceProvider implements ServiceProviderInterface
}
/**
* {@inherit
D
oc}
* {@inherit
d
oc}
*
* This provider does not execute any code when booting.
*
* @param
Silex\
Application $app
* @param Application $app
*/
public
function
boot
(
Application
$app
)
{
...
...
src/Silex/RedirectableUrlMatcher.php
View file @
fde7db80
...
...
@@ -22,7 +22,7 @@ use Symfony\Component\Routing\Matcher\RedirectableUrlMatcher as BaseRedirectable
class
RedirectableUrlMatcher
extends
BaseRedirectableUrlMatcher
{
/**
*
@see RedirectableUrlMatcherInterface::match()
*
{@inheritdoc}
*/
public
function
redirect
(
$path
,
$route
,
$scheme
=
null
)
{
...
...
tests/Silex/Tests/CallbackResolverTest.php
View file @
fde7db80
...
...
@@ -39,7 +39,7 @@ class CallbackResolverTest extends \PHPUnit_Framework_Testcase
}
/**
* @expectedException InvalidArgumentException
* @expectedException
\
InvalidArgumentException
* @expectedExceptionMessage Service "some_service" does not exist.
*/
public
function
testShouldThrowAnExceptionIfServiceIsMissing
()
...
...
tests/Silex/Tests/CallbackServicesTest.php
View file @
fde7db80
...
...
@@ -64,7 +64,7 @@ class CallbackServicesTest extends \PHPUnit_Framework_TestCase
public
function
controller
(
Application
$app
)
{
return
$app
->
abort
(
404
);
$app
->
abort
(
404
);
}
public
function
before
()
...
...
tests/Silex/Tests/ControllerTest.php
View file @
fde7db80
...
...
@@ -31,7 +31,7 @@ class ControllerTest extends \PHPUnit_Framework_TestCase
}
/**
* @expectedException Silex\Exception\ControllerFrozenException
* @expectedException
\
Silex\Exception\ControllerFrozenException
*/
public
function
testBindOnFrozenControllerShouldThrowException
()
{
...
...
tests/Silex/Tests/LazyUrlMatcherTest.php
View file @
fde7db80
...
...
@@ -40,7 +40,7 @@ class LazyUrlMatcherTest extends \PHPUnit_Framework_TestCase
}
/**
* @expectedException LogicException
* @expectedException
\
LogicException
* @expectedExceptionMessage Factory supplied to LazyUrlMatcher must return implementation of UrlMatcherInterface.
*/
public
function
testThatCanInjectUrlMatcherOnly
()
...
...
tests/Silex/Tests/Provider/MonologServiceProviderTest.php
View file @
fde7db80
...
...
@@ -147,7 +147,7 @@ class MonologServiceProviderTest extends \PHPUnit_Framework_TestCase
}
/**
* @expectedException InvalidArgumentException
* @expectedException
\
InvalidArgumentException
* @expectedExceptionMessage Provided logging level 'foo' does not exist. Must be a valid monolog logging level.
*/
public
function
testNonExistentStringErrorLevel
()
...
...
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