Commit Graph

6602 Commits

Author SHA1 Message Date
TomasVotruba
66fec32718 [Nette] Add AddDatePickerToDateControlRector 2019-11-14 12:59:28 +01:00
TomasVotruba
da42118c30 travis: allow docs check to fail 2019-11-14 12:59:28 +01:00
TomasVotruba
4e337bd4e2 [Nette 3.0] init 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
Tomáš Votruba
288946da41
Merge pull request #2311 from jeroensmit/class-constant-with-trait
[DeadCode] Class constant with trait
2019-11-14 12:49:10 +01:00
Jeroen Smit
bab1cb4e5f fix-cs 2019-11-14 10:01:43 +01:00
Jeroen Smit
cdc5350dcc Fixed docblock so phpstan ignore can be removed 2019-11-14 10:01:43 +01:00
Jeroen Smit
1ca332524c Ignore phpstan false positives 2019-11-14 10:01:43 +01:00
Jeroen Smit
4c6d7790ff Fix-cs 2019-11-14 10:01:43 +01:00
Jeroen Smit
638d96e269 Fixed unintended removal of constant in combination with trait 2019-11-14 10:01:43 +01:00
Jeroen Smit
50219abd82 Removed old rector from yaml 2019-11-14 10:00:26 +01:00
Jeroen Smit
7b7b31f43e Move ignore unit test to merged Rector name 2019-11-14 10:00:26 +01:00
Jeroen Smit
3540c91ef2 Merged RemoveDeadZeroAndOneOperationRector and RemoveZeroAndOneBinaryRector into RemoveDeadZeroAndOneOperationRector 2019-11-14 10:00:26 +01:00
Tomáš Votruba
544561f71a
Merge pull request #2318 from jeroensmit/mac-os-sed-command-fixes
Fixed issue with sed command:
2019-11-14 09:52:58 +01:00
Jeroen Smit
c4bf31c9c8 ignore space change (whitelines are removed by fix-cs) 2019-11-13 20:54:33 +01:00
Jeroen Smit
cd531c81e2 Fixed issue with sed command:
on macOs the -E option was taken as the argument of the -i option causing backups to be made with the addional extension -E.
also the backslash of the \s needed additional escaping
2019-11-13 20:42:53 +01:00
Tomáš Votruba
28aef8b23c
code fixes (#2317)
code fixes
2019-11-13 20:24:35 +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
TomasVotruba
04fb893284 fix cs 2019-11-13 20:01:44 +01:00
Tomáš Votruba
fe28e25ccb
Merge pull request #2315 from nissim94/bugfix/namespace-replacement
bugfix(Symfony33); correct the replacement of a namespace
2019-11-13 16:12:25 +01:00
Nissim CHETTRIT
22ba962648 bugfix(Symfony33); correct the replacement of a namespace 2019-11-13 15:14:31 +01:00
Tomáš Votruba
68f53b3aa5
Merge pull request #2300 from jeroensmit/testsetnaming
Give testset a name
2019-11-12 09:00:06 +01:00
Tomáš Votruba
8684fa320b
Added docs check (#2310)
Added docs check
2019-11-12 08:58:33 +01:00
Jeroen Smit
c4f1dbd604 Updated docs 2019-11-12 08:01:15 +01:00
Jeroen Smit
337cbd3ad4 Added docs check 2019-11-12 07:48:09 +01:00
Jeroen Smit
a836c4bc4d Added numeric key as well 2019-11-12 07:02:50 +01:00
TomasVotruba
eb9250da22 fix undefined index 2019-11-12 00:03:31 +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
Tomáš Votruba
44e6747c41
Merge pull request #2306 from rectorphp/fix-exception
improve stmt count check
2019-11-11 14:33:45 +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
23ea1397c0
[DX] add "paths" parameter (#2302)
[DX] add "paths" parameter
2019-11-10 18:55:29 +01:00
TomasVotruba
c9f5718c26 add paths parameter 2019-11-10 18:45:01 +01:00
Tomáš Votruba
5548edb4ed
hide Github funding support - waits for Czech Republic 2019-11-10 17:31:32 +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
Jeroen Smit
bb6eccea80 Give testset a name 2019-11-09 16:18:07 +01:00
Tomáš Votruba
12978b4bdf
Bump to PHP Parser 4.3 (#2297)
Bump to PHP Parser 4.3
2019-11-09 01:00:04 +01:00
TomasVotruba
0fbdcdd0b0 do not resolve name for method name or property fetch variable 2019-11-09 00:45:07 +01:00
TomasVotruba
ca5bd81761 add UnionType to DumpNodesCommand 2019-11-09 00:27:29 +01:00
TomasVotruba
79b1738529 cleanup 2019-11-09 00:14:18 +01:00
TomasVotruba
43039463bd composer: bump to PHP Parser 4.3 2019-11-08 23:10:23 +01:00
Tomáš Votruba
a864dd7eab
RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivateProper… (#2293)
RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivatePropertyRector fixes
2019-11-08 23:07:15 +01:00
Tomáš Votruba
f95d1b721d
Importing fix (#2294)
Importing fix
2019-11-08 23:02:29 +01:00