JetBrains / JetBrains/phpstorm-attributes

Feature Requst: Mark String Parameter as Table Name

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
416
Forks
11
PR merge metrics
No merged PRs in 30d

Description

I don't know if this is a reasonable request, but it would be nice to be able to mark a parameter in a function/method call as a table name, which would cause phpstorm to trigger it's checks around that tables existence.

So for example we have this now

Image

it would be nice if that could also work on a function call like

```
$dbConn->deleteFromTable('table_not_exist', [ 'user_id' => 10 ]);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.