Skip to content

Commit 87cc447

Browse files
jorritmghoneimy
authored andcommitted
Add an empty line to the end of the generated code files
1 parent 7c6d0b1 commit 87cc447

File tree

45 files changed

+47
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+47
-45
lines changed

src/SchemaGenerator/CodeGenerator/CodeFile/ClassFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ class ClassFile extends TraitFile
1717
protected const FILE_FORMAT = '<?php
1818
%1$s%2$s
1919
class %3$s
20-
{%4$s%5$s%6$s%7$s}';
20+
{%4$s%5$s%6$s%7$s}
21+
';
2122

2223
/**
2324
* The name of the base class extended by this class

src/SchemaGenerator/CodeGenerator/CodeFile/TraitFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ class TraitFile extends AbstractCodeFile
1919
protected const FILE_FORMAT = '<?php
2020
%1$s%2$s
2121
trait %3$s
22-
{%4$s%5$s}';
22+
{%4$s%5$s}
23+
';
2324

2425
/**
2526
* This string stores the name of the namespace which this class belongs to

tests/files_expected/arguments_objects/WithInputObjectArgArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ public function setObjectProperty(SomeInputObject $someInputObject)
1414

1515
return $this;
1616
}
17-
}
17+
}

tests/files_expected/arguments_objects/WithListArgArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ public function setListProperty(array $listProperty)
1414

1515
return $this;
1616
}
17-
}
17+
}

tests/files_expected/arguments_objects/WithMultipleEnumArgArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function setEnumProperty($some)
1515

1616
return $this;
1717
}
18-
}
18+
}

tests/files_expected/arguments_objects/WithMultipleInputObjectArgsArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ public function setAnotherObjectProperty(AnotherInputObject $anotherInputObject)
2222

2323
return $this;
2424
}
25-
}
25+
}

tests/files_expected/arguments_objects/WithMultipleListArgsArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ public function setAnotherListProperty(array $anotherListProperty)
2222

2323
return $this;
2424
}
25-
}
25+
}

tests/files_expected/arguments_objects/WithMultipleScalarArgsArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ public function setAnotherScalarProperty($anotherScalarProperty)
2222

2323
return $this;
2424
}
25-
}
25+
}

tests/files_expected/arguments_objects/WithScalarArgArgumentsObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ public function setScalarProperty($scalarProperty)
1414

1515
return $this;
1616
}
17-
}
17+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?php
22

33
class ClassExtendsBase extends Base
4-
{}
4+
{}

0 commit comments

Comments
 (0)