Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
myagmarsurensedjav committed Jul 10, 2023
2 parents e6cfb7b + 4189839 commit 909d9fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.5.1
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- '**.php'

permissions:
contents: write

jobs:
php-code-styling:
runs-on: ubuntu-latest
Expand All @@ -16,9 +19,9 @@ jobs:
ref: ${{ github.head_ref }}

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@2.3.0
uses: aglipanci/laravel-pint-action@2.2.0

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
commit_message: Fix styling
5 changes: 3 additions & 2 deletions tests/Actions/CreatePaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ public function getExpiresAt(): Carbon
name: fn () => 'gateway-mock'
);

$payable = new class extends TestPayable {
$payable = new class extends TestPayable
{
};

TestPayment::use()::creating(function (Payment $payment) {
Expand All @@ -164,7 +165,7 @@ public function getExpiresAt(): Carbon

app(CreatePayment::class)($gateway, $payable, [
'foo' => 'bar',
'baz' => 'bol'
'baz' => 'bol',
]);
})->throws(\InvalidArgumentException::class);

Expand Down

0 comments on commit 909d9fd

Please sign in to comment.