@@ -39,21 +39,21 @@ public function compile($pharFile = 'docs.phar')
39
39
unlink ($ pharFile );
40
40
}
41
41
42
- $ process = new Process ('git log --pretty="%H" -n1 HEAD ' , __DIR__ );
42
+ $ process = new Process ([ 'git ' , ' log ' , ' --pretty="%H" ' , ' -n1 ' , ' HEAD '] , __DIR__ );
43
43
if (0 != $ process ->run ()) {
44
44
throw new \RuntimeException ('Can \'t run git log. ' );
45
45
}
46
46
$ this ->version = trim ($ process ->getOutput ());
47
47
48
- $ process = new Process ('git log -n1 --pretty=%ci HEAD ' , __DIR__ );
48
+ $ process = new Process ([ 'git ' , ' log ' , ' -n1 ' , ' --pretty=%ci ' , ' HEAD '] , __DIR__ );
49
49
if (0 != $ process ->run ()) {
50
50
throw new \RuntimeException ('Can \'t run git log. ' );
51
51
}
52
52
$ date = new \DateTime (trim ($ process ->getOutput ()));
53
53
$ date ->setTimezone (new \DateTimeZone ('UTC ' ));
54
54
$ this ->versionDate = $ date ->format ('Y-m-d H:i:s ' );
55
55
56
- $ process = new Process ('git describe --tags HEAD ' );
56
+ $ process = new Process ([ 'git ' , ' describe ' , ' --tags ' , ' HEAD '] );
57
57
if (0 == $ process ->run ()) {
58
58
$ this ->version = trim ($ process ->getOutput ());
59
59
}
@@ -80,11 +80,11 @@ public function compile($pharFile = 'docs.phar')
80
80
->name ('*.php ' )
81
81
->exclude ('Tests ' )
82
82
->in (__DIR__ .'/../../vendor/doctrine/ ' )
83
+ ->in (__DIR__ .'/../../vendor/gajus/ ' )
83
84
->in (__DIR__ .'/../../vendor/psr/ ' )
84
85
->in (__DIR__ .'/../../vendor/scrivo/ ' )
85
86
->in (__DIR__ .'/../../vendor/symfony/ ' )
86
87
->in (__DIR__ .'/../../vendor/twig/ ' )
87
- ->in (__DIR__ .'/../../vendor/ralouphie/ ' )
88
88
;
89
89
90
90
foreach ($ finder as $ file ) {
0 commit comments