From ef1d9806b3e73039645a83c246d2aa18359f2368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Fri, 17 Apr 2020 12:12:57 +0200 Subject: [PATCH 1/3] github: Highlight stub files with php syntax highlighter https://github.com/github/linguist#overrides --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 021da0453e..ed98b8a4c8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ *.php text eol=lf +*.stub linguist-language=PHP tests/PHPStan/Command/ErrorFormatter/data/WindowsNewlines.php eol=crlf From e84c058534bf40eef28e9cda6c08e2aaf089f19e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Fri, 17 Apr 2020 12:18:24 +0200 Subject: [PATCH 2/3] github: Highlight neonfiles with yaml syntax highlighter --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index ed98b8a4c8..38d1f155b8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ *.php text eol=lf *.stub linguist-language=PHP +*.neon linguist-language=YAML tests/PHPStan/Command/ErrorFormatter/data/WindowsNewlines.php eol=crlf From af2d701369d35a9a27dc6b85e3d79681869866da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Fri, 19 Jun 2020 13:30:35 +0200 Subject: [PATCH 3/3] removed yaml highlighter for neon files --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 38d1f155b8..ed98b8a4c8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,4 @@ *.php text eol=lf *.stub linguist-language=PHP -*.neon linguist-language=YAML tests/PHPStan/Command/ErrorFormatter/data/WindowsNewlines.php eol=crlf