Skip to content

Commit 9bb011d

Browse files
committed
Merge branch '3.2'
* 3.2: (40 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 [Cache] Fix tags expiration [PhpUnit] Blacklist DeprecationErrorHandler in stack traces [PropertyInfo] Don't try to access a property thru a static method [PropertyInfo] Exclude static methods form properties guessing [Workflow] Added new validator to make sure each place has unique translation names [Cache] [PdoAdapter] Fix MySQL 1170 error (blob as primary key) [FrameworkBundle] Fix third level headers for MarkdownDescriptor [Ldap] Using Ldap stored username instead of form submitted one [Ldap] load users with the good username case ...
2 parents ca96327 + 06316e1 commit 9bb011d

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
@@ -235,7 +235,7 @@ protected function describeContainerDefinition(Definition $definition, array $op
235235
}
236236
}
237237

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

241241
/**
@@ -250,7 +250,7 @@ protected function describeContainerAlias(Alias $alias, array $options = array()
250250
return $this->write($output);
251251
}
252252

253-
$this->write(sprintf("%s\n%s\n\n%s\n", $options['id'], str_repeat('~', strlen($options['id'])), $output));
253+
$this->write(sprintf("### %s\n\n%s\n", $options['id'], $output));
254254

255255
if (!$builder) {
256256
return;

Tests/DependencyInjection/FrameworkExtensionTest.php

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

478478
public function testFileLinkFormat()
479479
{
480+
if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) {
481+
$this->markTestSkipped('A custom file_link_format is defined.');
482+
}
483+
480484
$container = $this->createContainerFromFile('full');
481485

482486
$this->assertEquals('file%link%format', $container->getParameter('debug.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)