Skip to content

Commit 0b92de9

Browse files
author
oleksandrkravchuk
committed
community-features#252 Create static test for action controllers.
Fix static tests.
1 parent 87a70e9 commit 0b92de9

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

dev/tests/static/framework/Magento/TestFramework/Utility/AddedFiles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class AddedFiles
1515
/**
1616
* Provide list of new files.
1717
*
18-
* @param $changedFilesBaseDir
18+
* @param string $changedFilesBaseDir
1919
*
2020
* @return string[]
2121
*/

dev/tests/static/framework/Magento/TestFramework/Utility/ChildrenClassesSearch.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ class ChildrenClassesSearch
1717
*/
1818
private $classNameExtractor;
1919

20+
/**
21+
* ChildrenClassesSearch constructor.
22+
*/
2023
public function __construct()
2124
{
2225
$this->classNameExtractor = new ClassNameExtractor();

dev/tests/static/framework/tests/unit/testsuite/Magento/TestFramework/Utility/ChildrenClassesSearch/Z.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66
namespace Magento\TestFramework\Utility\ChildrenClassesSearch;
77

8+
// @codingStandardsIgnoreStar
89
interface Z
910
{
1011
}
12+
// @codingStandardsIgnoreEnd

dev/tests/static/framework/tests/unit/testsuite/Magento/TestFramework/Utility/FilesSearchTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function testGetEmptyList(): void
3838
{
3939
$pattern = 'zzz.txt';
4040

41-
4241
$files = FilesSearch::getFilesFromListFile(__DIR__, $pattern, function () {
4342
return ['1', '2', '3'];
4443
});

0 commit comments

Comments
 (0)