We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958d8dd commit e00bbb4Copy full SHA for e00bbb4
src/Standards/PSR12/Docs/Classes/OpeningBraceSpaceStandard.xml
@@ -0,0 +1,32 @@
1
+<documentation title="Opening Brace Space">
2
+ <standard>
3
+ <![CDATA[
4
+ The opening brace of an object-oriented construct must not be followed by a blank line.
5
+ ]]>
6
+ </standard>
7
+ <code_comparison>
8
+ <code title="Valid: No blank lines after opening brace.">
9
10
+class Foo
11
+{<em></em>
12
+ public function bar()
13
+ {
14
+ // Method content.
15
+ }
16
+}
17
18
+ </code>
19
+ <code title="Invalid: Blank line after opening brace.">
20
21
22
+{
23
+<em></em>
24
25
26
27
28
29
30
31
+ </code_comparison>
32
+</documentation>
0 commit comments