Skip to content

Commit

Permalink
💚 fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garak committed Feb 3, 2025
1 parent d228cc6 commit 76f3fc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
uses: docker://oskarstark/phpstan-ga:1.8.0
env:
REQUIRE_DEV: true
with:
version: 1.12.11
args: analyse
cs-fixer:
runs-on: ubuntu-24.04
Expand All @@ -26,6 +25,8 @@ jobs:
uses: actions/checkout@v4
- name: Fix CS
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run
tests:
runs-on: ubuntu-24.04
strategy:
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Random\\\\Randomizer\\:\\:getBytesFromString\\(\\)\\.$#"
count: 1
path: src/Factory.php

-
message: "#^Result of method PUGX\\\\Shortid\\\\Factory\\:\\:checkLength\\(\\) \\(void\\) is used\\.$#"
count: 1
Expand Down

0 comments on commit 76f3fc2

Please sign in to comment.