From 325f1a9660e67c1baf343a8b8c859c43c67d1996 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 9 Jan 2017 18:59:29 +0100 Subject: php-victorjonsson-markdowndocs: import from Fedora --- php-victorjonsson-markdowndocs-cli-version.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 php-victorjonsson-markdowndocs-cli-version.patch (limited to 'php-victorjonsson-markdowndocs-cli-version.patch') 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__'); + } + + /** -- cgit