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:
28
28
strategy :
29
29
matrix :
30
30
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
32
43
33
44
name : " QuickTest: PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})"
34
45
35
46
steps :
47
+ - name : Prepare git to leave line endings alone
48
+ run : git config --global core.autocrlf input
49
+
36
50
- name : Checkout code
37
51
uses : actions/checkout@v4
38
52
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ jobs:
118
118
continue-on-error : ${{ matrix.php == '8.5' }}
119
119
120
120
steps :
121
+ - name : Prepare git to leave line endings alone
122
+ run : git config --global core.autocrlf input
123
+
121
124
- name : Checkout code
122
125
uses : actions/checkout@v4
123
126
@@ -229,6 +232,9 @@ jobs:
229
232
name : " Coverage: ${{ matrix.php }} ${{ matrix.custom_ini && ' with custom ini settings' || '' }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})"
230
233
231
234
steps :
235
+ - name : Prepare git to leave line endings alone
236
+ run : git config --global core.autocrlf input
237
+
232
238
- name : Checkout code
233
239
uses : actions/checkout@v4
234
240
You can’t perform that action at this time.
0 commit comments