Skip to content

Commit 50ae05a

Browse files
committed
Merge branch '2.5' into 2.6
* 2.5: Use PHPUnit ini_set wrapper in tests [Process] Added a test skip check for Windows [Process] Removed unused variable assignment Fixes various phpdoc and coding standards. Fixes Issue #13184 - incremental output getters now return empty strings Updated copyright to 2015 Updated copyright to 2015 Clarify a comment. Conflicts: src/Symfony/Component/HttpKernel/Fragment/EsiFragmentRenderer.php
2 parents b4eefe3 + e30d714 commit 50ae05a

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ protected function filterRequest(DomRequest $request)
162162
* If the size of a file is greater than the allowed size (from php.ini) then
163163
* an invalid UploadedFile is returned with an error set to UPLOAD_ERR_INI_SIZE.
164164
*
165-
* @see Symfony\Component\HttpFoundation\File\UploadedFile
165+
* @see UploadedFile
166166
*
167167
* @param array $files An array of files
168168
*

Controller/ControllerReference.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\HttpKernel\Controller;
1313

14+
use Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface;
15+
1416
/**
1517
* Acts as a marker and a data holder for a Controller.
1618
*
@@ -20,8 +22,7 @@
2022
*
2123
* @author Fabien Potencier <fabien@symfony.com>
2224
*
23-
* @see Symfony\Component\HttpKernel\FragmentRenderer
24-
* @see Symfony\Component\HttpKernel\Fragment\FragmentRendererInterface
25+
* @see FragmentRendererInterface
2526
*/
2627
class ControllerReference
2728
{

Fragment/FragmentRendererInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* Interface implemented by all rendering strategies.
2020
*
2121
* @author Fabien Potencier <fabien@symfony.com>
22-
*
23-
* @see Symfony\Component\HttpKernel\FragmentRenderer
2422
*/
2523
interface FragmentRendererInterface
2624
{

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2004-2014 Fabien Potencier
1+
Copyright (c) 2004-2015 Fabien Potencier
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Tests/EventListener/ExceptionListenerTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ public function testConstruct()
4545
*/
4646
public function testHandleWithoutLogger($event, $event2)
4747
{
48-
// store the current error_log, and disable it temporarily
49-
$errorLog = ini_set('error_log', file_exists('/dev/null') ? '/dev/null' : 'nul');
48+
$this->iniSet('error_log', file_exists('/dev/null') ? '/dev/null' : 'nul');
5049

5150
$l = new ExceptionListener('foo');
5251
$l->onKernelException($event);
@@ -58,9 +57,6 @@ public function testHandleWithoutLogger($event, $event2)
5857
} catch (\Exception $e) {
5958
$this->assertSame('foo', $e->getMessage());
6059
}
61-
62-
// restore the old error_log
63-
ini_set('error_log', $errorLog);
6460
}
6561

6662
/**

Tests/Fixtures/ExtensionPresentBundle/Command/BarCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command;
44

55
use Symfony\Component\Console\Command\Command;
6+
use Symfony\Component\HttpKernel\Bundle;
67

78
/**
89
* This command has a required parameter on the constructor and will be ignored by the default Bundle implementation.
910
*
10-
* @see Symfony\Component\HttpKernel\Bundle\Bundle::registerCommands
11+
* @see Bundle::registerCommands()
1112
*/
1213
class BarCommand extends Command
1314
{

0 commit comments

Comments
 (0)