Skip to content

Commit 65c7ead

Browse files
committed
Fixed tests
1 parent e22c862 commit 65c7ead

40 files changed

+976
-1219
lines changed
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-1">
8-
<div class="highlight-bash">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1</pre>
14-
</div>
15-
</td>
16-
<td class="code">
17-
<div class="highlight">
18-
<pre class="hljs bash">git <span class="hljs-built_in">clone</span> git@github.com:symfony/symfony.git</pre>
19-
</div>
20-
</td>
21-
</tr>
22-
</table>
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-1 codeblock-bash">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1</pre>
13+
<pre class="codeblock-code"><code>git <span class="hljs-built_in">clone</span> git@github.com:symfony/symfony.git
14+
</code></pre>
2315
</div>
2416
</div>
25-
</body>
26-
</html>
17+
18+
</body>
19+
</html>
Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,41 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-2">
8-
<div class="highlight-html+php">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1 2 3 4 5 6 7 8 9
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-2 codeblock-html+php codeblock-html">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1
13+
2
14+
3
15+
4
16+
5
17+
6
18+
7
19+
8
20+
9
1421
10
1522
11
1623
12</pre>
17-
</div>
18-
</td>
19-
<td class="code">
20-
<div class="highlight">
21-
<pre class="hljs html">
22-
<span class="hljs-comment">&lt;!-- views/layout.php --&gt;</span>
24+
<pre class="codeblock-code"><code><span class="hljs-comment">&lt;!-- views/layout.php --&gt;</span>
2325
<span class="hljs-meta">&lt;!doctype <span class="hljs-meta-keyword">html</span>&gt;</span>
2426
<span class="hljs-tag">&lt;<span class="hljs-name">html</span>&gt;</span>
25-
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
26-
<span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>
27-
<span class="php"><span class="hljs-meta">&lt;?php</span> <span class="hljs-keyword">echo</span> <span class="hljs-string">'title'</span>; <span class="hljs-meta">?&gt;</span></span>
28-
<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
29-
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
30-
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
31-
<span class="php"><span class="hljs-meta">&lt;?php</span> <span class="hljs-keyword">echo</span> <span class="hljs-string">'body'</span>; <span class="hljs-meta">?&gt;</span></span>
32-
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
33-
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
34-
</pre>
35-
</div>
36-
</td>
37-
</tr>
38-
</table>
27+
<span class="hljs-tag">&lt;<span class="hljs-name">head</span>&gt;</span>
28+
<span class="hljs-tag">&lt;<span class="hljs-name">title</span>&gt;</span>
29+
<span class="php"><span class="hljs-meta">&lt;?php</span> <span class="hljs-keyword">echo</span> <span class="hljs-string">'title'</span>; <span class="hljs-meta">?&gt;</span></span>
30+
<span class="hljs-tag">&lt;/<span class="hljs-name">title</span>&gt;</span>
31+
<span class="hljs-tag">&lt;/<span class="hljs-name">head</span>&gt;</span>
32+
<span class="hljs-tag">&lt;<span class="hljs-name">body</span>&gt;</span>
33+
<span class="php"><span class="hljs-meta">&lt;?php</span> <span class="hljs-keyword">echo</span> <span class="hljs-string">'body'</span>; <span class="hljs-meta">?&gt;</span></span>
34+
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span>
35+
<span class="hljs-tag">&lt;/<span class="hljs-name">html</span>&gt;</span>
36+
</code></pre>
3937
</div>
4038
</div>
41-
</body>
42-
</html>
39+
40+
</body>
41+
</html>
Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-1">
8-
<div class="highlight-html+twig">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1 2</pre>
14-
</div>
15-
</td>
16-
<td class="code">
17-
<div class="highlight">
18-
<pre class="hljs twig">
19-
<span class="hljs-comment">{# some code #}</span>
20-
<span class="xml">
21-
<span class="hljs-comment">&lt;!-- some code --&gt;</span></span>
22-
</pre>
23-
</div>
24-
</td>
25-
</tr>
26-
</table>
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-1 codeblock-html+twig codeblock-twig">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1
13+
2</pre>
14+
<pre class="codeblock-code"><code><span class="hljs-comment">{# some code #}</span><span class="xml">
15+
<span class="hljs-comment">&lt;!-- some code --&gt;</span>
16+
</span></code></pre>
2717
</div>
2818
</div>
29-
</body>
30-
</html>
19+
20+
</body>
21+
</html>
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-1">
8-
<div class="highlight-html">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1</pre>
14-
</div>
15-
</td>
16-
<td class="code">
17-
<div class="highlight">
18-
<pre class="hljs html"><span class="hljs-comment">&lt;!-- some code --&gt;</span></pre>
19-
</div>
20-
</td>
21-
</tr>
22-
</table>
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-1 codeblock-html">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1</pre>
13+
<pre class="codeblock-code"><code><span class="hljs-comment">&lt;!-- some code --&gt;</span>
14+
</code></pre>
2315
</div>
2416
</div>
25-
</body>
26-
</html>
17+
18+
</body>
19+
</html>
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-1">
8-
<div class="highlight-ini">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1</pre>
14-
</div>
15-
</td>
16-
<td class="code">
17-
<div class="highlight">
18-
<pre class="hljs ini"><span class="hljs-attr">fetch</span> = +refs/notes/*:refs/notes/*</pre>
19-
</div>
20-
</td>
21-
</tr>
22-
</table>
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-1 codeblock-ini">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1</pre>
13+
<pre class="codeblock-code"><code><span class="hljs-attr">fetch</span> = +refs/notes/*:refs/notes/*
14+
</code></pre>
2315
</div>
2416
</div>
25-
</body>
26-
</html>
17+
18+
</body>
19+
</html>
Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-2">
8-
<div class="highlight-php-annotations">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1 2 3 4 5 6 7 8 9
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-2 codeblock-php-annotations codeblock-php">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1
13+
2
14+
3
15+
4
16+
5
17+
6
18+
7
19+
8
20+
9
1421
10
1522
11
1623
12
1724
13
1825
14</pre>
19-
</div>
20-
</td>
21-
<td class="code">
22-
<div class="highlight">
23-
<pre class="hljs php">
24-
<span class="hljs-comment">// src/AppBundle/Entity/Transaction.php</span>
25-
<span class="hljs-keyword">namespace</span> <span class="hljs-title">AppBundle</span>\<span class="hljs-title">Entity</span>; <span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;
26-
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Transaction</span>
27-
</span>
28-
{
29-
<span class="hljs-comment">/** * <span class="hljs-doctag">@Assert</span>\Iban( * message="This is not a valid International Bank Account Number (IBAN)." * ) */</span>
30-
<span class="hljs-keyword">protected</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>bankAccountNumber</span>;
26+
<pre class="codeblock-code"><code><span class="hljs-comment">// src/AppBundle/Entity/Transaction.php</span>
27+
<span class="hljs-keyword">namespace</span> <span class="hljs-title">AppBundle</span>\<span class="hljs-title">Entity</span>;
28+
29+
<span class="hljs-keyword">use</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Validator</span>\<span class="hljs-title">Constraints</span> <span class="hljs-title">as</span> <span class="hljs-title">Assert</span>;
30+
31+
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Transaction</span>
32+
</span>{
33+
<span class="hljs-comment">/**
34+
* <span class="hljs-doctag">@Assert</span>\Iban(
35+
* message="This is not a valid International Bank Account Number (IBAN)."
36+
* )
37+
*/</span>
38+
<span class="hljs-keyword">protected</span> <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>bankAccountNumber</span>;
3139
}
32-
</pre>
33-
</div>
34-
</td>
35-
</tr>
36-
</table>
40+
</code></pre>
3741
</div>
3842
</div>
39-
</body>
40-
</html>
43+
44+
</body>
45+
</html>
Lines changed: 27 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,31 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
</head>
6-
<body>
7-
<div translate="no" class="notranslate literal-block loc-1">
8-
<div class="highlight-php">
9-
<table class="highlighttable">
10-
<tr>
11-
<td class="linenos">
12-
<div class="linenodiv">
13-
<pre> 1
14-
2
15-
3
16-
4
17-
5
18-
6
19-
7</pre>
20-
</div>
21-
</td>
22-
<td class="code">
23-
<div class="highlight">
24-
<pre class="hljs php">
25-
<span class="hljs-comment">// config/routes.php</span>
26-
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Routing</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>; <span class="hljs-keyword">return</span>
27-
<span class="hljs-function">
28-
<span class="hljs-keyword">function</span>
29-
<span class="hljs-params">(RoutingConfigurator <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>routes</span>)</span>
30-
</span>
31-
{ <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>routes</span><span class="hljs-operator">-&gt;</span>add(<span class="hljs-string">'about_us'</span>, [<span class="hljs-string">'nl'</span> =&gt; <span class="hljs-string">'/over-ons'</span>, <span class="hljs-string">'en'</span> =&gt; <span class="hljs-string">'/about-us'</span>]) <span class="hljs-operator">-&gt;</span>controller(<span class="hljs-string">'App\Controller\CompanyController::about'</span>);
32-
};</pre>
33-
</div>
34-
</td>
35-
</tr>
36-
</table>
3+
<head>
4+
<meta charset="utf-8" />
5+
6+
7+
</head>
8+
9+
<body>
10+
<div translate="no" class="notranslate codeblock codeblock-loc-1 codeblock-php">
11+
<div class="codeblock-scroll">
12+
<pre class="codeblock-lines">1
13+
2
14+
3
15+
4
16+
5
17+
6
18+
7</pre>
19+
<pre class="codeblock-code"><code><span class="hljs-comment">// config/routes.php</span>
20+
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Symfony</span>\<span class="hljs-title">Component</span>\<span class="hljs-title">Routing</span>\<span class="hljs-title">Loader</span>\<span class="hljs-title">Configurator</span>;
21+
22+
<span class="hljs-keyword">return</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">(RoutingConfigurator <span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>routes</span>)</span> </span>{
23+
<span class="hljs-variable"><span class="hljs-variable-other-marker">$</span>routes</span><span class="hljs-operator">-&gt;</span>add(<span class="hljs-string">'about_us'</span>, [<span class="hljs-string">'nl'</span> =&gt; <span class="hljs-string">'/over-ons'</span>, <span class="hljs-string">'en'</span> =&gt; <span class="hljs-string">'/about-us'</span>])
24+
<span class="hljs-operator">-&gt;</span>controller(<span class="hljs-string">'App\Controller\CompanyController::about'</span>);
25+
};
26+
</code></pre>
3727
</div>
3828
</div>
39-
</body>
40-
</html>
29+
30+
</body>
31+
</html>

0 commit comments

Comments
 (0)