Skip to content

Commit d20d2fd

Browse files
committed
Fix PHPDocumentor issue with dompdf.
1 parent 4a730b1 commit d20d2fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Gruntfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ module.exports = function(grunt) {
118118

119119
phpdocumentor : {
120120
command : function() {
121+
122+
// FIXME: https://github.com/gomoob/php-pushwoosh/issues/52
123+
// https://github.com/phpDocumentor/phpDocumentor2/issues/1602
124+
fs.writeFileSync('vendor/dompdf/dompdf/dompdf_config.inc.php', '<?php ');
125+
121126
return 'php vendor/phpdocumentor/phpdocumentor/bin/phpdoc.php --target=build/reports/phpdocumentor --directory=src/main/php';
122127
}
123128
},

0 commit comments

Comments
 (0)