File tree 3 files changed +6
-17
lines changed
HttpFoundation/Tests/Session/Storage/Proxy
3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ before_install:
55
55
export COMPOSER_UP='composer update --no-progress --ansi'
56
56
export COMPONENTS=$(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
57
57
export SYMFONY_DEPRECATIONS_HELPER=max[indirect]=170
58
- export SYMFONY_FEATURE_BRANCH=$(curl -s https://flex.symfony.com/versions.json | jq -r '."dev-name"')
58
+ export SYMFONY_FLEX_VERSIONS=$(curl -s https://flex.symfony.com/versions.json)
59
+ export SYMFONY_FEATURE_BRANCH=$(echo $SYMFONY_FLEX_VERSIONS | jq -r '."dev"')
59
60
60
61
nanoseconds () {
61
62
local cmd="date"
@@ -204,7 +205,10 @@ install:
204
205
# For the feature-branch, when deps=high, the version before it is checked out and tested with the locally patched components
205
206
if [[ $deps = high && $TRAVIS_BRANCH = $SYMFONY_FEATURE_BRANCH ]]; then
206
207
export FLIP='^'
207
- export SYMFONY_VERSION=$(echo "$SYMFONY_VERSIONS" | grep -o '/[1-9]\.[0-9].*' | tail -n 1 | sed s/.//) &&
208
+ export SYMFONY_VERSION=$(echo $SYMFONY_FLEX_VERSIONS | jq -r '."next"')
209
+ if [ $SYMFONY_VERSION = $SYMFONY_FEATURE_BRANCH ]; then
210
+ export SYMFONY_VERSION = $(echo $SYMFONY_FLEX_VERSIONS | jq -r '."stable"')
211
+ fi
208
212
git fetch --depth=2 origin $SYMFONY_VERSION &&
209
213
git checkout -m FETCH_HEAD &&
210
214
export COMPONENTS=$(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n' | sort)
Original file line number Diff line number Diff line change @@ -122,9 +122,6 @@ public function testGc()
122
122
$ this ->proxy ->gc (86400 );
123
123
}
124
124
125
- /**
126
- * @requires PHPUnit 5.1
127
- */
128
125
public function testValidateId ()
129
126
{
130
127
$ mock = $ this ->createMock (TestSessionHandler::class);
@@ -137,9 +134,6 @@ public function testValidateId()
137
134
$ this ->assertTrue ($ this ->proxy ->validateId ('id ' ));
138
135
}
139
136
140
- /**
141
- * @requires PHPUnit 5.1
142
- */
143
137
public function testUpdateTimestamp ()
144
138
{
145
139
$ mock = $ this ->createMock (TestSessionHandler::class);
Original file line number Diff line number Diff line change @@ -186,9 +186,6 @@ public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter()
186
186
$ this ->propertyAccessor ->getValue (new UninitializedPrivateProperty (), 'uninitialized ' );
187
187
}
188
188
189
- /**
190
- * @requires PHP 7
191
- */
192
189
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass ()
193
190
{
194
191
$ this ->expectException (AccessException::class);
@@ -206,9 +203,6 @@ public function getUninitialized(): array
206
203
$ this ->propertyAccessor ->getValue ($ object , 'uninitialized ' );
207
204
}
208
205
209
- /**
210
- * @requires PHP 7
211
- */
212
206
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass ()
213
207
{
214
208
$ this ->expectException (AccessException::class);
@@ -226,9 +220,6 @@ public function getUninitialized(): array
226
220
$ this ->propertyAccessor ->getValue ($ object , 'uninitialized ' );
227
221
}
228
222
229
- /**
230
- * @requires PHP 7
231
- */
232
223
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass ()
233
224
{
234
225
$ this ->expectException (AccessException::class);
You can’t perform that action at this time.
0 commit comments