-
Notifications
You must be signed in to change notification settings - Fork 60
CICD 46 Add Code Formatter And CI/CD #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
krishneetRAJ
wants to merge
7
commits into
utopia-php:main
Choose a base branch
from
krishneetRAJ:cicd-46-add-code-formatter-and-CI/CD
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a8c8c1c
Setup and configured Laravel Pint
krishneetRAJ d5b84c3
Merge branch 'utopia-php:main' into cicd-46-add-code-formatter-and-CI/CD
krishneetRAJ 4634622
Added linter workflow
krishneetRAJ e953ca3
Merge branch 'utopia-php:main' into cicd-46-add-code-formatter-and-CI/CD
krishneetRAJ 68e60f3
Fix SA_EAST_1 constant and update checkout action to v4 according to …
krishneetRAJ bff2c03
Merge review-copilot-fixes: resolve conflicts and include Copilot fixes
krishneetRAJ 4aa3c76
Fix YAML indentation for linter workflow
krishneetRAJ File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "preset": "psr12", | ||
| "exclude": [ | ||
| "tests/resources" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,97 +8,97 @@ | |||||
|
|
||||||
| class S3 extends Device | ||||||
| { | ||||||
| const METHOD_GET = 'GET'; | ||||||
| public const METHOD_GET = 'GET'; | ||||||
|
|
||||||
| const METHOD_POST = 'POST'; | ||||||
| public const METHOD_POST = 'POST'; | ||||||
|
|
||||||
| const METHOD_PUT = 'PUT'; | ||||||
| public const METHOD_PUT = 'PUT'; | ||||||
|
|
||||||
| const METHOD_PATCH = 'PATCH'; | ||||||
| public const METHOD_PATCH = 'PATCH'; | ||||||
|
|
||||||
| const METHOD_DELETE = 'DELETE'; | ||||||
| public const METHOD_DELETE = 'DELETE'; | ||||||
|
|
||||||
| const METHOD_HEAD = 'HEAD'; | ||||||
| public const METHOD_HEAD = 'HEAD'; | ||||||
|
|
||||||
| const METHOD_OPTIONS = 'OPTIONS'; | ||||||
| public const METHOD_OPTIONS = 'OPTIONS'; | ||||||
|
|
||||||
| const METHOD_CONNECT = 'CONNECT'; | ||||||
| public const METHOD_CONNECT = 'CONNECT'; | ||||||
|
|
||||||
| const METHOD_TRACE = 'TRACE'; | ||||||
| public const METHOD_TRACE = 'TRACE'; | ||||||
|
|
||||||
| const HTTP_VERSION_1_1 = CURL_HTTP_VERSION_1_1; | ||||||
| public const HTTP_VERSION_1_1 = CURL_HTTP_VERSION_1_1; | ||||||
|
|
||||||
| const HTTP_VERSION_2_0 = CURL_HTTP_VERSION_2_0; | ||||||
| public const HTTP_VERSION_2_0 = CURL_HTTP_VERSION_2_0; | ||||||
|
|
||||||
| const HTTP_VERSION_2 = CURL_HTTP_VERSION_2; | ||||||
| public const HTTP_VERSION_2 = CURL_HTTP_VERSION_2; | ||||||
|
|
||||||
| const HTTP_VERSION_1_0 = CURL_HTTP_VERSION_1_0; | ||||||
| public const HTTP_VERSION_1_0 = CURL_HTTP_VERSION_1_0; | ||||||
|
|
||||||
| /** | ||||||
| * AWS Regions constants | ||||||
| */ | ||||||
| const US_EAST_1 = 'us-east-1'; | ||||||
| public const US_EAST_1 = 'us-east-1'; | ||||||
|
|
||||||
| const US_EAST_2 = 'us-east-2'; | ||||||
| public const US_EAST_2 = 'us-east-2'; | ||||||
|
|
||||||
| const US_WEST_1 = 'us-west-1'; | ||||||
| public const US_WEST_1 = 'us-west-1'; | ||||||
|
|
||||||
| const US_WEST_2 = 'us-west-2'; | ||||||
| public const US_WEST_2 = 'us-west-2'; | ||||||
|
|
||||||
| const AF_SOUTH_1 = 'af-south-1'; | ||||||
| public const AF_SOUTH_1 = 'af-south-1'; | ||||||
|
|
||||||
| const AP_EAST_1 = 'ap-east-1'; | ||||||
| public const AP_EAST_1 = 'ap-east-1'; | ||||||
|
|
||||||
| const AP_SOUTH_1 = 'ap-south-1'; | ||||||
| public const AP_SOUTH_1 = 'ap-south-1'; | ||||||
|
|
||||||
| const AP_NORTHEAST_3 = 'ap-northeast-3'; | ||||||
| public const AP_NORTHEAST_3 = 'ap-northeast-3'; | ||||||
|
|
||||||
| const AP_NORTHEAST_2 = 'ap-northeast-2'; | ||||||
| public const AP_NORTHEAST_2 = 'ap-northeast-2'; | ||||||
|
|
||||||
| const AP_NORTHEAST_1 = 'ap-northeast-1'; | ||||||
| public const AP_NORTHEAST_1 = 'ap-northeast-1'; | ||||||
|
|
||||||
| const AP_SOUTHEAST_1 = 'ap-southeast-1'; | ||||||
| public const AP_SOUTHEAST_1 = 'ap-southeast-1'; | ||||||
|
|
||||||
| const AP_SOUTHEAST_2 = 'ap-southeast-2'; | ||||||
| public const AP_SOUTHEAST_2 = 'ap-southeast-2'; | ||||||
|
|
||||||
| const CA_CENTRAL_1 = 'ca-central-1'; | ||||||
| public const CA_CENTRAL_1 = 'ca-central-1'; | ||||||
|
|
||||||
| const EU_CENTRAL_1 = 'eu-central-1'; | ||||||
| public const EU_CENTRAL_1 = 'eu-central-1'; | ||||||
|
|
||||||
| const EU_WEST_1 = 'eu-west-1'; | ||||||
| public const EU_WEST_1 = 'eu-west-1'; | ||||||
|
|
||||||
| const EU_SOUTH_1 = 'eu-south-1'; | ||||||
| public const EU_SOUTH_1 = 'eu-south-1'; | ||||||
|
|
||||||
| const EU_WEST_2 = 'eu-west-2'; | ||||||
| public const EU_WEST_2 = 'eu-west-2'; | ||||||
|
|
||||||
| const EU_WEST_3 = 'eu-west-3'; | ||||||
| public const EU_WEST_3 = 'eu-west-3'; | ||||||
|
|
||||||
| const EU_NORTH_1 = 'eu-north-1'; | ||||||
| public const EU_NORTH_1 = 'eu-north-1'; | ||||||
|
|
||||||
| const SA_EAST_1 = 'eu-north-1'; | ||||||
| public const SA_EAST_1 = 'eu-north-1'; | ||||||
|
||||||
| public const SA_EAST_1 = 'eu-north-1'; | |
| public const SA_EAST_1 = 'sa-east-1'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using actions/checkout@v2 is outdated and has known security vulnerabilities. Update to actions/checkout@v4 or the latest stable version for better security and performance.