Skip to content

PHPUnit Autocomplete Assistant (PhpStorm plugin)

Notifications You must be signed in to change notification settings

deeky666/phpuaca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit Autocomplete Assistant

PhpStorm plugin to provide smart autocomplete for mocked class methods.

Supported all versions of PhpStorm since 7.1

Features are available for method definition arguments of these PHPUnit methods:

  • PHPUnit_Framework_MockObject_MockBuilder::setMethods
  • PHPUnit_Framework_TestCase::getMock
  • PHPUnit_Framework_TestCase::getMockClass
  • PHPUnit_Framework_TestCase::getMockForAbstractClass
  • PHPUnit_Framework_TestCase::getMockForTrait
  • PHPUnit_Framework_MockObject_Builder_InvocationMocker::method

Example #1: autocomplete for argument $methods of PHPUnit_Framework_MockObject_MockBuilder::setMethods

PHPUnit_Framework_MockObject_MockBuilder::setMethods

Example #2: autocomplete for argument $constraint of PHPUnit_Framework_MockObject_Builder_InvocationMocker::method

PHPUnit_Framework_MockObject_Builder_InvocationMocker::method

Releases

Installation

Stable version:

  • Go to PhpStorm -> Preferences... -> Plugins -> Browse repositories ... and search for PHPUnit Autocomplete Assistant plugin
  • Restart PhpStorm

Latest version:

  • Go to PhpStorm -> Preferences... -> Plugins -> Install plugin from disk... and choose jar file
  • Restart PhpStorm

About

PHPUnit Autocomplete Assistant (PhpStorm plugin)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%