Skip to content

Commit d8af74a

Browse files
authored
Merge pull request #872 from pradeepkanaka/app-assurance
[ADO-333] App assurance
2 parents 4748473 + 84329f2 commit d8af74a

File tree

25 files changed

+77
-77
lines changed

25 files changed

+77
-77
lines changed

app/code/Meta/BusinessExtension/Block/Adminhtml/System/Config/DeleteConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function getButtonHtml()
120120
*
121121
* @return mixed
122122
*/
123-
protected function getStoreId()
123+
public function getStoreId()
124124
{
125125
$storeId = $this->getRequest()->getParam('store');
126126
if ($storeId === null && $this->systemConfig->isSingleStoreMode()) {

app/code/Meta/BusinessExtension/Controller/Adminhtml/ApiKey/Index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ class Index extends Action
2929
/**
3030
* @var KeyGenerator
3131
*/
32-
protected $apiKeyGenerator;
32+
public $apiKeyGenerator;
3333

3434
/**
3535
* @var WriterInterface
3636
*/
37-
protected $configWriter;
37+
public $configWriter;
3838

3939
/**
4040
* @var LoggerInterface
4141
*/
42-
protected $logger;
42+
public $logger;
4343

4444
/**
4545
* Index constructor

app/code/Meta/BusinessExtension/Model/Api/CoreConfigFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CoreConfigFactory
2929
*
3030
* @var ObjectManagerInterface
3131
*/
32-
protected ObjectManagerInterface $objectManager;
32+
public ObjectManagerInterface $objectManager;
3333

3434
/**
3535
* @param ObjectManagerInterface $objectManager

app/code/Meta/BusinessExtension/Model/Api/CustomApiKey/ApiKeyService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ class ApiKeyService
3333
/**
3434
* @var KeyGenerator
3535
*/
36-
protected $apiKeyGenerator;
36+
public $apiKeyGenerator;
3737

3838
/**
3939
* @var WriterInterface
4040
*/
41-
protected $configWriter;
41+
public $configWriter;
4242

4343
/**
4444
* @var ScopeConfigInterface
4545
*/
46-
protected $scopeConfig;
46+
public $scopeConfig;
4747

4848
/**
4949
* @var LoggerInterface
5050
*/
51-
protected $logger;
51+
public $logger;
5252

5353
/**
5454
* @param KeyGenerator $apiKeyGenerator

app/code/Meta/BusinessExtension/Model/Api/CustomApiKey/Authenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Authenticator
3131
/**
3232
* @var ScopeConfigInterface
3333
*/
34-
protected $scopeConfig;
34+
public $scopeConfig;
3535

3636
/**
3737
* @var Http

app/code/Meta/BusinessExtension/Test/Unit/Controller/Adminhtml/Ajax/PersistConfigurationTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,37 +28,37 @@ class PersistConfigurationTest extends \PHPUnit\Framework\TestCase
2828
/**
2929
* @var MockObject
3030
*/
31-
protected $fbeHelper;
31+
public $fbeHelper;
3232

3333
/**
3434
* @var MockObject
3535
*/
36-
protected $systemConfig;
36+
public $systemConfig;
3737

3838
/**
3939
* @var MockObject
4040
*/
41-
protected $context;
41+
public $context;
4242

4343
/**
4444
* @var MockObject
4545
*/
46-
protected $resultJsonFactory;
46+
public $resultJsonFactory;
4747

4848
/**
4949
* @var \Meta\BusinessExtension\Controller\Adminhtml\Ajax\PersistConfiguration
5050
*/
51-
protected $fbFeedPush;
51+
public $fbFeedPush;
5252

5353
/**
5454
* @var MockObject
5555
*/
56-
protected $request;
56+
public $request;
5757

5858
/**
5959
* @var MockObject
6060
*/
61-
protected $graphApiAdapter;
61+
public $graphApiAdapter;
6262

6363
/**
6464
* Used to reset or change values after running a test

app/code/Meta/Catalog/Block/Adminhtml/Config/Backend/ArraySerialized.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ArraySerialized extends ConfigValue
1919
/**
2020
* @var SerializerInterface
2121
*/
22-
protected $serializer;
22+
public $serializer;
2323

2424
/**
2525
* @var Logger

app/code/Meta/Catalog/Model/Product/Feed/Method/NavigationFeedApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class NavigationFeedApi
3737
/**
3838
* @var int
3939
*/
40-
protected int $storeId;
40+
public int $storeId;
4141

4242
/**
4343
* @var FBEHelper
@@ -46,12 +46,12 @@ class NavigationFeedApi
4646
/**
4747
* @var SystemConfig
4848
*/
49-
protected SystemConfig $systemConfig;
49+
public SystemConfig $systemConfig;
5050

5151
/**
5252
* @var Filesystem
5353
*/
54-
protected Filesystem $fileSystem;
54+
public Filesystem $fileSystem;
5555
/**
5656
* @var CategoryUtilities
5757
*/
@@ -88,7 +88,7 @@ public function __construct(
8888
* @return string
8989
* @throws NoSuchEntityException
9090
*/
91-
protected function getFeedFileName(): string
91+
public function getFeedFileName(): string
9292
{
9393
$defaultStoreId = $this->systemConfig->getStoreManager()->getDefaultStoreView()->getId();
9494
$storeCode = $this->systemConfig->getStoreManager()->getStore($this->storeId)->getCode();
@@ -106,7 +106,7 @@ protected function getFeedFileName(): string
106106
* @throws FileSystemException
107107
* @throws NoSuchEntityException
108108
*/
109-
protected function generateNavigationFeed($jsTreeData): string
109+
public function generateNavigationFeed($jsTreeData): string
110110
{
111111
$filePath = 'export/' . $this->getFeedFileName();
112112
$directory = $this->fileSystem->getDirectoryWrite(self::VAR_DIR);

app/code/Meta/Catalog/Model/Product/Feed/Method/RatingsAndReviewsFeedApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class RatingsAndReviewsFeedApi
4040
/**
4141
* @var int
4242
*/
43-
protected int $storeId;
43+
public int $storeId;
4444

4545
/**
4646
* @var FBEHelper
@@ -50,7 +50,7 @@ class RatingsAndReviewsFeedApi
5050
/**
5151
* @var SystemConfig
5252
*/
53-
protected SystemConfig $systemConfig;
53+
public SystemConfig $systemConfig;
5454

5555
/**
5656
* @var BuilderTools
@@ -65,7 +65,7 @@ class RatingsAndReviewsFeedApi
6565
/**
6666
* @var Filesystem
6767
*/
68-
protected Filesystem $fileSystem;
68+
public Filesystem $fileSystem;
6969

7070
/**
7171
* @var ReviewCollectionFactory

app/code/Meta/Catalog/Test/Unit/Observer/ProcessCategoryAfterSaveEventObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ProcessCategoryAfterSaveEventObserverTest extends TestCase
3333
/**
3434
* @var ProcessCategoryAfterSaveEventObserver
3535
*/
36-
protected $processCategoryAfterSaveEventObserver;
36+
public $processCategoryAfterSaveEventObserver;
3737

3838
/**
3939
* @var MockObject

0 commit comments

Comments
 (0)