Skip to content

Commit 4fe5cf6

Browse files
OskarStarknicolas-grekas
authored andcommitted
Migrate to static data providers using rector/rector
1 parent 3a94720 commit 4fe5cf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/OptionsResolverTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public function testDeprecationMessages(\Closure $configureOptions, array $optio
552552
$this->assertSame($expectedCount, $count);
553553
}
554554

555-
public function provideDeprecationData()
555+
public static function provideDeprecationData()
556556
{
557557
yield 'It deprecates an option with default message' => [
558558
function (OptionsResolver $resolver) {
@@ -850,7 +850,7 @@ public function testResolveFailsIfInvalidType($actualType, $allowedType, $except
850850
$this->resolver->resolve(['option' => $actualType]);
851851
}
852852

853-
public function provideInvalidTypes()
853+
public static function provideInvalidTypes()
854854
{
855855
return [
856856
[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)