File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515      fail-fast : false 
1616      matrix :
1717        php :
18+           - 8.4 
19+           - 8.3 
1820          - 8.2 
1921          - 8.1 
2022          - 8.0 
2325          - lo 
2426
2527    steps :
26-       - uses : actions/checkout@v2  
28+       - uses : actions/checkout@v4  
2729
2830      - name : Setup PHP ${{ matrix.php }} 
2931        uses : shivammathur/setup-php@v2 
3638
3739      - name : Cache dependencies 
3840        id : composer-cache 
39-         uses : actions/cache@v2  
41+         uses : actions/cache@v4  
4042        with :
4143          path : vendor 
4244          key : php-${{ matrix.php }}-${{ matrix.dependencies }}-${{ hashFiles('composer.json') }} 
Original file line number Diff line number Diff line change 1717 * @throws FailingTooHardException The maximum number of attempts was reached. 
1818 * @throws \UnexpectedValueException The operation returned an unsupported type. 
1919 */ 
20- function  retry (int  $ tries , callable  $ operation , callable  $ onError  = null ): mixed 
20+ function  retry (int  $ tries , callable  $ operation , ? callable  $ onError  = null ): mixed 
2121{
2222    // Nothing to do if tries less than or equal to zero. 
2323    if  ($ tries  <= $ attempts  = 0 ) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments