Completed
Pull Request — master (#45)
by
unknown
02:24
created
tests/Parser/Php/ParserTest.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -221,41 +221,41 @@
 block discarded – undo
221 221
 		$this->assertStatement($statements[0], 'title', 'Some words');
222 222
 	}
223 223
 
224
-    /**
225
-     * @covers \SwaggerGen\Parser\Php\Parser::parse
226
-     */
227
-    public function testParse_PropertyReadOnly()
228
-    {
229
-        $object = new \SwaggerGen\Parser\Php\Parser();
230
-        $this->assertInstanceOf('\SwaggerGen\Parser\Php\Parser', $object);
231
-
232
-        $statements = $object->parse(__DIR__ . '/ParserTest/testParse_PropertyReadOnly.php');
233
-
234
-        $this->assertCount(4, $statements);
235
-
236
-        $this->assertStatement($statements[0], 'title', 'Some words');
237
-        $this->assertStatement($statements[1], 'version', '2');
238
-        $this->assertStatement($statements[2], 'definition', 'Foo');
239
-        $this->assertStatement($statements[3], 'property!', 'string bar');
240
-    }
241
-
242
-    /**
243
-     * @covers \SwaggerGen\Parser\Php\Parser::parse
244
-     */
245
-    public function testParse_PropertyOptional()
246
-    {
247
-        $object = new \SwaggerGen\Parser\Php\Parser();
248
-        $this->assertInstanceOf('\SwaggerGen\Parser\Php\Parser', $object);
249
-
250
-        $statements = $object->parse(__DIR__ . '/ParserTest/testParse_PropertyOptional.php');
251
-
252
-        $this->assertCount(4, $statements);
253
-
254
-        $this->assertStatement($statements[0], 'title', 'Some words');
255
-        $this->assertStatement($statements[1], 'version', '2');
256
-        $this->assertStatement($statements[2], 'definition', 'Foo');
257
-        $this->assertStatement($statements[3], 'property?', 'string bar');
258
-    }
224
+	/**
225
+	 * @covers \SwaggerGen\Parser\Php\Parser::parse
226
+	 */
227
+	public function testParse_PropertyReadOnly()
228
+	{
229
+		$object = new \SwaggerGen\Parser\Php\Parser();
230
+		$this->assertInstanceOf('\SwaggerGen\Parser\Php\Parser', $object);
231
+
232
+		$statements = $object->parse(__DIR__ . '/ParserTest/testParse_PropertyReadOnly.php');
233
+
234
+		$this->assertCount(4, $statements);
235
+
236
+		$this->assertStatement($statements[0], 'title', 'Some words');
237
+		$this->assertStatement($statements[1], 'version', '2');
238
+		$this->assertStatement($statements[2], 'definition', 'Foo');
239
+		$this->assertStatement($statements[3], 'property!', 'string bar');
240
+	}
241
+
242
+	/**
243
+	 * @covers \SwaggerGen\Parser\Php\Parser::parse
244
+	 */
245
+	public function testParse_PropertyOptional()
246
+	{
247
+		$object = new \SwaggerGen\Parser\Php\Parser();
248
+		$this->assertInstanceOf('\SwaggerGen\Parser\Php\Parser', $object);
249
+
250
+		$statements = $object->parse(__DIR__ . '/ParserTest/testParse_PropertyOptional.php');
251
+
252
+		$this->assertCount(4, $statements);
253
+
254
+		$this->assertStatement($statements[0], 'title', 'Some words');
255
+		$this->assertStatement($statements[1], 'version', '2');
256
+		$this->assertStatement($statements[2], 'definition', 'Foo');
257
+		$this->assertStatement($statements[3], 'property?', 'string bar');
258
+	}
259 259
 
260 260
 	/**
261 261
 	 * @covers \SwaggerGen\Parser\Php\Parser::parse
Please login to merge, or discard this patch.