Haehnchen / idea-php-phpunit-plugin

IntelliJ IDEA / PhpStorm PHPUnit Enhancement Plugin
MIT License
55 stars 11 forks source link

Intention duplicates with PhpStorm 2021.3 Beta #71

Open InvisibleSmiley opened 2 years ago

InvisibleSmiley commented 2 years ago
java.lang.IllegalStateException: [2 intention duplicates found for PHPUnit: Run Test:
Registered: class de.espend.idea.php.phpunit.intention.TestRunIntentionAction from plugin de.espend.idea.php.phpunit
Registered: class de.espend.idea.php.phpunit.intention.TestRunIntentionAction from plugin de.espend.idea.php.phpunit, 2 intention duplicates found for PHPUnit: Add mock method:
Registered: class de.espend.idea.php.phpunit.intention.AddMockMethodIntention from plugin de.espend.idea.php.phpunit
Registered: class de.espend.idea.php.phpunit.intention.AddMockMethodIntention from plugin de.espend.idea.php.phpunit, 2 intention duplicates found for PHPUnit: Expected exception:
Registered: class de.espend.idea.php.phpunit.intention.MethodExceptionIntentionAction from plugin de.espend.idea.php.phpunit
Registered: class de.espend.idea.php.phpunit.intention.MethodExceptionIntentionAction from plugin de.espend.idea.php.phpunit, 2 intention duplicates found for PHPUnit: Add constructor mocks:
Registered: class de.espend.idea.php.phpunit.intention.ConstructorMockIntention from plugin de.espend.idea.php.phpunit
Registered: class de.espend.idea.php.phpunit.intention.ConstructorMockIntention from plugin de.espend.idea.php.phpunit]
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.checkForDuplicates(IntentionManagerImpl.java:239)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentions(IntentionManagerImpl.java:202)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:340)
    at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:249)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:414)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1084)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:407)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:624)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:698)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:646)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:623)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:406)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:382)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:181)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:380)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:184)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)