Skip to content

Commit fed8b6d

Browse files
mahesh-singh-rajawatfaizan-shk
authored andcommitted
AC-7422:Incompatible issues fix for PHP8.2-fixed static tests
1 parent 8b73fed commit fed8b6d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/internal/Magento/Framework/GraphQl/Exception/GraphQlAlreadyExistsException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class GraphQlAlreadyExistsException extends AlreadyExistsException implements Cl
2020
/**
2121
* Describing a category of the error
2222
*/
23-
const EXCEPTION_CATEGORY = 'graphql-already-exists';
23+
public const EXCEPTION_CATEGORY = 'graphql-already-exists';
2424

2525
/**
2626
* @var boolean

lib/internal/Magento/Framework/GraphQl/Exception/GraphQlAuthenticationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GraphQlAuthenticationException extends AuthenticationException implements
2222
/**
2323
* Describing a category of the error
2424
*/
25-
const EXCEPTION_CATEGORY = 'graphql-authentication';
25+
public const EXCEPTION_CATEGORY = 'graphql-authentication';
2626

2727
/**
2828
* @var boolean

lib/internal/Magento/Framework/GraphQl/Exception/GraphQlAuthorizationException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class GraphQlAuthorizationException extends AuthorizationException implements ClientAware, ProvidesExtensions
2121
{
22-
const EXCEPTION_CATEGORY = 'graphql-authorization';
22+
public const EXCEPTION_CATEGORY = 'graphql-authorization';
2323

2424
/**
2525
* @var boolean

lib/internal/Magento/Framework/GraphQl/Exception/GraphQlInputException.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
*
1919
* @api
2020
*/
21-
class GraphQlInputException extends LocalizedException
22-
implements AggregateExceptionInterface, ClientAware, ProvidesExtensions
21+
// phpcs:disable Generic.Files.LineLength.TooLong
22+
class GraphQlInputException extends LocalizedException implements AggregateExceptionInterface, ClientAware, ProvidesExtensions
2323
{
24-
const EXCEPTION_CATEGORY = 'graphql-input';
24+
public const EXCEPTION_CATEGORY = 'graphql-input';
2525

2626
/**
2727
* @var boolean

0 commit comments

Comments
 (0)