From 54c114916c0a0b2f7423df00d0de8ad39788bcf8 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 5 May 2026 23:03:31 +0000 Subject: [PATCH] Force LF line endings via .gitattributes Snapshot tests on Windows runners failed because Git's autocrlf checked out fixture files with CRLF endings, while the PHP renderers emit LF. Pinning text files to LF makes cross-platform snapshot comparisons byte-identical. https://claude.ai/code/session_01YZuadYxunCSX7UMiiNxucr --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index aa8ebc7..5cc4f18 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,9 @@ # Path-based git attributes # https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html +# Normalize line endings to LF on checkout for cross-platform consistency. +* text=auto eol=lf + # Ignore all test and documentation with "export-ignore". /.github export-ignore /.gitattributes export-ignore