Skip to content

Commit 4c37738

Browse files
committed
style: remove phpstan in favor of mago analysis
1 parent 4b6b519 commit 4c37738

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+20115
-147
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ tests/ export-ignore
1212
.gitattributes export-ignore
1313
.gitignore export-ignore
1414
monorepo-builder.php export-ignore
15-
phpstan.neon.dist export-ignore
16-
phpstan-baseline.neon export-ignore
17-
phpstan-baseline.php export-ignore
1815
phpunit.xml export-ignore
1916
phpunit.xml.dist export-ignore
2017
README.md export-ignore

.github/workflows/coding-conventions.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
workflow_dispatch:
66

7-
# CSFixer and Rector are temporarily disabled until they have proper PHP 8.4 support
87
jobs:
98
check-style:
109
name: Run style check
@@ -27,6 +26,7 @@ jobs:
2726
run: |
2827
./vendor/bin/mago fmt --dry-run
2928
./vendor/bin/mago lint --reporting-format=github
29+
./vendor/bin/mago analyze --reporting-format=github
3030
3131
- name: Setup Bun
3232
uses: oven-sh/setup-bun@v2
@@ -36,40 +36,3 @@ jobs:
3636

3737
- name: Format
3838
run: bun run fmt:check
39-
40-
phpstan:
41-
name: "Run static analysis: PHPStan"
42-
runs-on: ubuntu-latest
43-
steps:
44-
- uses: actions/checkout@v4
45-
46-
- name: Setup PHP
47-
uses: shivammathur/setup-php@v2
48-
with:
49-
php-version: 8.4
50-
coverage: none
51-
52-
- name: Install composer dependencies
53-
uses: ramsey/composer-install@v3
54-
55-
- name: Run PHPStan
56-
run: vendor/bin/phpstan --error-format=github
57-
58-
# rector:
59-
# name: "Run static analysis: Rector"
60-
# runs-on: ubuntu-latest
61-
#
62-
# steps:
63-
# - uses: actions/checkout@v4
64-
#
65-
# - name: Setup PHP
66-
# uses: shivammathur/setup-php@v2
67-
# with:
68-
# php-version: 8.4
69-
# coverage: none
70-
#
71-
# - name: Install composer dependencies
72-
# uses: ramsey/composer-install@v3
73-
#
74-
# - name: Run Rector
75-
# run: vendor/bin/rector process --no-ansi --dry-run --no-progress-bar

0 commit comments

Comments
 (0)