File tree Expand file tree Collapse file tree 4 files changed +183
-184
lines changed
Expand file tree Collapse file tree 4 files changed +183
-184
lines changed Original file line number Diff line number Diff line change 8989 - name : Run PHPStan
9090 run : vendor/bin/phpstan analyze
9191
92+ execute_php_flickr :
93+ name : 1️⃣ PHP - php-flickr-justified-layout
94+ runs-on : ubuntu-latest
95+ needs :
96+ - kill_previous
97+ steps :
98+ - name : Extract branch name
99+ shell : bash
100+ run : echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
101+ id : extract_branch
102+
103+ - name : Set up PHP
104+ uses : shivammathur/setup-php@v2
105+ with :
106+ php-version : 8.1
107+ coverage : none
108+ tools : phpstan
109+ env :
110+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
111+
112+ - name : Checkout code
113+ uses : actions/checkout@v3
114+ with :
115+ repository : ' LycheeOrg/php-flickr-justified-layout'
116+
117+ - name : Fix composer.json
118+ run : composer require --dev -W "lychee-org/phpstan-lychee":"dev-${{ steps.extract_branch.outputs.branch }}"
119+
120+ - name : Run PHPStan
121+ run : composer phpstan
122+
123+
92124 execute_nested_sets :
93125 if : ${{ false }} # disable for now
94126 name : 1️⃣ PHP - Nested sets
Original file line number Diff line number Diff line change 11/vendor /
22
3- .php-cs-fixer.cache
3+ .php-cs-fixer.cache
4+ .vscode
Original file line number Diff line number Diff line change 1111 "phpstan/phpstan-strict-rules" : " ^1.4" ,
1212 "slam/phpstan-extensions" : " ^6.0" ,
1313 "squizlabs/php_codesniffer" : " ^3.5" ,
14- "symplify/phpstan-rules" : " main-dev " ,
14+ "symplify/phpstan-rules" : " 12.0.2 " ,
1515 "thecodingmachine/phpstan-safe-rule" : " ^1.2"
1616 },
1717 "scripts" : {
You can’t perform that action at this time.
0 commit comments