Skip to content

Commit

Permalink
CC-34100 Fixes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
AsonUnique committed Aug 1, 2024
1 parent 0845e34 commit efddf3d
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 23 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
- name: Syntax check
run: find ./src -path src -prune -o -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v "No syntax errors detected" )

- name: Run CodeStyle checks
run: composer cs-check

- name: PHPStan setup
run: composer stan-setup

- name: Run PHPStan
run: composer stan

lowest:
name: Prefer Lowest
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .license
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
1 change: 1 addition & 0 deletions architecture-baseline.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"prefer-stable": true,
"scripts": {
"cs-check": "../../bin/phpcs -p -s --standard=vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml src/ tests/",
"cs-fix": "../../bin/phpcbf -p --standard=vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml src/ tests/"
"cs-fix": "../../bin/phpcbf -p --standard=vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml src/ tests/",
"stan": "phpstan analyse -c phpstan.neon -l 6 src/",
"stan-setup": "cp composer.json composer.backup && COMPOSER_MEMORY_LIMIT=-1 composer require --dev phpstan/phpstan:^0.12 && mv composer.backup composer.json"
},
"extra": {
"branch-alias": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand All @@ -20,7 +20,7 @@ interface AmazonQuicksightConstants
*
* @var string
*/
public const AWS_ACCOUNT_ID = 'QUICKSIGHT:AWS_ACCOUNT_ID';
public const AWS_ACCOUNT_ID = 'AMAZON_QUICKSIGHT:AWS_ACCOUNT_ID';

/**
* Specification:
Expand All @@ -30,7 +30,7 @@ interface AmazonQuicksightConstants
*
* @var string
*/
public const AWS_REGION = 'QUICKSIGHT:AWS_REGION';
public const AWS_REGION = 'AMAZON_QUICKSIGHT:AWS_REGION';

/**
* Specification:
Expand All @@ -40,17 +40,17 @@ interface AmazonQuicksightConstants
*
* @var string
*/
public const AWS_CREDENTIALS_KEY = 'QUICKSIGHT:AWS_CREDENTIALS_KEY';
public const AWS_CREDENTIALS_KEY = 'AMAZON_QUICKSIGHT:AWS_CREDENTIALS_KEY';

/**
* Specification:
* - AWS access key ID.
* - AWS access key secret.
*
* @api
*
* @var string
*/
public const AWS_CREDENTIALS_SECRET = 'QUICKSIGHT:AWS_CREDENTIALS_SECRET';
public const AWS_CREDENTIALS_SECRET = 'AMAZON_QUICKSIGHT:AWS_CREDENTIALS_SECRET';

/**
* Specification:
Expand All @@ -60,5 +60,5 @@ interface AmazonQuicksightConstants
*
* @var string
*/
public const AWS_CREDENTIALS_TOKEN = 'QUICKSIGHT:AWS_CREDENTIALS_TOKEN';
public const AWS_CREDENTIALS_TOKEN = 'AMAZON_QUICKSIGHT:AWS_CREDENTIALS_TOKEN';
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

Expand Down

0 comments on commit efddf3d

Please sign in to comment.