File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,25 @@ jobs:
2828 strategy :
2929 matrix :
3030 os : ['ubuntu-latest', 'windows-latest']
31- php : ['5.4', '7.2', 'latest']
31+ php : ['7.2', 'latest']
32+
33+ include :
34+ - php : ' 5.4'
35+ os : ' ubuntu-latest'
36+ custom_ini : false
37+ # Installing on Windows with PHP 5.4 runs into all sorts of problems with Composer.
38+ # See this issue for more context (yes, I've seen this problem before):
39+ # @link https://github.com/PHPCSStandards/composer-installer/pull/213
40+ - php : ' 5.5'
41+ os : ' windows-latest'
42+ custom_ini : false
3243
3344 name : " QuickTest: PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})"
3445
3546 steps :
47+ - name : Prepare git to leave line endings alone
48+ run : git config --global core.autocrlf input
49+
3650 - name : Checkout code
3751 uses : actions/checkout@v4
3852
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ jobs:
118118 continue-on-error : ${{ matrix.php == '8.5' }}
119119
120120 steps :
121+ - name : Prepare git to leave line endings alone
122+ run : git config --global core.autocrlf input
123+
121124 - name : Checkout code
122125 uses : actions/checkout@v4
123126
@@ -229,6 +232,9 @@ jobs:
229232 name : " Coverage: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})"
230233
231234 steps :
235+ - name : Prepare git to leave line endings alone
236+ run : git config --global core.autocrlf input
237+
232238 - name : Checkout code
233239 uses : actions/checkout@v4
234240
You can’t perform that action at this time.
0 commit comments