4171 Commits

Author SHA1 Message Date
Den Girnyk
927b412430
Fix typo 2018-12-27 15:51:52 +02:00
Tomáš Votruba
66f85c9589
Merge pull request #895 from rectorphp/autoload
Fix Autoload
2018-12-26 01:29:21 +01:00
Tomas Votruba
c9c29741b6 Revert autoload script, since they will not run on dependency 2018-12-26 01:27:54 +01:00
Tomáš Votruba
db93588f7f
Merge pull request #894 from rectorphp/dead-code-2
[DeadCode] Add RemoveUnusedParameterRector
2018-12-25 23:05:30 +01:00
Tomas Votruba
0dd4c133cb add areNodesEqual() to printer 2018-12-25 22:37:17 +01:00
Tomas Votruba
c03b1b1fb3 [DeadCode] Add RemoveUnusedParameterRector 2018-12-25 22:31:48 +01:00
Tomáš Votruba
a758695d43
Merge pull request #889 from rectorphp/dead-code
[DeadCode] Add 7 new Rectors
2018-12-25 21:55:28 +01:00
Tomas Votruba
520a00fe28 fix left-over in docs 2018-12-25 21:35:07 +01:00
Tomas Votruba
997808b75e [docs] update overview 2018-12-25 20:55:16 +01:00
Tomas Votruba
a62c36d319 [DeadCode] Add RemoveDoubleAssignRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
280d2bbc6d add PHP 7.3 deprecation references 2018-12-25 20:44:12 +01:00
Tomas Votruba
1c093821a3 [CodeQuality] Add SimplifyTautologyTernaryRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
f238f2a310 [DeadCode] Add RemoveUnusedPrivatePropertyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
e696d65e2d [DeadCode] Add RemoveEmptyClassMethodRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
079dce59b0 remove style apply from CreateRectorCommand, used manually after the body code anyway 2018-12-25 20:44:12 +01:00
Tomas Votruba
ae7b463d3d [DeadCode] Add RemoveParentCallWithoutParentRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
7a2bb9148a [DeadCode] Add RemoveUnusedForeachKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
b09976b828 [DeadCode] Add RemoveDuplicatedArrayKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
157685642d Add Composer/MonorepoAutoloadEventSubscriber 2018-12-25 20:44:12 +01:00
Tomas Votruba
6717df5b9d remove unused Wrong test case autoload 2018-12-25 20:44:09 +01:00
Tomas Votruba
44ed981c56 create DeadCode package 2018-12-25 12:38:07 +01:00
Tomáš Votruba
b313372357
Merge pull request #888 from rectorphp/local-collector
Add CallableCollectorPopulator
2018-12-25 12:33:23 +01:00
Tomas Votruba
2178625375 fix command name in travis 2018-12-25 02:11:24 +01:00
Tomas Votruba
689155cec2 use ContributorCommandInterface instead of explicit command checks 2018-12-23 18:12:32 +01:00
Tomas Votruba
e3ffb69230 move GenerateRectorOverview to GenerateDocs in ContributorTools 2018-12-23 18:12:32 +01:00
Tomas Votruba
530b2f1310 Add CallableCollectorPopulator 2018-12-23 18:03:37 +01:00
Tomáš Votruba
92742003ad
Merge pull request #887 from rectorphp/var-property-doc-multi-types
[PHP] var property doc multi types
2018-12-23 16:12:13 +01:00
Tomas Votruba
d9c6fcf96d add typed array support + callable 2018-12-23 16:00:05 +01:00
Tomas Votruba
80ee432f35 add support for union types to CompleteVarDocTypePropertyRector 2018-12-23 12:07:04 +01:00
Tomáš Votruba
e00b6f8c5e
Merge pull request #885 from rectorphp/var-doc-types
[Php] Add @var doc types based on default value and assigns
2018-12-23 11:40:12 +01:00
Tomas Votruba
a0e4f65e3e fix TypePropertyRector not to remove @var docs, cs should to that [closes #886] 2018-12-22 15:31:55 +01:00
Tomas Votruba
26b83be1f7 [CodingStyle] Add CompleteVarDocTypeConstantRector 2018-12-22 15:22:44 +01:00
Tomas Votruba
48cb147db4 Add CompleteVarDocTypePropertyRector 2018-12-22 15:20:55 +01:00
Tomáš Votruba
b956ccd87b
Merge pull request #884 from rectorphp/var-types
Fix Typehint to TypeDeclaration naming
2018-12-22 13:04:21 +01:00
Tomas Votruba
421b307965 rename *ScalarTypehint to *TypeDeclaration 2018-12-22 12:32:32 +01:00
Tomáš Votruba
447f298f65
Merge pull request #880 from rectorphp/types-known
Add static-based return type
2018-12-22 12:29:57 +01:00
Tomas Votruba
96314495df add static type analysis to type declaration complete 2018-12-22 12:05:09 +01:00
Tomáš Votruba
ecf406d478
Merge pull request #879 from rectorphp/variadic
Fix RemoveExtraParametersRector for variadic external func
2018-12-21 22:07:53 +01:00
Tomas Votruba
67647fd16e add external variadic fix + detect root function name only 2018-12-21 20:14:09 +01:00
Tomáš Votruba
5ca8b76559
Merge pull request #878 from rectorphp/titles
fix CountOnNullRector for array default property
2018-12-21 19:51:43 +01:00
Tomas Votruba
e3a860fc46 fix CountOnNullRector for array default property 2018-12-21 18:42:14 +01:00
Tomáš Votruba
35df4e258c
Merge pull request #875 from rectorphp/ux
Console usage UX improvements
v0.3.30
2018-12-21 17:40:36 +01:00
Tomas Votruba
817a609cde add regex101 link [skip ci] 2018-12-21 17:24:29 +01:00
Tomas Votruba
730b27b517 drop magic autowiring, use PHP-explicit + fix filtering of non-dev commands 2018-12-21 17:17:24 +01:00
Tomas Votruba
1f5ce79462 allow various formats in exclude_paths parameter 2018-12-21 17:17:24 +01:00
Tomas Votruba
3f54ca6f0b run Rector only if any files found 2018-12-21 17:17:24 +01:00
Tomas Votruba
42a8731faf show command help on missed argument 2018-12-21 17:17:24 +01:00
Tomas Votruba
bbf118fb69 describe command on invalid argument 2018-12-21 17:17:24 +01:00
Tomas Votruba
8433d4481c fix debug on ProcessCommand 2018-12-21 17:17:24 +01:00
Tomáš Votruba
3a44d8f1e2
Merge pull request #876 from freiondrej/freiondrej-patch-1
Fix a typo in AfterRectorCodingStyle#validate()
2018-12-21 16:53:01 +01:00