We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbfb85 commit ee6997eCopy full SHA for ee6997e
.github/workflows/static-analysis.yml
@@ -63,6 +63,16 @@ jobs:
63
- name: "PHPStan"
64
run: "make phpstan"
65
66
+ - name: "Generate baseline"
67
+ if: failure() && (matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1')
68
+ run: "php -d memory_limit=448M bin/phpstan --generate-baseline baseline-php-${{ matrix.php-version }}.neon"
69
+
70
+ - uses: actions/upload-artifact@v4
71
+ if: ${{ failure() }}
72
+ with:
73
+ name: baseline-${{ matrix.php-version }}
74
+ path: baseline-php-${{ matrix.php-version }}.neon
75
76
static-analysis-with-result-cache:
77
name: "PHPStan with result cache"
78
0 commit comments