Test Failed
Pull Request — master (#26)
by Christopher
03:49 queued 01:12
created
tests/unit/xsYearMonthDurationTest.php 3 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     public function testXsYearMonthDurationValid($duration, $message) {
38 38
         $d = new xsYearMonthDuration($duration);
39 39
         $e = (string)$d;
40
-        $this->assertEquals($duration,$e,$message);
40
+        $this->assertEquals($duration, $e, $message);
41 41
 
42 42
     }
43 43
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $d = new xsYearMonthDuration($duration);
59 59
             $e = (string)$d;
60 60
             $this->fail($message);
61
-        }catch(\Exception $e){}
61
+        } catch (\Exception $e) {}
62 62
     }
63 63
 
64 64
     public function testXsYearMonthDurationInvalidDataProvider() {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             $d = new xsYearMonthDuration($duration);
59 59
             $e = (string)$d;
60 60
             $this->fail($message);
61
-        }catch(\Exception $e){}
61
+        } catch(\Exception $e){}
62 62
     }
63 63
 
64 64
     public function testXsYearMonthDurationInvalidDataProvider() {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-         * @dataProvider testXsYearMonthDurationValidDataProvider
35
+     * @dataProvider testXsYearMonthDurationValidDataProvider
36 36
      */
37 37
     public function testXsYearMonthDurationValid($duration, $message) {
38 38
         $d = new xsYearMonthDuration($duration);
Please login to merge, or discard this patch.