Completed
Pull Request — master (#26)
by
unknown
02:32
created
tests/Parser/Php/ParserTest/testParse_MethodNonDoc.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 class testParse_MethodNonDoc
15 15
 {
16 16
 	// @rest\method get something
17
-	public function Method1() {
17
+	public function Method1()
18
+	{
18 19
 
19 20
 	}
20 21
 }
Please login to merge, or discard this patch.
tests/Parser/Php/ParserTest/testParse_InMethod.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@
 block discarded – undo
17 17
 	 * Description of method
18 18
 	 * @rest\description some description
19 19
 	 */
20
-	public function Method1() {
20
+	public function Method1()
21
+	{
21 22
 		// @rest\method get something
22 23
 	}
23 24
 }
Please login to merge, or discard this patch.
tests/Parser/Php/ParserTest/testParse_NoMethods.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,8 @@
 block discarded – undo
17 17
 	 * Description of method
18 18
 	 * @rest\description some description
19 19
 	 */
20
-	public function Method1() {
20
+	public function Method1()
21
+	{
21 22
 
22 23
 	}
23 24
 }
Please login to merge, or discard this patch.
tests/Parser/Php/ParserTest/testParse_WithMethod.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
 	 * @rest\description some description
19 19
 	 * @rest\method get something
20 20
 	 */
21
-	public function Method1() {
21
+	public function Method1()
22
+	{
22 23
 
23 24
 	}
24 25
 }
Please login to merge, or discard this patch.
tests/Parser/Php/ParserTest/testParse_InClass.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,8 @@
 block discarded – undo
15 15
 	/**
16 16
 	 * @rest\version 2
17 17
 	 */
18
-	public function Method1() {
18
+	public function Method1()
19
+	{
19 20
 
20 21
 	}
21 22
 
Please login to merge, or discard this patch.
tests/Parser/Php/ParserTest/testParse_CurlyBraceFunction.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,8 @@
 block discarded – undo
7 7
  * @rest\title CurlyBraceFunction
8 8
  * @rest\api MyApi Example
9 9
  */
10
-class testParse_CurlyBraces {
10
+class testParse_CurlyBraces
11
+{
11 12
 
12 13
 	/**
13 14
 	 * @rest\endpoint /endpoint
Please login to merge, or discard this patch.
tests/issues/Issue0005Test.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-class Issue0005Test extends SwaggerGen_TestCase {
3
+class Issue0005Test extends SwaggerGen_TestCase
4
+{
4 5
 
5 6
 	/**
6 7
 	 * @covers \SwaggerGen\Swagger\Swagger::__construct
Please login to merge, or discard this patch.
tests/Swagger/OperationTest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
 	 * @covers \SwaggerGen\Swagger\Operation::handleCommand
241 241
 	 */
242 242
 	public function testHandleCommand_OperationId_UniqueInSwagger()
243
-	{	
243
+	{
244 244
 		// First occurance
245 245
 		$path = $this->parent->handleCommand('endpoint', 'foo');
246 246
 		$this->assertInstanceOf('\SwaggerGen\Swagger\Path', $path);
Please login to merge, or discard this patch.
example/api/Example.class.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,8 @@
 block discarded – undo
29 29
  *
30 30
  * @rest\api Users Get some useful information on users
31 31
  */
32
-class Example {
32
+class Example
33
+{
33 34
 
34 35
 	private $data = array();
35 36
 
Please login to merge, or discard this patch.