Skip to content

Commit da8c936

Browse files
committed
MAGETWO-95635: Updating default value for protected_extensions setting
1 parent 5a77099 commit da8c936

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/Code/File/Validator/NotProtectedExtensionTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class NotProtectedExtensionTest extends \PHPUnit\Framework\TestCase
1818
* Tests that phpt, pht are invalid extension types.
1919
*
2020
* @dataProvider isValidDataProvider
21+
* @return void
2122
*/
2223
public function testIsValid($extension)
2324
{
@@ -27,7 +28,10 @@ public function testIsValid($extension)
2728
$this->assertFalse($model->isValid($extension));
2829
}
2930

30-
public function isValidDataProvider()
31+
/**
32+
* @return array
33+
*/
34+
public function isValidDataProvider(): array
3135
{
3236
return [
3337
['phpt'],

0 commit comments

Comments
 (0)