Skip to content

Commit 8c1fec1

Browse files
committed
Static test fix
1 parent b640580 commit 8c1fec1

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

lib/internal/Magento/Framework/DB/Adapter/AdapterInterface.php

Lines changed: 26 additions & 26 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 2011 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\Framework\DB\Adapter;
@@ -16,66 +16,66 @@
1616
*/
1717
interface AdapterInterface
1818
{
19-
const INDEX_TYPE_PRIMARY = 'primary';
19+
public const INDEX_TYPE_PRIMARY = 'primary';
2020

21-
const INDEX_TYPE_UNIQUE = 'unique';
21+
public const INDEX_TYPE_UNIQUE = 'unique';
2222

23-
const INDEX_TYPE_INDEX = 'index';
23+
public const INDEX_TYPE_INDEX = 'index';
2424

25-
const INDEX_TYPE_FULLTEXT = 'fulltext';
25+
public const INDEX_TYPE_FULLTEXT = 'fulltext';
2626

27-
const FK_ACTION_CASCADE = 'CASCADE';
27+
public const FK_ACTION_CASCADE = 'CASCADE';
2828

29-
const FK_ACTION_SET_NULL = 'SET NULL';
29+
public const FK_ACTION_SET_NULL = 'SET NULL';
3030

31-
const FK_ACTION_NO_ACTION = 'NO ACTION';
31+
public const FK_ACTION_NO_ACTION = 'NO ACTION';
3232

33-
const FK_ACTION_RESTRICT = 'RESTRICT';
33+
public const FK_ACTION_RESTRICT = 'RESTRICT';
3434

35-
const FK_ACTION_SET_DEFAULT = 'SET DEFAULT';
35+
public const FK_ACTION_SET_DEFAULT = 'SET DEFAULT';
3636

37-
const INSERT_ON_DUPLICATE = 1;
37+
public const INSERT_ON_DUPLICATE = 1;
3838

39-
const INSERT_IGNORE = 2;
39+
public const INSERT_IGNORE = 2;
4040

4141
/** Strategy for updating data in table. See https://dev.mysql.com/doc/refman/5.7/en/replace.html */
42-
const REPLACE = 4;
42+
public const REPLACE = 4;
4343

44-
const ISO_DATE_FORMAT = 'yyyy-MM-dd';
44+
public const ISO_DATE_FORMAT = 'yyyy-MM-dd';
4545

46-
const ISO_DATETIME_FORMAT = 'yyyy-MM-dd HH-mm-ss';
46+
public const ISO_DATETIME_FORMAT = 'yyyy-MM-dd HH-mm-ss';
4747

48-
const INTERVAL_SECOND = 'SECOND';
48+
public const INTERVAL_SECOND = 'SECOND';
4949

50-
const INTERVAL_MINUTE = 'MINUTES';
50+
public const INTERVAL_MINUTE = 'MINUTES';
5151

52-
const INTERVAL_HOUR = 'HOURS';
52+
public const INTERVAL_HOUR = 'HOURS';
5353

54-
const INTERVAL_DAY = 'DAYS';
54+
public const INTERVAL_DAY = 'DAYS';
5555

56-
const INTERVAL_MONTH = 'MONTHS';
56+
public const INTERVAL_MONTH = 'MONTHS';
5757

58-
const INTERVAL_YEAR = 'YEARS';
58+
public const INTERVAL_YEAR = 'YEARS';
5959

6060
/**
6161
* Error message for DDL query in transactions
6262
*/
63-
const ERROR_DDL_MESSAGE = 'DDL statements are not allowed in transactions';
63+
public const ERROR_DDL_MESSAGE = 'DDL statements are not allowed in transactions';
6464

6565
/**
6666
* Error message for unfinished rollBack transaction
6767
*/
68-
const ERROR_ROLLBACK_INCOMPLETE_MESSAGE = 'Rolled back transaction has not been completed correctly.';
68+
public const ERROR_ROLLBACK_INCOMPLETE_MESSAGE = 'Rolled back transaction has not been completed correctly.';
6969

7070
/**
7171
* Error message for asymmetric transaction rollback
7272
*/
73-
const ERROR_ASYMMETRIC_ROLLBACK_MESSAGE = 'Asymmetric transaction rollback.';
73+
public const ERROR_ASYMMETRIC_ROLLBACK_MESSAGE = 'Asymmetric transaction rollback.';
7474

7575
/**
7676
* Error message for asymmetric transaction commit
7777
*/
78-
const ERROR_ASYMMETRIC_COMMIT_MESSAGE = 'Asymmetric transaction commit.';
78+
public const ERROR_ASYMMETRIC_COMMIT_MESSAGE = 'Asymmetric transaction commit.';
7979

8080
/**
8181
* Begin new DB transaction for connection

0 commit comments

Comments
 (0)