Skip to content

Commit aa0e85b

Browse files
Merge branch '5.4' into 6.2
* 5.4: Migrate to `static` data providers using `rector/rector`
2 parents fe7d713 + 4fe5cf6 commit aa0e85b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/OptionsResolverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public function testDeprecationMessages(\Closure $configureOptions, array $optio
539539
$this->assertSame($expectedCount, $count);
540540
}
541541

542-
public function provideDeprecationData()
542+
public static function provideDeprecationData()
543543
{
544544
yield 'It deprecates an option with default message' => [
545545
function (OptionsResolver $resolver) {
@@ -837,7 +837,7 @@ public function testResolveFailsIfInvalidType($actualType, $allowedType, $except
837837
$this->resolver->resolve(['option' => $actualType]);
838838
}
839839

840-
public function provideInvalidTypes()
840+
public static function provideInvalidTypes()
841841
{
842842
return [
843843
[true, 'string', 'The option "option" with value true is expected to be of type "string", but is of type "bool".'],

0 commit comments

Comments
 (0)