Provide entity type mappings for phpstan-drupal

Created on 15 January 2025, 3 months ago

Problem/Motivation

Adding entity type mappings for log and log_type will make it easier to perform static analysis of code interacting with Log entities. This is a feature provided by the phpstan-drupal extension.

The Log module can provide an entity type mapping via a entity_mapping.neon file mentioned in extra.phpstan.includes section of the composer.json file. For more info see: https://github.com/mglaman/phpstan-drupal?tab=readme-ov-file#providing-e...

Steps to reproduce

N/A

Proposed resolution

Provide entity type mappings for phpstan-drupal

Remaining tasks

Implement

User interface changes

None

API changes

None

Data model changes

None

โœจ Feature request
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States paul121 Spokane, WA

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