Skip to content

Commit aff0db5

Browse files
committed
Merge branch '2.8' into 3.1
* 2.8: (26 commits) fixed CS fixed CS fixed CS fixer config fixed typo Revert "fixed typo" fixed typo fixed CS Avoid setting request attributes from signature arguments in AnnotationClassLoader [DependencyInjection] Add some missing typehints in YamlFileLoader [DependencyInjection] minor: Fix a DocBlock [HttpKernel] Give higher priority to adding request formats [PropertyInfo] Don't try to access a property thru a static method [PropertyInfo] Exclude static methods form properties guessing [FrameworkBundle] Fix third level headers for MarkdownDescriptor [TwigBundle] do not lose already set method calls #20411 fix Yaml parsing for very long quoted strings CS: apply is_null DX: remove invalid inheritdoc bumped Symfony version to 2.8.17 updated VERSION for 2.8.16 ...
2 parents 4265e07 + 1cfd505 commit aff0db5

File tree

6 files changed

+16
-22
lines changed

6 files changed

+16
-22
lines changed

Console/Descriptor/MarkdownDescriptor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function describeContainerDefinition(Definition $definition, array $op
230230
}
231231
}
232232

233-
$this->write(isset($options['id']) ? sprintf("%s\n%s\n\n%s\n", $options['id'], str_repeat('~', strlen($options['id'])), $output) : $output);
233+
$this->write(isset($options['id']) ? sprintf("### %s\n\n%s\n", $options['id'], $output) : $output);
234234
}
235235

236236
/**
@@ -241,7 +241,7 @@ protected function describeContainerAlias(Alias $alias, array $options = array()
241241
$output = '- Service: `'.$alias.'`'
242242
."\n".'- Public: '.($alias->isPublic() ? 'yes' : 'no');
243243

244-
$this->write(isset($options['id']) ? sprintf("%s\n%s\n\n%s\n", $options['id'], str_repeat('~', strlen($options['id'])), $output) : $output);
244+
$this->write(isset($options['id']) ? sprintf("### %s\n\n%s\n", $options['id'], $output) : $output);
245245
}
246246

247247
/**

Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ public function testAnnotations()
349349

350350
public function testFileLinkFormat()
351351
{
352+
if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) {
353+
$this->markTestSkipped('A custom file_link_format is defined.');
354+
}
355+
352356
$container = $this->createContainerFromFile('full');
353357

354358
$this->assertEquals('file%link%format', $container->getParameter('templating.helper.code.file_link_format'));

Tests/Fixtures/Descriptor/builder_1_public.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Public services
44
Definitions
55
-----------
66

7-
definition_1
8-
~~~~~~~~~~~~
7+
### definition_1
98

109
- Class: `Full\Qualified\Class1`
1110
- Public: yes
@@ -21,14 +20,12 @@ definition_1
2120
Aliases
2221
-------
2322

24-
alias_1
25-
~~~~~~~
23+
### alias_1
2624

2725
- Service: `service_1`
2826
- Public: yes
2927

30-
alias_2
31-
~~~~~~~
28+
### alias_2
3229

3330
- Service: `service_2`
3431
- Public: no

Tests/Fixtures/Descriptor/builder_1_services.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Public and private services
44
Definitions
55
-----------
66

7-
definition_1
8-
~~~~~~~~~~~~
7+
### definition_1
98

109
- Class: `Full\Qualified\Class1`
1110
- Public: yes
@@ -17,8 +16,7 @@ definition_1
1716
- Factory Class: `Full\Qualified\FactoryClass`
1817
- Factory Method: `get`
1918

20-
definition_2
21-
~~~~~~~~~~~~
19+
### definition_2
2220

2321
- Class: `Full\Qualified\Class2`
2422
- Public: no
@@ -42,14 +40,12 @@ definition_2
4240
Aliases
4341
-------
4442

45-
alias_1
46-
~~~~~~~
43+
### alias_1
4744

4845
- Service: `service_1`
4946
- Public: yes
5047

51-
alias_2
52-
~~~~~~~
48+
### alias_2
5349

5450
- Service: `service_2`
5551
- Public: no

Tests/Fixtures/Descriptor/builder_1_tag1.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Public and private services with tag `tag1`
44
Definitions
55
-----------
66

7-
definition_2
8-
~~~~~~~~~~~~
7+
### definition_2
98

109
- Class: `Full\Qualified\Class2`
1110
- Public: no

Tests/Fixtures/Descriptor/builder_1_tags.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ Container tags
44
tag1
55
----
66

7-
definition_2
8-
~~~~~~~~~~~~
7+
### definition_2
98

109
- Class: `Full\Qualified\Class2`
1110
- Public: no
@@ -23,8 +22,7 @@ definition_2
2322
tag2
2423
----
2524

26-
definition_2
27-
~~~~~~~~~~~~
25+
### definition_2
2826

2927
- Class: `Full\Qualified\Class2`
3028
- Public: no

0 commit comments

Comments
 (0)