4471 Commits

Author SHA1 Message Date
Tomáš Votruba
9f871d83be
Merge pull request #1060 from rectorphp/dead-constant
[DeadCode] Add RemoveUnusedPrivateConstantRector
2019-02-18 09:55:13 -08:00
Tomas Votruba
1e8443b4ab [DeadCode] Add RemoveUnusedPrivateConstantRector 2019-02-18 18:46:36 +01:00
Tomáš Votruba
be19ba3e89
Merge pull request #1057 from rectorphp/dead-reasign
[DeadCode] Remove overriden assign
v0.3.44
2019-02-18 09:07:48 -08:00
Tomas Votruba
07967d0273 update docs 2019-02-18 17:02:57 +01:00
Tomas Votruba
2bdbbe0527 [DeadCode] Add RemoveOverridenValuesRector 2019-02-18 17:02:57 +01:00
Tomáš Votruba
ca13548999
Merge pull request #1056 from rectorphp/specific-bool
[CodeQuality] Add ExplicitBoolCompareRector
2019-02-17 15:47:46 -08:00
Tomas Votruba
3175a8857a apply specific bool on code 2019-02-18 00:36:58 +01:00
Tomas Votruba
8515839d8f [CodeQuality] Add ExplicitBoolCompareRector 2019-02-18 00:23:57 +01:00
Tomas Votruba
64a901fa40 split configs to more 2019-02-17 02:24:38 +01:00
Tomáš Votruba
01a72bcfc4
Merge pull request #1055 from rectorphp/coal
[CodeQuality] Add SimplifyIfIssetToNullCoalescingRector
2019-02-16 17:23:48 -08:00
Tomas Votruba
f94ddfcd5f [CodeQuality] Add SimplifyIfIssetToNullCoalescingRector 2019-02-17 02:13:29 +01:00
Tomáš Votruba
04cb54463f
Merge pull request #1054 from rectorphp/nts-placeholder
[NTS] Add trans() param wrapper
2019-02-16 16:56:18 -08:00
Tomas Votruba
5a801624dc [NTS] Add trans() param wrapper 2019-02-17 01:24:39 +01:00
Tomáš Votruba
a62d6a4213
Merge pull request #1053 from rectorphp/cake-config
fix CakePHP 3.4 with config method
2019-02-16 16:03:51 -08:00
Tomas Votruba
9a17cb95be fix CakePHP 3.4 with config method 2019-02-17 00:48:27 +01:00
Tomáš Votruba
4386d50c39
Merge pull request #1052 from rectorphp/null-coala
Use official coala assign
2019-02-16 15:01:40 -08:00
Tomas Votruba
cdebbc8ae7 use ??= from php-parser 2019-02-16 23:51:11 +01:00
Tomáš Votruba
2d6c5e044c
Validate used import statement + replace docs blocks of method in ClassReplacerRector (#1036)
Validate used import statement + replace docs blocks of method in ClassReplacerRector
2019-02-16 14:50:58 -08:00
Tomas Votruba
40a11938c7 cleanup 2019-02-16 23:34:45 +01:00
Tomas Votruba
d39f45c951 use stable symplify 2019-02-16 23:25:49 +01:00
Tomas Votruba
e8677446be bump to php-parser with coala equal 2019-02-16 23:25:12 +01:00
Tomas Votruba
84846d685a add test case to keep namespace imported, make use of new type detection 2019-02-16 22:18:05 +01:00
Tomas Votruba
140a397ecc ignore test case in static analysis 2019-02-16 13:11:04 +01:00
Tomas Votruba
4c67d7d6f9 fix symfony42 config 2019-02-16 13:10:48 +01:00
Tomas Votruba
68ea5d8b76 add validation for nullable attribute 2019-02-16 13:10:29 +01:00
Tomas Votruba
aed52c2484 simplify phpstan scripts 2019-02-16 13:10:20 +01:00
Tomas Votruba
1723104705 add parent class re-write test case 2019-02-16 13:10:07 +01:00
Tomas Votruba
cf121eb5a7 travis: remove platform reqs, not needed anymore 2019-02-16 13:09:44 +01:00
Tomas Votruba
d7a81eefe4 fix output test 2019-02-16 13:09:28 +01:00
Tomas Votruba
3617b4f774 Validate used import statement 2019-02-16 13:09:22 +01:00
Tomáš Votruba
6ae3e80121
Merge pull request #1048 from rectorphp/fix-morgan
Fix morgan
2019-02-11 17:02:14 -08:00
Tomas Votruba
48be5d3fe7 fix nesting on SimplifyDeMorganBinaryRector 2019-02-12 01:56:10 +01:00
Tomas Votruba
1261bd1458 add attribute mirroring on new Nodes to AbstractRector 2019-02-12 01:56:06 +01:00
Tomas Votruba
ac550bce62 make RectorDefinition less strict 2019-02-12 01:56:02 +01:00
Tomáš Votruba
2ea051674d
Merge pull request #1044 from rectorphp/route-list-wrapper
Fix param wrapper conversion in RouterListToControllerAnnotationsRector
2019-02-11 08:43:46 -08:00
Tomas Votruba
a9c5dfd59d Fix param wrapper conversion in RouterListToControllerAnnotationsRector 2019-02-11 12:12:15 +01:00
Tomáš Votruba
4491324cbe
Merge pull request #1039 from rectorphp/fix-event-infos-factory-typo
Fix extra commas in EventInfosFactory
v0.3.43
2019-02-11 02:52:19 -08:00
Jan Mikeš
b3ef6ed539
Fix extra commas in EventInfosFactory 2019-02-11 06:40:35 +01:00
Tomáš Votruba
6ba0b32f60
Merge pull request #1035 from rectorphp/constant-strings
Add StringToClassConstantRector
v0.3.42
2019-02-09 15:46:43 -08:00
Tomas Votruba
9bb0e9afb5 Add StringToClassConstantRector 2019-02-10 00:13:03 +01:00
Tomas Votruba
d4fbe1776a Add core support to CreateRectorCommand 2019-02-10 00:07:22 +01:00
Tomáš Votruba
fd676ac5d9
Merge pull request #1034 from rectorphp/number
Add number of applied Rectors
2019-02-09 11:18:18 -08:00
Tomas Votruba
a45eff72df apply code quality + add number of applied changes 2019-02-09 20:17:22 +01:00
Tomas Votruba
7297138fbd report change count 2019-02-09 20:16:58 +01:00
Tomáš Votruba
cb32bdea14
Merge pull request #1033 from rectorphp/nts-event-class
[NetteToSymfony] Add event_class to RenameEventNamesInEventSubscriberRector
2019-02-09 11:16:22 -08:00
Tomas Votruba
e8c2165e17 add event_class to RenameEventNamesInEventSubscriberRector 2019-02-09 19:56:54 +01:00
Tomáš Votruba
1adc55d74f
Merge pull request #1031 from rectorphp/fix-remounu
Remove ctor param in RemoveUnusedParameterRector
2019-02-09 08:42:39 -08:00
Tomas Votruba
6da9fc39ff Remove ctor param in RemoveUnusedParameterRector 2019-02-09 17:34:12 +01:00
Tomas Votruba
66e90a21ca add static inverse on non-static call 2019-02-09 17:32:05 +01:00
Tomáš Votruba
56b7867efc
Merge pull request #1030 from rectorphp/static-call-on-method
Fix Static call on static method
2019-02-09 08:31:53 -08:00