File tree Expand file tree Collapse file tree 4 files changed +6
-10
lines changed
app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/Product/Validator
dev/tests/integration/testsuite/Magento/Framework/View
lib/internal/Magento/Framework
Setup/Declaration/Schema/Dto/Factories Expand file tree Collapse file tree 4 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,10 @@ protected function setUp(): void
41
41
$ this ->groupRepositoryInterface = $ this ->createMock (
42
42
GroupRepository::class
43
43
);
44
- $ this -> searchCriteriaSearch = $ this ->createMock (SearchCriteria::class);
44
+ $ searchCriteriaSearch = $ this ->createMock (SearchCriteria::class);
45
45
$ this ->searchCriteriaBuilder = $ this ->createMock (SearchCriteriaBuilder::class);
46
- $ this ->searchCriteriaBuilder ->expects ($ this ->any ())->method ('create ' )->willReturn ($ this ->searchCriteriaSearch );
46
+ $ this ->searchCriteriaBuilder ->expects ($ this ->any ())->method ('create ' )
47
+ ->willReturn ($ searchCriteriaSearch );
47
48
$ this ->storeResolver = $ this ->createMock (
48
49
StoreResolver::class
49
50
);
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class LayoutTestWithExceptions extends \PHPUnit\Framework\TestCase
14
14
*/
15
15
protected $ layout ;
16
16
17
- protected function setUp (): void
17
+ protected function setUp ()
18
18
{
19
19
$ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
20
20
$ layoutFactory = $ objectManager ->get (\Magento \Framework \View \LayoutFactory::class);
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+ declare (strict_types=1 );
6
7
7
8
namespace Magento \Framework \Setup \Declaration \Schema \Dto \Factories ;
8
9
9
- use Magento \Framework \DB \Adapter \SqlVersionProvider ;
10
10
use Magento \Framework \ObjectManagerInterface ;
11
11
12
12
/**
@@ -24,11 +24,6 @@ class Integer implements FactoryInterface
24
24
*/
25
25
private $ className ;
26
26
27
- /**
28
- * @var SqlVersionProvider
29
- */
30
- private $ sqlVersionProvider ;
31
-
32
27
/**
33
28
* Constructor.
34
29
*
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ class Adminhtml extends \PHPUnit\Framework\TestCase
109
109
110
110
/**
111
111
*/
112
- protected function setUp (): void
112
+ protected function setUp ()
113
113
{
114
114
// These mocks are accessed via context
115
115
$ this ->_designMock = $ this ->_makeMock (\Magento \Framework \View \DesignInterface::class);
You can’t perform that action at this time.
0 commit comments