Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9d08b6

Browse filesBrowse files
committed
Merge branch '2.7' into 2.8
* 2.7: Write an exception message in a one heading line [Finder] Refine phpdoc about argument for NumberComparator Fix unresolved parameters from default bundle configs in debug:config [github] Tweak PR template
2 parents 8f2ea7a + 3f04132 commit c9d08b6
Copy full SHA for c9d08b6

File tree

Expand file treeCollapse file tree

5 files changed

+16
-10
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+16
-10
lines changed

‎.github/PULL_REQUEST_TEMPLATE.md

Copy file name to clipboard
+11-3Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch? | "master" for new features / 2.7, 2.8 or 3.1 for fixes
3+
| Branch? | master / 2.7, 2.8, 3.1 or 3.2 <!--see comment below-->
44
| Bug fix? | yes/no
55
| New feature? | yes/no
66
| BC breaks? | yes/no
77
| Deprecations? | yes/no
88
| Tests pass? | yes/no
9-
| Fixed tickets | comma-separated list of tickets fixed by the PR, if any
9+
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
1010
| License | MIT
11-
| Doc PR | reference to the documentation PR, if any
11+
| Doc PR | symfony/symfony-docs#... <!--highly recommended for new features-->
12+
13+
<!--
14+
- Bug fixes must be submitted against the lowest branch where they apply
15+
(lowest branches are regularly merged to upper ones so they get the fixes too).
16+
- Features and deprecations must be submitted against the master branch.
17+
- Please fill in this template according to the PR you're about to submit.
18+
- Replace this comment by a description of what your PR is solving.
19+
-->

‎src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9292
$io->title(sprintf('Current configuration for "%s"', $name));
9393
}
9494

95-
$io->writeln(Yaml::dump(array($extension->getAlias() => $config), 10));
95+
$io->writeln(Yaml::dump(array($extension->getAlias() => $container->getParameterBag()->resolveValue($config)), 10));
9696
}
9797

9898
private function compileContainer()

‎src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
<img alt="" src="data:image/gif;base64,R0lGODlhHAAWAMQQANra2+bl5s3Mzevr6/Pz8+jo6O3t7fHx8c/Oz+Pj49PS093d3djX2NXV1eDf4MrJyvb29gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABAALAAAAAAcABYAQAWWICSOEDE4AamqRuAsT5yu6hA/wNrcfNysjl5PBOAJAAUDDRLoNRKDndAHnN6k058qaH2QuNelqCAYIm45MfGmIJCkAvUIPNB1td/uAyvEz/UqB0VUagQOZTEjgzx+Kk1CEAU8DAdqB4gPCHVjNwhucphKbzefamAFdlaNEGBZd1V3r1t6fE6wqrJ5XS4Ovb69MyQnv8QhADs=" />
99
</div>
1010

11-
<h1>
12-
{{ exception.message|nl2br|format_file_from_text }}
13-
</h1>
11+
<h1>{{ exception.message|nl2br|format_file_from_text }}</h1>
1412

1513
<div>
1614
<strong>{{ status_code }}</strong> {{ status_text }} - {{ exception.class|abbr_class }}

‎src/Symfony/Component/Finder/Comparator/NumberComparator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Comparator/NumberComparator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class NumberComparator extends Comparator
3737
/**
3838
* Constructor.
3939
*
40-
* @param string $test A comparison string
40+
* @param string|int $test A comparison string or an integer
4141
*
4242
* @throws \InvalidArgumentException If the test is not understood
4343
*/

‎src/Symfony/Component/Finder/Finder.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Finder.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function files()
221221
* $finder->depth('> 1') // the Finder will start matching at level 1.
222222
* $finder->depth('< 3') // the Finder will descend at most 3 levels of directories below the starting point.
223223
*
224-
* @param int $level The depth level expression
224+
* @param string|int $level The depth level expression
225225
*
226226
* @return Finder|SplFileInfo[] The current Finder instance
227227
*
@@ -393,7 +393,7 @@ public function notPath($pattern)
393393
* $finder->size('<= 1Ki');
394394
* $finder->size(4);
395395
*
396-
* @param string $size A size range string
396+
* @param string|int $size A size range string or an integer
397397
*
398398
* @return Finder|SplFileInfo[] The current Finder instance
399399
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.