Skip to content

PhpStorm 2022.3.1 Не работает подсказка использования не разрешенных классов #13

Open
@GHostlyFOX

Description

Вот пример настроек.
Классы самих моделей не описаны:

name: "@catalog"
description: "Каталог товаров"
namespace: "App\\Modules\\Catalog\\"

# "Public API" of the modulite: classes, functions, constants, etc.
# Symbols not listed here will be internal.
export:
  - "Repositories\\Interfaces\\CategoryRepositoryInterface"
  - "Repositories\\Interfaces\\ProductRepositoryInterface"

# Class members to exclude, they override "export".
force-internal:

# Dependencies: other modulites, global classes, defines, etc.
require:
  - "\\App\\Http\\Controllers\\Controller"


internal:

# Granting partial access to internal symbols, "as an exception".
allow-internal-access:

но обращение к моделям App\Modules\Catalog\Models\Product из другого модуля не приводит ни к чему, ни каких подсказок не появляется.

Версия PhpStorm - 2022.3.1
Конфигурация базовая без донастроек.
Ядро - Laravel 9

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions