phpstan.neon.dist fixes - Get phpstan to level 1

Created on 7 June 2024, 7 months ago
Updated 24 June 2024, 6 months ago

Problem/Motivation

Turns out the phpstan.neon.dist is not being used.
https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes...

I created this issue for that.
https://www.drupal.org/project/gitlab_templates/issues/3453100 β†’

Also, I don't think we should default to the core phpstan.neon as it has a LOT of historical workarounds (which is why it is not default in gitlab for contrib). This is the line we have (which isn't being used per above).
https://git.drupalcode.org/project/project_browser/-/blob/1.0.x/phpstan....

My proposal is to get get to a nice low level coverage (level 1 in this ticket) and then incrementally increase levels on other subsequent issues as desired.
We are currently level 0 https://git.drupalcode.org/project/gitlab_templates/-/blob/main/assets/p...

Steps to reproduce

Proposed resolution

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia sime Melbourne

Live updates comments and jobs are added and updated live.
  • Starshot blocker

    A potential blocker for Drupal Starshot. More information: http://www.drupal.org/project/starshot

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024