119 Commits

Author SHA1 Message Date
Tomas Votruba
3f6fddee71 make DocBlockManipulator protected in AbstractRector + add ColumnGenerator annotatoin parsing 2019-09-19 17:30:31 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
07708261d2 fix cs 2019-09-17 13:21:29 +02:00
Tomas Votruba
2244dad326 [tests] add PhpVersionFeature value object + fix public of protected function 2019-09-15 16:37:38 +02:00
Tomas Votruba
fe3152e817 add AssignManipulator + misc 2019-09-14 17:51:14 +02:00
Tomas Votruba
aa5bfc4921 fix array to provider rule 2019-09-13 08:32:33 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
b700e2f9ad add variable_name to ArrayArgumentInTestToDataProviderRector and fix array nesting 2019-09-12 10:18:26 +02:00
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
c040e15fb5 add @see why to data providers 2019-09-10 15:20:07 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
89e21ea68b merge NodeToStringTypeResolver, StaticTypeToStringResolver, PHPStan\StaticTypeToStringResolver to StaticTypeMapper 2019-09-04 12:23:03 +02:00
Tomas Votruba
84f72f7c4a [PHPUnit] Add array call to data provider 2019-09-04 10:51:54 +02:00
Tomas Votruba
f94d567f38 decouple ComposerAutoloadedDirectoryProvider 2019-09-03 14:46:47 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
1a0db5e25c [PHPUnit] Add AddSeeTestAnnotationRector 2019-09-03 14:02:42 +02:00
Tomas Votruba
2a0d0d7ac1 from helper methods to isStaticType() with PHPStan object typing 2019-09-03 10:06:04 +02:00
Tomas Votruba
f0d5b5af76 merge isName and isNameInsensitive 2019-08-25 13:02:19 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Ravan Scafi
8bf272e585
Fix multilevel array subsets 2019-07-08 18:13:31 -03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
e34a29ad15 Add BuilderFactory to AbstractRector 2019-04-13 01:32:50 +02:00
Tomas Votruba
14c3251887 [PHPUnit] Add RemoveExpectAnyFromMockRector 2019-04-06 20:12:44 +02:00
Tomas Votruba
0f179983de Move argument discovery from RegexDashEscapeRector to RegexPatternArgumentManipulator 2019-03-31 14:18:18 +02:00
Tomas Votruba
1e248217ef [PHPUnit] Add TestListenerToHooksRector 2019-03-31 12:28:17 +02:00
Tomas Votruba
f8d5b06b59 Add PhpSpecPromisesToPHPUnitAssertRector, PhpSpecMethodToPHPUnitMethodRectory 2019-03-22 17:18:49 +01:00
Jacob Dreesen
93dfcf288e Fix some code samples (#1239)
* Fix code sample

* Fix code sample

* Fix code sample

* Fix code sample
2019-03-20 02:48:38 +01:00
Tomas Votruba
cae6f2a760 [NetteTesterToPHPUnit] Add NetteTesterClassToPHPUnitClassRector 2019-03-16 21:29:33 +01:00
Tomas Votruba
801d2e865a [PHPUnit] make Rectors work with self and this as well 2019-03-13 14:48:47 +01:00
Tomas Votruba
c78d415413 [PHPUnit] Improve DelegateExceptionArgumentsRector to work with setExpectedExceptionRegExp() 2019-03-13 14:13:49 +01:00
Tomas Votruba
ca204319b1 [PHPUnit] Add ReplaceAssertArraySubsetRector 2019-03-13 11:14:29 +01:00
Ben Davies
68394f43d8 remove incorrect docs 2019-03-11 22:46:02 +00:00
Tomas Votruba
e1d988da3a update to phpstan 0.11.3 2019-03-11 08:53:02 +00:00
Tomas Votruba
1d8deff30a [PHPUnit 8.0] Add null to assertInternalType conversion 2019-03-04 11:35:02 +01:00
Tomas Votruba
8208eff75e rename Analyzer and Maintainer to Manipulator 2019-02-27 22:54:39 +01:00
Tomas Votruba
ac45d54145 apply coding-style level on Rector 2019-02-27 14:16:19 +01:00
Tomas Votruba
b401be37e5 Add PhpVersionProvider 2019-02-24 11:38:22 +01:00
Tomas Votruba
f574c3374f use node-class based naming 2019-02-22 18:34:41 +01:00
Tomas Votruba
2bdbbe0527 [DeadCode] Add RemoveOverridenValuesRector 2019-02-18 17:02:57 +01:00
Tomas Votruba
cdeb98f27a fix SpecificAssertContainsRector 2019-02-09 12:27:26 +01:00
Tomas Votruba
117aeb6247 improve SpecificAssertContainsRector for final PHPUnit 8 2019-02-07 21:29:51 +01:00
Tomas Votruba
c2d1a98f95 drop array_values need 2019-01-22 20:33:03 +01:00
Tomas Votruba
25da54641b improve static code quality 2019-01-14 23:08:20 +01:00
Tomas Votruba
cfe7ecc2ff standardize /config directory location to root 2019-01-12 02:04:45 +01:00
Tomas Votruba
e6a5f55f94 drop ArrayToYieldDataProviderRector instead, update docs 2019-01-03 17:39:25 +01:00
Tomas Votruba
ca1588309b Add YieldClassMethodToArrayClassMethodRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
2b4696bb1a make NameResolver match regular expressions 2019-01-03 17:39:25 +01:00
Tomas Votruba
c5e9428490 [PHPUnit] Add UseSpecificWillMethodRector 2018-12-31 22:07:12 +01:00