|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## Versions |
4 | | -* 4.x: PhpStorm 2020.1+ |
5 | | -* 3.x: PhpStorm 2017.3+ (no support) |
6 | | -* 2.x: PhpStorm 2017.1+ (no support) |
7 | | -* 1.x: PhpStorm 2016.1+ (no support) |
8 | | - |
9 | | -## 4.1 |
10 | | -* Provide a line marker to navigate to a related test classes, based on the naming [#16](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/16) (Daniel Espendiller) |
11 | | -* Supporting type resolving in closures [#38](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/38) (Daniel Espendiller) |
12 | | -* Support Argument::any (Prophecy\\Argument\\Token\\TokenInterface) type resolving based on prophecy class context [#12](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/12) [#29](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/29) (Daniel Espendiller) |
13 | | -* Provide type resolving for \\Prophecy\\Argument::type argument [#29](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/29) (Daniel Espendiller) |
14 | | - |
15 | | -## 4.0 |
16 | | -* Allow all PhpUnit mock instance in chaining for finding createMock [#39](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/39) (Daniel Espendiller) |
17 | | -* Provide support for "PHPUnit\\Framework\\MockObject\\Stub::method" [#42](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/42) [#39](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/39) (Daniel Espendiller) |
18 | | -* Dropping feature support for build < 2020.1; api is still valid so by now no build-since highering needed (Daniel Espendiller) |
19 | | -* Support also Behat tests file structure (Daniel Espendiller) |
20 | | -* Fix isPrimitiveType checking for constructor creation intention (Daniel Espendiller) |
21 | | -* Remove deprecated code (Daniel Espendiller) |
22 | | -* Remove runner linemarker in favor of already provide by PhpStorm (Daniel Espendiller) |
23 | | -* Add plugin icon (Daniel Espendiller) |
24 | | -* Allow "setUpBeforeTest" to be a valid "setUp" method for checking property types #35 (Daniel Espendiller) |
25 | | -* Allow some more use cases for checking test context eg for Behat [#37](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/37) (Daniel Espendiller) |
26 | | -* Add support for phpspec/prophecy-phpunit where "prophesize" method is provided as a trait [#46](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/46) (Daniel Espendiller) |
27 | | -* Move to gradle build (Daniel Espendiller) |
28 | | -* Fix for build on travis ([#45](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/45)) (Roman Tymoshyk) |
29 | | -* Add missing namespaces PhpUnit mock instances (Daniel Espendiller) |
30 | | - |
31 | | -## 3.8 |
32 | | -* Fix performance issue: migrate test linemarker runner to leaf elements |
33 | | - |
34 | | -## 3.7 |
35 | | -* Handle deletion of PhpThrownExceptionsAnalyzer#getExceptionClasses in PhpStorm 2017.3 [#28](https://github.com/Haehnchen/idea-php-phpunit-plugin/pull/28) |
36 | | - |
37 | | -## 2.7 |
38 | | -* Provide expectedException generator for given method scope [#27](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/27) |
39 | | - |
40 | | -## 2.6 |
41 | | -* Support parent construct methods in "Add constructor mocks" |
42 | | -* Support newExpression without parameter list for "Add constructor mocks" |
43 | | - |
44 | | -## 2.5 |
45 | | -* Add intention to create mocked constructor parameters |
46 | | -* Extend scope for method reference chaining detection in method mock generator |
47 | | -* Fix scope detection for test runner |
48 | | -* Constructor intention must allow variable declaration scope |
49 | | - |
50 | | -## 2.4 |
51 | | -* Add mock method intention / generator [#5](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/5) |
52 | | - |
53 | | -## 2.3 |
54 | | -* Pipe property declaration of setUp test method [#11](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/11) [#13](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/13) [#14](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/14) [#17](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/17) |
55 | | -* Migrate createMock, getMock and reveal types to chaining method detection [#11](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/11) [#13](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/13) [#14](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/14) [#17](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/17) |
56 | | -* Optimize completion for createMock to use chaining detection |
57 | | - |
58 | | -## 2.2.1 |
59 | | -* Add MockBuilder->getMock TypeProvider [#10](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/10) |
60 | | - |
61 | | -## 2.2 |
62 | | -* Reimplement magic Prophecy method [#8](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/8) |
63 | | -* Add Prophecy reveal type provider [#9](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/9) |
64 | | - |
65 | | -## 2.1 |
66 | | -* Add custom linemarker runner for units test method and classes and provide intention [#4](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/4) |
67 | | -* Reimplement TypeProvider in the correct way without index access [#6](https://github.com/Haehnchen/idea-php-phpunit-plugin/issues/6) |
68 | | - |
69 | | -## 2.0 |
70 | | -* Initial release fork of [maxfilatov/phpuaca](https://github.com/maxfilatov/phpuaca/) |
71 | | -* Support class constants in createMock method completion |
72 | | - |
73 | | -## 1.3.5 |
74 | | -* Type providers for PHPUnit and Prophecy has been temporary removed for plugin stability reasons, will be fixed soon; |
75 | | - |
76 | | -## 1.3.3 |
77 | | -* support for Prophecy property, argument and return type completion (by [Steve Müller](https://github.com/deeky666)); |
78 | | -* multiple fixes to prevent IDE freezes during updating indices process; |
79 | | -* support for latest IDE versions (by [Sebastian Hopfe](https://github.com/shopfe)); |
80 | | - |
81 | | -## 1.3 |
82 | | -* code navigation (go to declaration, find usages, etc.) and refactoring (rename methods); |
83 | | -* highlighting of incorrect method usages; |
84 | | -* PHPUnit type provider; |
85 | | -* Prophecy type provider; |
86 | | -* legacy tests support: method completion for mocks defined by string class name instead of class constant reference, <tt>::class</tt> (by [Thomas Schulz](https://github.com/King2500)). |
87 | | - |
88 | | -### 1.2 |
89 | | -* Fixed false activation of plugin in classes with magic methods defined in PHPDoc blocks. |
90 | | - |
91 | | -## 1.1 |
92 | | -* Added support for methods <tt>PHPUnit_Framework_TestCase::getMock</tt>, <tt>PHPUnit_Framework_TestCase::getMockClass</tt>, <tt>PHPUnit_Framework_TestCase::getMockForAbstractClass</tt> and <tt>PHPUnit_Framework_TestCase::getMockForTrait</tt>; |
93 | | -* Already specified methods in mock definitions aren't used in next autocomplete suggestions; |
94 | | -* Fixed multiple false activations of suggestion popup. |
95 | | - |
96 | | -## 1.0 |
97 | | -* Added support for methods <tt>PHPUnit_Framework_MockObject_MockBuilder::setMethods</tt> and <tt>PHPUnit_Framework_MockObject_Builder_InvocationMocker::method</tt>. |
| 3 | +## 0.4 |
| 4 | +* Clean deprecated code |
| 5 | +* Added support PHPUnit 8 |
0 commit comments