PHPStan error in core merge request conversion

Created on 6 April 2023, over 1 year ago
Updated 2 November 2023, about 1 year ago

Problem/Motivation

When running scripts/src/Converter.php to make the MR for Add Alpha level Experimental Package Manager module Needs review now has 1 phpstan error.

----------------------------------------------------------------------------------------------------

Running PHPStan on changed files.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
Line core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------
94 Class Drupal\Tests\package_manager\Kernel\PackageManagerKernelTestBase has an uninitialized readonly property $fileSystem. Assign it in the constructor.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------

[ERROR] Found 1 error

Steps to reproduce

Proposed resolution

fix it

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇺🇸United States tedbow Ithaca, NY, USA

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

Comments & Activities

  • Issue created by @tedbow
  • First commit to issue fork.
  • Status changed to Needs review about 1 year ago
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 8
    last update about 1 year ago
    771 pass
  • 🇮🇳India viren18febS

    Hi @tedbow

    fixed the mentioned issues and added a patch for this , please review
    Thanks

  • Status changed to Closed: outdated about 1 year ago
  • 🇺🇸United States tedbow Ithaca, NY, USA

    @viren18febS sorry this issue is outdated and the Converter.php file is temporary file that we are not worried about phpstan on

Production build 0.71.5 2024