PHPstan job fails

Created on 29 April 2024, about 1 year ago
Updated 11 August 2024, 11 months ago

Problem/Motivation

PHPStan fails with

File '/builds/project/scheduler_content_moderation_integration/web/modules/custom/scheduler_content_moderation_integration/./vendor/mglaman/phpstan-drupal/extension.neon' is missing or is not readable.

The phpstan.neon file in the project folder contains

includes:
  - ./vendor/mglaman/phpstan-drupal/extension.neon
  - ./vendor/phpstan/phpstan-deprecation-rules/rules.neon

The above paths are from the webroot, whereas the error message implies that the files are being looked for within the project folder.

Proposed resolution

Remaining tasks

πŸ“Œ Task
Status

Closed: outdated

Version

2.0

Component

Testing

Created by

πŸ‡¬πŸ‡§United Kingdom jonathan1055

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

Comments & Activities

Production build 0.71.5 2024