File tree Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Original file line number Diff line number Diff line change 7
7
use Symfony \Component \Filesystem \Filesystem ;
8
8
use SymfonyDocsBuilder \BuildConfig ;
9
9
10
- class AbstractIntegrationTest extends TestCase
10
+ abstract class AbstractIntegrationTest extends TestCase
11
11
{
12
12
protected function createBuildConfig (string $ sourceDir ): BuildConfig
13
13
{
Original file line number Diff line number Diff line change @@ -101,10 +101,11 @@ public function testParseUnitBlock(string $blockName)
101
101
102
102
$ actualCrawler = new Crawler ($ actualHtml );
103
103
$ expectedCrawler = new Crawler ($ expectedHtml );
104
+ $ indenter = $ this ->createIndenter ();
104
105
105
106
$ this ->assertSame (
106
- trim ($ expectedCrawler ->filter ('body ' )->html ()),
107
- trim ($ actualCrawler ->filter ('body ' )->html ())
107
+ $ indenter -> indent ( trim ($ expectedCrawler ->filter ('body ' )->html () )),
108
+ $ indenter -> indent ( trim ($ actualCrawler ->filter ('body ' )->html () ))
108
109
);
109
110
}
110
111
Original file line number Diff line number Diff line change
1
+ < div translate ="no " class ="notranslate codeblock codeblock-loc-1 codeblock-terminal codeblock-bash ">
2
+ < div class ="codeblock-scroll ">
3
+ < pre class ="codeblock-lines "> 1</ pre >
4
+ < pre class ="codeblock-code "> < code > git < span
5
+ class ="hljs-built_in "> clone</ span > git@github.com:symfony/symfony.git
6
+ </ code > </ pre >
7
+ </ div >
8
+ </ div >
1
9
< div translate ="no " class ="notranslate codeblock codeblock-loc-1 codeblock-terminal codeblock-bash ">
2
10
< div class ="codeblock-scroll ">
3
11
< pre class ="codeblock-lines "> 1
Original file line number Diff line number Diff line change 1
1
< div class ="admonition admonition-seealso ">
2
- < p class ="admonition-title ">
3
- < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " width ="24 " height ="24 " viewBox ="0 0 24 24 " stroke ="currentColor ">
4
- < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1 " />
5
- </ svg >
6
- See also
7
- </ p >
8
- < p > Also check out the homepage</ p >
9
- </ div >
2
+ < p class ="admonition-title ">
3
+ < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " width ="24 " height ="24 " viewBox ="0 0 24 24 " stroke ="currentColor ">
4
+ < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1 "/>
5
+ </ svg >
6
+ See also
7
+ </ p >
8
+ < p > Also check out the homepage</ p >
9
+ </ div >
Original file line number Diff line number Diff line change
1
+ < div class ="admonition admonition-versionadded ">
2
+ < p class ="admonition-title ">
3
+ < svg xmlns ="http://www.w3.org/2000/svg " fill ="none " width ="24 " height ="24 " viewbox ="0 0 24 24 " stroke ="currentColor ">
4
+ < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z "> </ path >
5
+ </ svg >
6
+ New in version 4.1
7
+
8
+ </ p >
9
+ < p > This option was introduced in Symfony 2.6 and replaces another option, which is available prior to 2.6.</ p >
You can’t perform that action at this time.
0 commit comments