2637 Commits

Author SHA1 Message Date
TomasVotruba
a3693df310 use exclude as list 2019-11-22 20:10:39 +01:00
TomasVotruba
cea84035e2 move EntityAndRepository mapper interface to Doctrine package, require min Symfony 4.4 2019-11-22 19:47:06 +01:00
TomasVotruba
8a341affbc [ID to UUID] Add middle step to initalize default uuid value 2019-11-19 12:42:33 +01:00
TomasVotruba
6636a65175 fix cs 2019-11-19 12:03:35 +01:00
TomasVotruba
3db74cbbc8 Doctrine ID to UUID migration nullable=true for JoinColumn 2019-11-19 12:03:24 +01:00
TomasVotruba
5f523b5727 [PHPUnit][Symfony] Add jakzal-injetor Rector 2019-11-18 16:21:11 +01:00
TomasVotruba
b930046917 add UnionTypesRector 2019-11-17 14:39:46 +01:00
TomasVotruba
a9cd107fb9 [PHP 8.0] Add Union Types 2019-11-17 02:05:07 +01:00
TomasVotruba
0f55a90431 [PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector 2019-11-16 20:40:21 +01:00
TomasVotruba
a7b5e2f1e0 simplify ImportSkiport skip for ClassLike name 2019-11-14 19:27:04 +01:00
TomasVotruba
8d4ec5152b Fix parent interface, extends, implements same name as short name 2019-11-14 17:59:37 +01:00
TomasVotruba
9b99212da9 add failing test case for #2307 2019-11-14 17:23:46 +01:00
TomasVotruba
14acb884cd [PHPUnit 8.0] Add ReplaceAssertArraySubsetWithDmsPolyfillRector 2019-11-14 17:08:10 +01:00
TomasVotruba
6384f729e6 [PHPUnit] Fix #2279 2019-11-14 16:12:48 +01:00
TomasVotruba
bb7125361e [Nette] Add SetClassWithArgumentToSetFactoryRector 2019-11-14 13:01:23 +01:00
TomasVotruba
66fec32718 [Nette] Add AddDatePickerToDateControlRector 2019-11-14 12:59:28 +01:00
Tomáš Votruba
89c222c1ff
Merge pull request #2309 from jeroensmit/deduplicate-dead-zero-and-one
Merged RemoveDeadZeroAndOneOperationRector and RemoveZeroAndOneBinarRector
2019-11-14 12:49:49 +01:00
Jeroen Smit
638d96e269 Fixed unintended removal of constant in combination with trait 2019-11-14 10:01:43 +01:00
Jeroen Smit
3540c91ef2 Merged RemoveDeadZeroAndOneOperationRector and RemoveZeroAndOneBinaryRector into RemoveDeadZeroAndOneOperationRector 2019-11-14 10:00:26 +01:00
TomasVotruba
8c22d6b2d3 code fixes 2019-11-13 20:18:25 +01:00
Tomáš Votruba
01d637c783
Merge pull request #2257 from stedekay/update-return-types
Update return types wpes when set to array
2019-11-13 20:12:23 +01:00
Tomáš Votruba
1ca4042786
[DynamicTypeAnalysis] Add Dynamic type infering (#2264)
[DynamicTypeAnalysis] Add Dynamic type infering
2019-11-12 00:01:31 +01:00
TomasVotruba
360adae027 [Nette] Add FilePutContentsToFileSystemWriteRector 2019-11-11 23:48:31 +01:00
Tomáš Votruba
1aa5af71e3
Fix removing 0 when on left side of Minus (#2308)
Fix removing 0 when on left side of Minus
2019-11-11 23:17:17 +01:00
Jeroen Smit
0fbd0b95a6 Replace 0 minus with UnaryMinus 2019-11-11 22:24:38 +01:00
Jeroen Smit
e548f1071b Fix removing 0 when on left side of Minus 2019-11-11 21:03:23 +01:00
Tomas Votruba
2d30233a47 init DynamicTypeAnalysis 2019-11-11 17:35:34 +01:00
TomasVotruba
f18fb76dcb [CodeQuality] Fix ThrowWithPreviousExceptionRector for different exception location [closes #2303] 2019-11-11 14:09:20 +01:00
TomasVotruba
251efe73b8 improve stmt count check 2019-11-11 13:33:25 +01:00
Tomáš Votruba
65ab4d1d54
Fixed removing constructor when parameter defaults are different (#2299)
Fixed removing constructor when parameter defaults are different
2019-11-09 18:38:38 +01:00
Jeroen Smit
7f25814cb6 Fixed removing constructor when parameter defaults are different 2019-11-09 16:36:44 +01:00
TomasVotruba
0fbdcdd0b0 do not resolve name for method name or property fetch variable 2019-11-09 00:45:07 +01:00
TomasVotruba
79b1738529 cleanup 2019-11-09 00:14:18 +01:00
Tomáš Votruba
a864dd7eab
RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivateProper… (#2293)
RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivatePropertyRector fixes
2019-11-08 23:07:15 +01:00
TomasVotruba
56e092c12e make import parameter available for both Rector rule and config 2019-11-08 22:52:23 +01:00
TomasVotruba
04219b550f Fix double-importing race-conditions 2019-11-08 22:37:15 +01:00
TomasVotruba
e3620ce161 add should skip name 2019-11-08 22:29:15 +01:00
TomasVotruba
b0d3ce7499 skip scalar quickly in NameImporting 2019-11-08 21:44:23 +01:00
Jeroen Smit
db3525920d Several RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivatePropertyRector fixes. 2019-11-08 21:03:29 +01:00
TomasVotruba
cd4c2e6396 check variable name 2019-11-08 17:23:38 +01:00
Tomáš Votruba
12c11ba01d
Merge pull request #2288 from rectorphp/fix-auto-function-import
fix double import of functio names
2019-11-08 16:52:25 +01:00
TomasVotruba
02a79a06b4 [PHP70] Skip PHPUnit assert in ThisCallOnStaticMethodToStaticCallRector 2019-11-08 16:48:05 +01:00
TomasVotruba
5fb31cd1ad fix name resolving on variable 2019-11-08 14:45:50 +01:00
TomasVotruba
d07952b480 fixup! fix double import of functio names 2019-11-08 14:42:29 +01:00
TomasVotruba
59858869ef fix double import of functio names 2019-11-08 14:40:47 +01:00
TomasVotruba
81954f8f66 [CodingStyle] Fix extra new-line for EncapsedString 2019-11-08 01:09:55 +01:00
TomasVotruba
3fa0848731 [CodeQuality] Fix return type copy 2019-11-07 21:47:04 +01:00
Tomas Votruba
07de966af4 fix no-regular naming 2019-11-06 22:43:49 +01:00
Dorian Villet
1c8106c3a2 Add a working and a failing test case. 2019-11-06 22:12:26 +01:00
Tomas Votruba
41b37a07ff fix false static type of Symfony\SplFileInfo getRealPath() 2019-11-06 20:51:58 +01:00