-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fork/Jamesking56/patch-1
- Loading branch information
Showing
22 changed files
with
379 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -10,7 +10,25 @@ jobs: | |
- name: Checkout the code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Check for code style violation with PHP-CS-Fixer | ||
uses: OskarStark/[email protected] | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.2' | ||
coverage: none | ||
|
||
- name: Get Composer cache directory | ||
id: cache-composer | ||
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|
||
- name: Restore Composer cache | ||
uses: actions/cache@v3 | ||
with: | ||
args: --diff --dry-run | ||
path: ${{ steps.cache-composer.outputs.dir }} | ||
key: ${{ runner.os }}-${{ github.ref_name }}-composer-${{ hashFiles('**/composer.lock') }} | ||
|
||
- name: Install Composer dependencies | ||
run: | | ||
composer install --no-interaction --prefer-dist | ||
- name: Check for code style violation with PHP-CS-Fixer | ||
run: vendor/bin/php-cs-fixer fix --diff |
This file contains 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 |
---|---|---|
|
@@ -48,7 +48,7 @@ Its best to: | |
|
||
If you're forking the repository and wish to keep your copy up-to-date with the master, ensure you run this command: | ||
|
||
`git remote add upstream [email protected]:osiset/laravel-shopify.git` | ||
`git remote add upstream [email protected]:Kyon147/laravel-shopify.git` | ||
|
||
You can then update by simply running: | ||
|
||
|
This file contains 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 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 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 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 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 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 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 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,31 @@ | ||
<?php | ||
|
||
namespace Osiset\ShopifyApp\Objects\Enums; | ||
|
||
use Funeralzone\ValueObjects\Enums\EnumTrait; | ||
use Funeralzone\ValueObjects\ValueObject; | ||
|
||
/** | ||
* API call method types. | ||
* | ||
* @method static SessionTokenSource APP() | ||
* @method static SessionTokenSource CHECKOUT_EXTENSION() | ||
*/ | ||
final class SessionTokenSource implements ValueObject | ||
{ | ||
use EnumTrait; | ||
|
||
/** | ||
* Token form Shopify App | ||
* | ||
* @var int | ||
*/ | ||
public const APP = 0; | ||
|
||
/** | ||
* Token from UI extension | ||
* | ||
* @var int | ||
*/ | ||
public const CHECKOUT_EXTENSION = 1; | ||
} |
This file contains 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 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 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 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 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 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
Oops, something went wrong.