GitLabCI: Fix existing PHPStan issues

Created on 25 June 2024, 6 months ago
Updated 10 July 2024, 5 months ago

Problem/Motivation

$ php vendor/bin/phpstan analyze $_WEB_ROOT/modules/custom/$CI_PROJECT_NAME $PHPSTAN_CONFIGURATION --no-progress || EXIT_CODE=$?
 ------ ---------------------------------------------------------------- 
  Line   src/Form/ConfigDistroImportForm.php                             
 ------ ---------------------------------------------------------------- 
  18     Class Drupal\config_distro\Form\ConfigDistroImportForm extends  
         @internal class Drupal\config\Form\ConfigSync.                  
  94     Call to an undefined static method                              
         Drupal\config\Form\ConfigSync::finishBatch().                   
 ------ ---------------------------------------------------------------- 
 [ERROR] Found 2 errors  

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joegraduate Arizona, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024