File tree 1 file changed +1
-25
lines changed
1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change 99
99
run : cs2pr ./phpcs-report.xml
100
100
101
101
phpstan :
102
- name : " PHPStan"
103
- runs-on : " ubuntu-latest"
104
-
105
- steps :
106
- - name : Checkout code
107
- uses : actions/checkout@v4
108
-
109
- - name : Install PHP
110
- uses : shivammathur/setup-php@v2
111
- with :
112
- php-version : ' latest'
113
- coverage : none
114
- tools : phpstan
115
-
116
- # Install dependencies and handle caching in one go.
117
- # Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized.
118
- # @link https://github.com/marketplace/actions/install-composer-dependencies
119
- - name : Install Composer dependencies
120
- uses : " ramsey/composer-install@v3"
121
- with :
122
- # Bust the cache at least once a month - output format: YYYY-MM.
123
- custom-cache-suffix : $(date -u "+%Y-%m")
124
-
125
- - name : Run PHPStan
126
- run : phpstan analyse
102
+ uses : PHPCSStandards/.github/.github/workflows/reusable-phpstan.yml@main
You can’t perform that action at this time.
0 commit comments