File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 76
76
- name : Set Framework version
77
77
run : composer config version "12.x-dev"
78
78
79
+ - name : Set Minimum dependencies for `prefer-lowest`
80
+ uses : nick-fields/retry@v3
81
+ with :
82
+ timeout_minutes : 5
83
+ max_attempts : 5
84
+ command : composer require opis/string:2.0.1 --no-interaction --no-update
85
+ shell : bash
86
+ if : matrix.stability == 'prefer-lowest'
87
+
79
88
- name : Install dependencies
80
89
uses : nick-fields/retry@v3
81
90
with :
@@ -145,6 +154,15 @@ jobs:
145
154
- name : Set Framework version
146
155
run : composer config version "12.x-dev"
147
156
157
+ - name : Set Minimum dependencies for `prefer-lowest`
158
+ uses : nick-fields/retry@v3
159
+ with :
160
+ timeout_minutes : 5
161
+ max_attempts : 5
162
+ command : composer require opis/string:2.0.1 --no-interaction --no-update
163
+ shell : bash
164
+ if : matrix.stability == 'prefer-lowest'
165
+
148
166
- name : Install dependencies
149
167
uses : nick-fields/retry@v3
150
168
with :
Original file line number Diff line number Diff line change 12
12
13
13
class SupportStrTest extends TestCase
14
14
{
15
+ /** {@inheritdoc} */
16
+ #[\Override]
17
+ protected function tearDown (): void
18
+ {
19
+ Str::createRandomStringsNormally ();
20
+ }
21
+
15
22
public function testStringCanBeLimitedByWords (): void
16
23
{
17
24
$ this ->assertSame ('Taylor... ' , Str::words ('Taylor Otwell ' , 1 ));
You can’t perform that action at this time.
0 commit comments