File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,16 @@ jobs:
2828        with :
2929          php-version : ' 8.4' 
3030
31-       - name : Install dependencies 
32-         env : 
33-           COMPOSER_AUTH :  ${{ secrets.COMPOSER_AUTH }} 
34-         run :  composer require --dev friendsofphp /php-cs-fixer
31+       - name : Download php-cs-fixer standalone 
32+         run :  | 
33+           curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/latest/download/php-cs-fixer.phar -o ./php-cs-fixer  
34+           chmod +x . /php-cs-fixer 
3535
3636name : Run php-cs-fixer and report with reviewdog 
3737        if : ${{ steps.changed-files.outputs.any_changed == 'true' }} 
3838        env :
3939          REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
4040        run : | 
4141          files=(${{ steps.changed-files.outputs.all_changed_files }}) 
42-           ./vendor/bin/ php-cs-fixer fix --dry-run --diff --format=checkstyle --allow-risky=yes --using-cache=no "${files[@]}" \ 
42+           ./php-cs-fixer fix --dry-run --diff --format=checkstyle --allow-risky=yes --using-cache=no "${files[@]}" \ 
4343            | reviewdog -f=checkstyle -name="php-cs-fixer" -reporter=github-pr-review -level=error 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments