@@ -336,7 +336,6 @@ public function testUnexistingGetVersionByLabel()
336336 $ history = $ this ->vm ->getVersionHistory ('/tests_version_base/versioned ' );
337337
338338 $ history ->getVersionByLabel ('definitlyNotSetLabel ' );
339-
340339 }
341340
342341 /**
@@ -350,7 +349,7 @@ public function testAddLabel()
350349 try {
351350 $ property = $ node ->getProperty ('stable ' );
352351
353- } catch (PathNotFoundException $ e ) {
352+ } catch (PathNotFoundException $ e ) {
354353 $ this ->fail ('the path "stable" should be found ' );
355354 }
356355 }
@@ -369,13 +368,13 @@ public function testHasVersionLabel()
369368
370369
371370 $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' ));
372- $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' ,$ version ));
371+ $ this ->assertFalse ($ history ->hasVersionLabel ('unsetlabel ' , $ version ));
373372
374373 $ this ->assertTrue ($ history ->hasVersionLabel ('stable ' ));
375- $ this ->assertTrue ($ history ->hasVersionLabel ('stable ' ,$ version ));
374+ $ this ->assertTrue ($ history ->hasVersionLabel ('stable ' , $ version ));
376375
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 ));
379378
380379 }
381380
@@ -393,14 +392,14 @@ public function testGetVersionLabels()
393392
394393 $ labels = $ history ->getVersionLabels ($ version );
395394 $ 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 ));
398397
399398 $ labels = $ history ->getVersionLabels ();
400399 $ 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 ));
404403 }
405404
406405 /**
@@ -414,9 +413,6 @@ public function testRemoveLabel()
414413 $ history ->removeVersionLabel ('toremove ' );
415414
416415 $ this ->assertFalse ($ history ->hasVersionLabel ('toremove ' ));
417-
418-
419-
420416 }
421417
422418
0 commit comments