Skip to content

Commit be44379

Browse files
committed
AC-13306::Adobe Commerce 2.4.8 core code is compatible with PHP 8.4
1 parent 2994ad5 commit be44379

File tree

10 files changed

+31
-36
lines changed

10 files changed

+31
-36
lines changed

app/code/Magento/PageBuilder/Block/Adminhtml/Stage/Render.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66

77
declare(strict_types=1);
@@ -15,11 +15,6 @@
1515
use Magento\PageBuilder\Model\Stage\Config;
1616
use Magento\Framework\Serialize\Serializer\Json;
1717

18-
/**
19-
* Class Render
20-
*
21-
* @api
22-
*/
2318
class Render extends Template
2419
{
2520
/**

app/code/Magento/PageBuilder/Block/WysiwygSetup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2018 Adobe
4+
* All Rights Reserved.
55
*/
66

77
declare(strict_types=1);

app/code/Magento/PageBuilder/Component/Form/Element/Wysiwyg.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2017 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

app/code/Magento/PageBuilder/Component/Form/HtmlCode.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\PageBuilder\Component\Form;
@@ -19,7 +19,7 @@
1919
*/
2020
class HtmlCode extends \Magento\Ui\Component\Form\Field
2121
{
22-
const HTML_ID_PLACEHOLDER = 'HTML_ID_PLACEHOLDER';
22+
public const HTML_ID_PLACEHOLDER = 'HTML_ID_PLACEHOLDER';
2323

2424
/**
2525
* @var BackendUrlInterface

app/code/Magento/PageBuilder/Controller/Adminhtml/ContentType/Image/Upload.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2017 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\PageBuilder\Controller\Adminhtml\ContentType\Image;
77

@@ -17,9 +17,9 @@
1717
*/
1818
class Upload extends \Magento\Backend\App\Action implements HttpPostActionInterface
1919
{
20-
const UPLOAD_DIR = 'wysiwyg';
20+
public const UPLOAD_DIR = 'wysiwyg';
2121

22-
const ADMIN_RESOURCE = 'Magento_Backend::content';
22+
public const ADMIN_RESOURCE = 'Magento_Backend::content';
2323

2424
/**
2525
* @var \Magento\Framework\Filesystem\DirectoryList

app/code/Magento/PageBuilder/Model/Catalog/Sorting/SimpleOption.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66

77
declare(strict_types=1);

app/code/Magento/PageBuilder/Model/Dom/Adapter/DocumentInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

app/code/Magento/PageBuilder/Model/Dom/Document.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

app/code/Magento/PageBuilder/Model/ResourceModel/Template/Grid/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66

77
declare(strict_types=1);

app/code/Magento/PageBuilder/Model/Stage/Config.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2017 Adobe
4+
* All Rights Reserved.
55
*/
66

77
declare(strict_types=1);
@@ -24,17 +24,17 @@
2424
*/
2525
class Config
2626
{
27-
const DEFAULT_PREVIEW_COMPONENT = 'Magento_PageBuilder/js/content-type/preview';
28-
const DEFAULT_MASTER_COMPONENT = 'Magento_PageBuilder/js/content-type/master';
27+
public const DEFAULT_PREVIEW_COMPONENT = 'Magento_PageBuilder/js/content-type/preview';
28+
public const DEFAULT_MASTER_COMPONENT = 'Magento_PageBuilder/js/content-type/master';
2929

30-
const XML_PATH_COLUMN_GRID_DEFAULT = 'cms/pagebuilder/column_grid_default';
31-
const XML_PATH_COLUMN_GRID_MAX = 'cms/pagebuilder/column_grid_max';
30+
public const XML_PATH_COLUMN_GRID_DEFAULT = 'cms/pagebuilder/column_grid_default';
31+
public const XML_PATH_COLUMN_GRID_MAX = 'cms/pagebuilder/column_grid_max';
3232

33-
const ROOT_CONTAINER_NAME = 'root-container';
33+
public const ROOT_CONTAINER_NAME = 'root-container';
3434

35-
const TEMPLATE_DELETE_RESOURCE = 'Magento_PageBuilder::template_delete';
36-
const TEMPLATE_SAVE_RESOURCE = 'Magento_PageBuilder::template_save';
37-
const TEMPLATE_APPLY_RESOURCE = 'Magento_PageBuilder::template_apply';
35+
public const TEMPLATE_DELETE_RESOURCE = 'Magento_PageBuilder::template_delete';
36+
public const TEMPLATE_SAVE_RESOURCE = 'Magento_PageBuilder::template_save';
37+
public const TEMPLATE_APPLY_RESOURCE = 'Magento_PageBuilder::template_apply';
3838

3939
private const CONTENT_TYPE_CACHE_ID = 'CONTENT_TYPE';
4040
private const TINY_MCE_CONFIG_CACHE_ID = 'TINY_MCE_CONFIG';

0 commit comments

Comments
 (0)