diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-01-09 18:59:29 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-01-09 18:59:29 +0100 |
commit | 325f1a9660e67c1baf343a8b8c859c43c67d1996 (patch) | |
tree | 2235df2aa6dfd09320739684cfb11025ce9ae004 /php-victorjonsson-markdowndocs-cli-version.patch |
php-victorjonsson-markdowndocs: import from Fedora
Diffstat (limited to 'php-victorjonsson-markdowndocs-cli-version.patch')
-rw-r--r-- | php-victorjonsson-markdowndocs-cli-version.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/php-victorjonsson-markdowndocs-cli-version.patch b/php-victorjonsson-markdowndocs-cli-version.patch new file mode 100644 index 0000000..331e201 --- /dev/null +++ b/php-victorjonsson-markdowndocs-cli-version.patch @@ -0,0 +1,14 @@ +diff --git a/src/PHPDocsMD/Console/CLI.php b/src/PHPDocsMD/Console/CLI.php +index 6befd28..8f4586b 100644 +--- a/src/PHPDocsMD/Console/CLI.php ++++ b/src/PHPDocsMD/Console/CLI.php +@@ -14,8 +14,7 @@ class CLI extends Application { + + public function __construct() + { +- $json = json_decode(file_get_contents(__DIR__.'/../../../composer.json')); +- parent::__construct('PHP Markdown Documentation Generator', $json->version); ++ parent::__construct('PHP Markdown Documentation Generator', '__VERSION__'); + } + + /** |