45 Commits

Author SHA1 Message Date
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
ce332b4e65 add AbstractFileSystemRectorTestCase + test 2019-09-15 18:07:16 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
d4cd92fa73 add getTraitUses() 2019-09-01 21:47:16 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
e466a14616 add removeNodeFromStatements() method to remove statement by key easily 2019-08-31 10:44:41 +02:00
Tomas Votruba
fbe425746e [dx] make should not happen more informative 2019-08-26 18:47:46 +02:00
Tomas Votruba
1f9f5c7e0d add PHPUnitEnvironment 2019-08-10 13:11:22 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
201a8f31fa update getName() 2019-08-04 20:41:51 +02:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomas Votruba
522fc0ca58 rename level dir to set 2019-06-08 22:41:52 +02:00
Tomas Votruba
bc4da3b79a fix incompatibilites 2019-05-28 20:11:19 +02:00
Tomas Votruba
1d24dae9df update to php-parser 4.2.2 2019-05-25 22:54:28 +02:00
Tomas Votruba
c71a2e8f81 report deleted/added files in FileSystem Rectors 2019-05-19 09:38:39 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
2edfb75319 make use of createMethodCall() 2019-04-01 13:40:09 +02:00
Tomas Votruba
7a07fe6a70 make use of createStaticCall 2019-04-01 13:40:09 +02:00
Tomas Votruba
3e71d23534 apply code-quality on Rector code 2019-04-01 13:12:26 +02:00
Tomas Votruba
b9fbb3654d apply code-quality level 2019-03-31 14:48:06 +02:00
Tomas Votruba
683a4cd4f3 PhpSpec - add isEqual 2019-03-27 20:19:58 +01:00
Tomas Votruba
5ba1507a72 support isType of scalar 2019-03-27 01:03:25 +01:00
Tomas Votruba
f4fa2c90fc [PhpSpecToPHPUnit] Add no-let method 2019-03-27 00:37:42 +01:00
Tomas Votruba
499ede8741 type to isInstanceOf 2019-03-26 16:02:56 +01:00
Tomas Votruba
f3cd1d38c1 [PhpSpecToPHPUnit] Add support for local mocks 2019-03-26 15:46:01 +01:00
Tomas Votruba
f8010806d6 init TypeNode in VariableInfo 2019-03-24 12:58:37 +01:00
Tomas Votruba
175fb4f09e [PhpSpecToPHPUnit] Add with() method support, add property mock for 2+ usage 2019-03-24 12:06:47 +01:00
Tomas Votruba
19b505a752 improve exception handling in PHPSpec migration 2019-03-23 12:02:49 +01:00
Tomas Votruba
1fae638c39 use atLeastOnce 2019-03-22 23:44:02 +01:00
Tomas Votruba
1ba34ed273 correct order of expect() and method itself on mock 2019-03-22 23:11:30 +01:00
Tomas Votruba
48c69e4976 change new let to setUp 2019-03-22 22:01:19 +01:00
Tomas Votruba
a1f9b1575c fix creating own let method 2019-03-22 21:50:11 +01:00
Tomas Votruba
6739fe768b skip for phpunit run 2019-03-22 21:33:44 +01:00
Tomas Votruba
5de72390b4 add PHPUnit void type check 2019-03-22 21:31:31 +01:00
Tomas Votruba
f8d5b06b59 Add PhpSpecPromisesToPHPUnitAssertRector, PhpSpecMethodToPHPUnitMethodRectory 2019-03-22 17:18:49 +01:00
Tomáš Votruba
55deff8299
[PhpSpecToPHPUnit] Add PhpSpecMocksToPHPUnitMocksRector (#1245) 2019-03-22 01:03:05 +01:00
Tomas Votruba
fc19e1ea7c phpspec - turn new of mocks to mocks 2019-03-19 10:19:25 +01:00
Tomas Votruba
4442c0d0d9 improve phpspec set with instantiations 2019-03-18 20:12:52 +01:00
Tomas Votruba
cae6f2a760 [NetteTesterToPHPUnit] Add NetteTesterClassToPHPUnitClassRector 2019-03-16 21:29:33 +01:00
Tomas Votruba
4fc9be383d [PhpSpecToPHPUnit] Init new package 2019-03-15 13:42:28 +01:00