Skip to content

Contract violation (index access/global resolve) on com.phpuaca.completion.ProphecyTypeProvider.getType #27

Description

@neuro159

We gonna ban the plugin in next build if following is not fixed
YOU CANT CALL GLOBL RESOLVE OR ACCESS INDEXES YOURSELF from PhpTypeProvider.getType!!!
Please contact me ASAP if you need an assistance.

com.intellij.util.indexing.IndexAccessValidator.checkAccessingIndexDuringOtherIndexProcessing
....
at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.resolve(VariableImpl.java:352)
at com.phpuaca.completion.ProphecyTypeProvider.getTypeForVariable(ProphecyTypeProvider.java:177)
at com.phpuaca.completion.ProphecyTypeProvider.getType(ProphecyTypeProvider.java:56)
....

at com.phpuaca.util.PhpMethodResolver.resolveByMethodReference(PhpMethodResolver.java:15)
at com.phpuaca.completion.PHPUnitTypeProvider.getType(PHPUnitTypeProvider.java:54)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions