File tree 6 files changed +13
-17
lines changed
6 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -380,9 +380,9 @@ private function getData($name)
380
380
array_shift ($ lines );
381
381
array_shift ($ lines );
382
382
383
- $ data ['bodyMessage ' ] = implode ("\n" , $ lines );
383
+ $ this -> data ['bodyMessage ' ] = implode ("\n" , $ lines );
384
384
385
- return $ data ['bodyMessage ' ];
385
+ return $ this -> data ['bodyMessage ' ];
386
386
}
387
387
388
388
$ parser = new Parser \CommitParser ();
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ protected function doParse()
44
44
$ this ->consumeNewLine ();
45
45
46
46
$ this ->consume ('committer ' );
47
- list ($ this ->committerName , $ this ->committerEmail , $ this -> committerDate ) = $ this ->consumeNameEmailDate ();
48
- $ this ->committerDate = $ this ->parseDate ($ this -> committerDate );
47
+ list ($ this ->committerName , $ this ->committerEmail , $ committerDate ) = $ this ->consumeNameEmailDate ();
48
+ $ this ->committerDate = $ this ->parseDate ($ committerDate );
49
49
50
50
// will consume an GPG signed commit if there is one
51
51
$ this ->consumeGPGSignature ();
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ protected function doParse()
37
37
}
38
38
39
39
$ this ->consume ('author ' );
40
- list ($ commit ['authorName ' ], $ commit ['authorEmail ' ], $ commit [ ' authorDate ' ] ) = $ this ->consumeNameEmailDate ();
41
- $ commit ['authorDate ' ] = $ this ->parseDate ($ commit [ ' authorDate ' ] );
40
+ list ($ commit ['authorName ' ], $ commit ['authorEmail ' ], $ authorDate ) = $ this ->consumeNameEmailDate ();
41
+ $ commit ['authorDate ' ] = $ this ->parseDate ($ authorDate );
42
42
$ this ->consumeNewLine ();
43
43
44
44
$ this ->consume ('committer ' );
45
- list ($ commit ['committerName ' ], $ commit ['committerEmail ' ], $ commit [ ' committerDate ' ] ) = $ this ->consumeNameEmailDate ();
46
- $ commit ['committerDate ' ] = $ this ->parseDate ($ commit [ ' committerDate ' ] );
45
+ list ($ commit ['committerName ' ], $ commit ['committerEmail ' ], $ committerDate ) = $ this ->consumeNameEmailDate ();
46
+ $ commit ['committerDate ' ] = $ this ->parseDate ($ committerDate );
47
47
48
48
// will consume an GPG signed commit if there is one
49
49
$ this ->consumeGPGSignature ();
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ protected function doParse()
40
40
$ this ->consumeNewLine ();
41
41
42
42
$ this ->consume ('tagger ' );
43
- list ($ this ->taggerName , $ this ->taggerEmail , $ this -> taggerDate ) = $ this ->consumeNameEmailDate ();
44
- $ this ->taggerDate = $ this ->parseDate ($ this -> taggerDate );
43
+ list ($ this ->taggerName , $ this ->taggerEmail , $ taggerDate ) = $ this ->consumeNameEmailDate ();
44
+ $ this ->taggerDate = $ this ->parseDate ($ taggerDate );
45
45
46
46
$ this ->consumeNewLine ();
47
47
$ this ->consumeNewLine ();
Original file line number Diff line number Diff line change @@ -191,9 +191,9 @@ private function getData($name)
191
191
array_shift ($ lines );
192
192
array_pop ($ lines );
193
193
194
- $ data ['bodyMessage ' ] = implode ("\n" , $ lines );
194
+ $ this -> data ['bodyMessage ' ] = implode ("\n" , $ lines );
195
195
196
- return $ data ['bodyMessage ' ];
196
+ return $ this -> data ['bodyMessage ' ];
197
197
}
198
198
199
199
$ parser = new TagParser ();
Original file line number Diff line number Diff line change @@ -354,11 +354,7 @@ protected function initialize()
354
354
$ parser = new Parser \ReferenceParser ();
355
355
$ output = $ this ->repository ->run ('show-ref ' );
356
356
} catch (RuntimeException $ e ) {
357
- $ output = $ e ->getOutput ();
358
- $ error = $ e ->getErrorOutput ();
359
- if ($ error ) {
360
- throw new RuntimeException ('Error while getting list of references: ' .$ error );
361
- }
357
+ $ output = null ;
362
358
}
363
359
$ parser ->parse ($ output );
364
360
You can’t perform that action at this time.
0 commit comments