@@ -336,7 +336,6 @@ public function testUnexistingGetVersionByLabel()
336
336
$ history = $ this ->vm ->getVersionHistory ('/tests_version_base/versioned ' );
337
337
338
338
$ history ->getVersionByLabel ('definitlyNotSetLabel ' );
339
-
340
339
}
341
340
342
341
/**
@@ -350,7 +349,7 @@ public function testAddLabel()
350
349
try {
351
350
$ property = $ node ->getProperty ('stable ' );
352
351
353
- } catch (PathNotFoundException $ e ) {
352
+ } catch (PathNotFoundException $ e ) {
354
353
$ this ->fail ('the path "stable" should be found ' );
355
354
}
356
355
}
@@ -369,13 +368,13 @@ public function testHasVersionLabel()
369
368
370
369
371
370
$ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' ));
372
- $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' ,$ version ));
371
+ $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' , $ version ));
373
372
374
373
$ this ->assertTrue ($ history ->hasVersionLabel ('stable ' ));
375
- $ this ->assertTrue ($ history ->hasVersionLabel ('stable ' ,$ version ));
374
+ $ this ->assertTrue ($ history ->hasVersionLabel ('stable ' , $ version ));
376
375
377
- $ this ->assertFalse ($ history ->hasVersionLabel ('anotherlabelname ' ,$ version ));
378
- $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' ,$ version ));
376
+ $ this ->assertFalse ($ history ->hasVersionLabel ('anotherlabelname ' , $ version ));
377
+ $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' , $ version ));
379
378
380
379
}
381
380
@@ -393,14 +392,14 @@ public function testGetVersionLabels()
393
392
394
393
$ labels = $ history ->getVersionLabels ($ version );
395
394
$ this ->assertEquals (2 , count ($ labels ));
396
- $ this ->assertTrue (in_array ('stable ' ,$ labels ));
397
- $ this ->assertTrue (in_array ('labelname ' ,$ labels ));
395
+ $ this ->assertTrue (in_array ('stable ' , $ labels ));
396
+ $ this ->assertTrue (in_array ('labelname ' , $ labels ));
398
397
399
398
$ labels = $ history ->getVersionLabels ();
400
399
$ this ->assertEquals (3 , count ($ labels ));
401
- $ this ->assertTrue (in_array ('stable ' ,$ labels ));
402
- $ this ->assertTrue (in_array ('labelname ' ,$ labels ));
403
- $ this ->assertTrue (in_array ('anotherlabelname ' ,$ labels ));
400
+ $ this ->assertTrue (in_array ('stable ' , $ labels ));
401
+ $ this ->assertTrue (in_array ('labelname ' , $ labels ));
402
+ $ this ->assertTrue (in_array ('anotherlabelname ' , $ labels ));
404
403
}
405
404
406
405
/**
@@ -414,9 +413,6 @@ public function testRemoveLabel()
414
413
$ history ->removeVersionLabel ('toremove ' );
415
414
416
415
$ this ->assertFalse ($ history ->hasVersionLabel ('toremove ' ));
417
-
418
-
419
-
420
416
}
421
417
422
418
0 commit comments