From e8cf262ee2bae6fce4773c2c1cec7011df1fbd7f Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Thu, 27 Feb 2020 11:32:53 +0100 Subject: [PATCH] add Windows print test --- .gitattributes | 5 ++++- .../PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_space.txt | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_space.txt diff --git a/.gitattributes b/.gitattributes index 7fb20848508b..adf72b383927 100644 --- a/.gitattributes +++ b/.gitattributes @@ -23,4 +23,7 @@ rector.yaml export-ignore utils export-ignore stubs export-ignore -.travis.yml export-ignore \ No newline at end of file +.travis.yml export-ignore + +# testing Windows spaces - https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings +packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_spac.txt text eol=crlf diff --git a/packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_space.txt b/packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_space.txt new file mode 100644 index 000000000000..4ba098b84373 --- /dev/null +++ b/packages/better-php-doc-parser/tests/PhpDocInfo/PhpDocInfoPrinter/FixtureBasic/with_space.txt @@ -0,0 +1,5 @@ +/** + * Run + * + * @param $param + */