From dcea49bf1cb23f4c4e00a8edad14feef9b002fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 14 Mar 2026 14:53:25 +0100 Subject: [PATCH 1/2] Fix phpize.bat EOL --- win32/build/phpize.bat | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/win32/build/phpize.bat b/win32/build/phpize.bat index 266473325899f..a23ac382ee15d 100644 --- a/win32/build/phpize.bat +++ b/win32/build/phpize.bat @@ -1,10 +1,10 @@ -@echo off -SET PHP_BUILDCONF_PATH=%~dp0 -cscript /nologo /e:jscript %PHP_BUILDCONF_PATH%\script\phpize.js %* -IF NOT EXIST configure.bat ( - echo Error generating configure script, configure script was not copied - exit /b 3 -) ELSE ( - echo Now run 'configure --help' -) -SET PHP_BUILDCONF_PATH= +@echo off +SET PHP_BUILDCONF_PATH=%~dp0 +cscript /nologo /e:jscript %PHP_BUILDCONF_PATH%\script\phpize.js %* +IF NOT EXIST configure.bat ( + echo Error generating configure script, configure script was not copied + exit /b 3 +) ELSE ( + echo Now run 'configure --help' +) +SET PHP_BUILDCONF_PATH= From d6f0d6fbb2f331838a354d68ff2db3eb89c7885f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sun, 15 Mar 2026 22:33:06 +0100 Subject: [PATCH 2/2] add to .gitattributes --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 86797917210fa..f0ab159a9d039 100644 --- a/.gitattributes +++ b/.gitattributes @@ -29,5 +29,9 @@ # The OSS fuzz files are binary /ext/date/tests/ossfuzz*.txt binary +# "Win only" text files that should have CRLF EOL +*.bat -text eol=crlf +*.ps1 -text eol=crlf + # Vendored libraries /ext/dom/lexbor/lexbor linguist-vendored