Skip to content

Commit acdd54c

Browse files
committed
Executed rector again
1 parent 548087a commit acdd54c

File tree

119 files changed

+390
-390
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+390
-390
lines changed

src/Symfony/Bundle/WebProfilerBundle/Tests/Controller/ProfilerControllerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function testToolbarActionWithEmptyToken($token)
136136
$this->assertEquals(200, $response->getStatusCode());
137137
}
138138

139-
public function getEmptyTokenCases()
139+
public static function getEmptyTokenCases()
140140
{
141141
return [
142142
[null],
@@ -165,7 +165,7 @@ public function testOpeningDisallowedPaths($path, $isAllowed)
165165
}
166166
}
167167

168-
public function getOpenFileCases()
168+
public static function getOpenFileCases()
169169
{
170170
return [
171171
['README.md', true],
@@ -355,7 +355,7 @@ public function testPhpinfoAction()
355355
$this->assertStringContainsString('PHP License', $client->getResponse()->getContent());
356356
}
357357

358-
public function provideCspVariants()
358+
public static function provideCspVariants()
359359
{
360360
return [
361361
[true],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/CommentHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static function getHandleValueTestData()
3939
];
4040
}
4141

42-
public function getDontHandleValueTestData()
42+
public static function getDontHandleValueTestData()
4343
{
4444
return [
4545
['>'],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/HashHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class HashHandlerTest extends AbstractHandlerTestCase
2020
{
21-
public function getHandleValueTestData()
21+
public static function getHandleValueTestData()
2222
{
2323
return [
2424
['#id', new Token(Token::TYPE_HASH, 'id', 0), ''],
@@ -29,7 +29,7 @@ public function getHandleValueTestData()
2929
];
3030
}
3131

32-
public function getDontHandleValueTestData()
32+
public static function getDontHandleValueTestData()
3333
{
3434
return [
3535
['id'],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/IdentifierHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class IdentifierHandlerTest extends AbstractHandlerTestCase
2020
{
21-
public function getHandleValueTestData()
21+
public static function getHandleValueTestData()
2222
{
2323
return [
2424
['foo', new Token(Token::TYPE_IDENTIFIER, 'foo', 0), ''],
@@ -29,7 +29,7 @@ public function getHandleValueTestData()
2929
];
3030
}
3131

32-
public function getDontHandleValueTestData()
32+
public static function getDontHandleValueTestData()
3333
{
3434
return [
3535
['>'],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/NumberHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class NumberHandlerTest extends AbstractHandlerTestCase
1919
{
20-
public function getHandleValueTestData()
20+
public static function getHandleValueTestData()
2121
{
2222
return [
2323
['12', new Token(Token::TYPE_NUMBER, '12', 0), ''],
@@ -30,7 +30,7 @@ public function getHandleValueTestData()
3030
];
3131
}
3232

33-
public function getDontHandleValueTestData()
33+
public static function getDontHandleValueTestData()
3434
{
3535
return [
3636
['hello'],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/StringHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class StringHandlerTest extends AbstractHandlerTestCase
2020
{
21-
public function getHandleValueTestData()
21+
public static function getHandleValueTestData()
2222
{
2323
return [
2424
['"hello"', new Token(Token::TYPE_STRING, 'hello', 1), ''],
@@ -31,7 +31,7 @@ public function getHandleValueTestData()
3131
];
3232
}
3333

34-
public function getDontHandleValueTestData()
34+
public static function getDontHandleValueTestData()
3535
{
3636
return [
3737
['hello'],

src/Symfony/Component/CssSelector/Tests/Parser/Handler/WhitespaceHandlerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class WhitespaceHandlerTest extends AbstractHandlerTestCase
1818
{
19-
public function getHandleValueTestData()
19+
public static function getHandleValueTestData()
2020
{
2121
return [
2222
[' ', new Token(Token::TYPE_WHITESPACE, ' ', 0), ''],
@@ -28,7 +28,7 @@ public function getHandleValueTestData()
2828
];
2929
}
3030

31-
public function getDontHandleValueTestData()
31+
public static function getDontHandleValueTestData()
3232
{
3333
return [
3434
['>'],

src/Symfony/Component/Mailer/Bridge/Amazon/Tests/Transport/SesTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getFactory(): TransportFactoryInterface
2828
return new SesTransportFactory($this->getDispatcher(), $this->getClient(), $this->getLogger());
2929
}
3030

31-
public function supportsProvider(): iterable
31+
public static function supportsProvider(): iterable
3232
{
3333
yield [
3434
new Dsn('ses+api', 'default'),
@@ -61,7 +61,7 @@ public function supportsProvider(): iterable
6161
];
6262
}
6363

64-
public function createProvider(): iterable
64+
public static function createProvider(): iterable
6565
{
6666
$client = $this->getClient();
6767
$dispatcher = $this->getDispatcher();
@@ -158,15 +158,15 @@ public function createProvider(): iterable
158158
];
159159
}
160160

161-
public function unsupportedSchemeProvider(): iterable
161+
public static function unsupportedSchemeProvider(): iterable
162162
{
163163
yield [
164164
new Dsn('ses+foo', 'default', self::USER, self::PASSWORD),
165165
'The "ses+foo" scheme is not supported; supported schemes for mailer "ses" are: "ses", "ses+api", "ses+https", "ses+smtp", "ses+smtps".',
166166
];
167167
}
168168

169-
public function incompleteDsnProvider(): iterable
169+
public static function incompleteDsnProvider(): iterable
170170
{
171171
yield [new Dsn('ses+smtp', 'default', self::USER)];
172172
}

src/Symfony/Component/Mailer/Bridge/Google/Tests/Transport/GmailTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getFactory(): TransportFactoryInterface
2424
return new GmailTransportFactory($this->getDispatcher(), null, $this->getLogger());
2525
}
2626

27-
public function supportsProvider(): iterable
27+
public static function supportsProvider(): iterable
2828
{
2929
yield [
3030
new Dsn('gmail', 'default'),
@@ -47,7 +47,7 @@ public function supportsProvider(): iterable
4747
];
4848
}
4949

50-
public function createProvider(): iterable
50+
public static function createProvider(): iterable
5151
{
5252
yield [
5353
new Dsn('gmail', 'default', self::USER, self::PASSWORD),
@@ -65,15 +65,15 @@ public function createProvider(): iterable
6565
];
6666
}
6767

68-
public function unsupportedSchemeProvider(): iterable
68+
public static function unsupportedSchemeProvider(): iterable
6969
{
7070
yield [
7171
new Dsn('gmail+foo', 'default', self::USER, self::PASSWORD),
7272
'The "gmail+foo" scheme is not supported; supported schemes for mailer "gmail" are: "gmail", "gmail+smtp", "gmail+smtps".',
7373
];
7474
}
7575

76-
public function incompleteDsnProvider(): iterable
76+
public static function incompleteDsnProvider(): iterable
7777
{
7878
yield [new Dsn('gmail+smtp', 'default', self::USER)];
7979

src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillTransportFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function getFactory(): TransportFactoryInterface
2626
return new MandrillTransportFactory($this->getDispatcher(), $this->getClient(), $this->getLogger());
2727
}
2828

29-
public function supportsProvider(): iterable
29+
public static function supportsProvider(): iterable
3030
{
3131
yield [
3232
new Dsn('mandrill', 'default'),
@@ -59,7 +59,7 @@ public function supportsProvider(): iterable
5959
];
6060
}
6161

62-
public function createProvider(): iterable
62+
public static function createProvider(): iterable
6363
{
6464
$client = $this->getClient();
6565
$dispatcher = $this->getDispatcher();
@@ -101,15 +101,15 @@ public function createProvider(): iterable
101101
];
102102
}
103103

104-
public function unsupportedSchemeProvider(): iterable
104+
public static function unsupportedSchemeProvider(): iterable
105105
{
106106
yield [
107107
new Dsn('mandrill+foo', 'default', self::USER),
108108
'The "mandrill+foo" scheme is not supported; supported schemes for mailer "mandrill" are: "mandrill", "mandrill+api", "mandrill+https", "mandrill+smtp", "mandrill+smtps".',
109109
];
110110
}
111111

112-
public function incompleteDsnProvider(): iterable
112+
public static function incompleteDsnProvider(): iterable
113113
{
114114
yield [new Dsn('mandrill+api', 'default')];
115115

0 commit comments

Comments
 (0)