Skip to content

Commit 1970287

Browse files
committed
fix spaces in tests
1 parent db7da9a commit 1970287

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

tests/package/generic/attribute_formatting_002.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Content:
5050
<div class="section">
5151
<p class="para">1. Class with unknown attributes</p>
5252
<div class="classsynopsis"><div class="classsynopsisinfo">
53-
53+
5454
<span class="attribute">#[\UnknownAttribute]</span><br>
5555
<span class="attribute">#[\AnotherUnknownAttribute]</span><br>
5656
<span class="modifier">class</span> <strong class="classname">DateTime</strong>
@@ -61,7 +61,7 @@ Content:
6161
<div class="section">
6262
<p class="para">2. Class with known attributes</p>
6363
<div class="classsynopsis"><div class="classsynopsisinfo">
64-
64+
6565
<span class="attribute"><a href="file.knownattribute.is.in.html">#[\KnownAttribute]</a> </span><br>
6666
<span class="attribute"><a href="file.anotherknownattribute.is.in.html">#[\AnotherKnownAttribute]</a> </span><br>
6767
<span class="modifier">class</span> <strong class="classname">DateTime</strong>
@@ -105,7 +105,7 @@ Content:
105105
<div class="section">
106106
<p class="para">7. Class, constructor and methods with unknown attributes</p>
107107
<div class="classsynopsis"><div class="classsynopsisinfo">
108-
108+
109109
<span class="attribute">#[\UnknownAttribute]</span><br>
110110
<span class="attribute">#[\AnotherUnknownAttribute]</span><br>
111111
<span class="modifier">class</span> <strong class="classname">DateTime</strong>
@@ -129,7 +129,7 @@ Content:
129129
<div class="section">
130130
<p class="para">8. Class, constructor and methods with known attributes</p>
131131
<div class="classsynopsis"><div class="classsynopsisinfo">
132-
132+
133133
<span class="attribute"><a href="file.knownattribute.is.in.html">#[\KnownAttribute]</a> </span><br>
134134
<span class="attribute"><a href="file.anotherknownattribute.is.in.html">#[\AnotherKnownAttribute]</a> </span><br>
135135
<span class="modifier">class</span> <strong class="classname">DateTime</strong>
@@ -167,4 +167,4 @@ Content:
167167

168168
</div>
169169

170-
</div>
170+
</div>

tests/package/generic/attribute_formatting_003.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Content:
5252
<div class="section">
5353
<p class="para">1. Property/Constant with unknown attributes</p>
5454
<div class="classsynopsis"><div class="classsynopsisinfo">
55-
55+
5656
<span class="modifier">class</span> <strong class="classname">ClassName</strong>
5757
{</div>
5858
<div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties/Constants */</div>
@@ -70,7 +70,7 @@ Content:
7070
<div class="section">
7171
<p class="para">2. Property/Constant with known attributes</p>
7272
<div class="classsynopsis"><div class="classsynopsisinfo">
73-
73+
7474
<span class="modifier">class</span> <strong class="classname">ClassName</strong>
7575
{</div>
7676
<div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties/Constants */</div>
@@ -88,7 +88,7 @@ Content:
8888
<div class="section">
8989
<p class="para">3. Constant of a class with attribute</p>
9090
<div class="classsynopsis"><div class="classsynopsisinfo">
91-
91+
9292
<span class="attribute">#[\UnknownAttribute]</span><br>
9393
<span class="modifier">class</span> <strong class="classname">ClassName</strong>
9494
{</div>
@@ -102,4 +102,4 @@ Content:
102102
}</div>
103103
</div>
104104

105-
</div>
105+
</div>

tests/package/generic/attribute_formatting_005.phpt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Content:
5454
<div class="section">
5555
<p class="para">1. Attribute with literal named arguments</p>
5656
<div class="classsynopsis"><div class="classsynopsisinfo">
57-
57+
5858
<span class="attribute">#[<a href="class.deprecated.html">\Deprecated</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;since: '8.5',<br>&nbsp;&nbsp;&nbsp;&nbsp;message: 'Deprecated since PHP 8.4'<br>)]</span><br>
5959
<span class="modifier">final</span>
6060
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
@@ -65,7 +65,7 @@ Content:
6565
<div class="section">
6666
<p class="para">2. Attribute with single literal positional argument</p>
6767
<div class="classsynopsis"><div class="classsynopsisinfo">
68-
68+
6969
<span class="attribute">#[<a href="class.deprecated.html">\Deprecated</a>('Deprecated since PHP 8.4')]</span><br>
7070
<span class="modifier">final</span>
7171
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
@@ -76,7 +76,7 @@ Content:
7676
<div class="section">
7777
<p class="para">3. Unknown attribute with literal argument</p>
7878
<div class="classsynopsis"><div class="classsynopsisinfo">
79-
79+
8080
<span class="attribute">#[\UnknownAttribute(foo: 'bar')]</span><br>
8181
<span class="modifier">final</span>
8282
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
@@ -87,7 +87,7 @@ Content:
8787
<div class="section">
8888
<p class="para">4. Namespaced attribute with literal argument</p>
8989
<div class="classsynopsis"><div class="classsynopsisinfo">
90-
90+
9191
<span class="attribute">#[\Some\Namespaced\Attribute(value: 42)]</span><br>
9292
<span class="modifier">final</span>
9393
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
@@ -98,7 +98,7 @@ Content:
9898
<div class="section">
9999
<p class="para">5. Multi-line attribute with literal class constant arguments</p>
100100
<div class="classsynopsis"><div class="classsynopsisinfo">
101-
101+
102102
<span class="attribute">#[<a href="class.attribute.html">\Attribute</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="class.attribute.html#attribute.constants.target-function">Attribute::TARGET_FUNCTION</a><br>&nbsp;&nbsp;&nbsp;&nbsp;| <a href="class.attribute.html#attribute.constants.target-method">Attribute::TARGET_METHOD</a><br>&nbsp;&nbsp;&nbsp;&nbsp;| <a href="class.attribute.html#attribute.constants.target-class">Attribute::TARGET_CLASS</a><br>)]</span><br>
103103
<span class="modifier">final</span>
104104
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
@@ -109,11 +109,11 @@ Content:
109109
<div class="section">
110110
<p class="para">6. Attribute with mix of known and unknown class constants</p>
111111
<div class="classsynopsis"><div class="classsynopsisinfo">
112-
112+
113113
<span class="attribute">#[<a href="class.attribute.html">\Attribute</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<a href="class.attribute.html#attribute.constants.target-class">Attribute::TARGET_CLASS</a><br>&nbsp;&nbsp;&nbsp;&nbsp;| Unknown::CONST<br>)]</span><br>
114114
<span class="modifier">final</span>
115115
<span class="modifier">class</span> <strong class="classname">Deprecated</strong>
116116
{</div>
117117
}</div>
118118
</div>
119-
</div>
119+
</div>

0 commit comments

Comments
 (0)