4144 Commits

Author SHA1 Message Date
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
Tomas Votruba
be9c75b1ea remove default command, broken 2018-12-21 16:46:28 +01:00
Tomas Votruba
dc58ccbffc allow version, fix debug option syntax 2018-12-21 16:46:28 +01:00
Tomas Votruba
98bc91827f bin - add Application type to autocomplete 2018-12-21 16:46:28 +01:00
Tomas Votruba
ab44b284d1 set process command as default 2018-12-21 16:46:28 +01:00
Tomas Votruba
3a1bf0267f remove dev commands from 3rd party package scope 2018-12-21 16:46:28 +01:00
Tomas Votruba
dc17656e9d simplify typo regexs 2018-12-21 16:46:21 +01:00
freiondrej
06bf30a9ef
Fix a typo in AfterRectorCodingStyle#validate() 2018-12-21 15:29:02 +01:00
Tomas Votruba
d7d6372551 do not reflect non-existing function 2018-12-21 15:26:11 +01:00
Tomas Votruba
52f6b6e857 add typos 2018-12-21 15:26:04 +01:00
Tomas Votruba
a8ff362447 fix non-local trait 2018-12-20 21:07:20 +01:00
Tomas Votruba
aa9f7845ba fix PHP4 constructor for expr 2018-12-20 20:59:34 +01:00
Tomas Votruba
9f97544c1d check existing method 2018-12-20 20:51:55 +01:00
Tomas Votruba
8e345870cd fix PHP4ConstructorRector 2018-12-20 20:39:13 +01:00
Tomáš Votruba
5685b17a78
Merge pull request #873 from jkuchar/patch-1
bin/rector: try increase memory limit to unlimited
2018-12-20 20:35:26 +01:00
Tomas Votruba
2c6509279f fix PHP4ConstructorRector 2018-12-20 20:33:05 +01:00
Jan Kuchař
fd41d91f2d
bin/rector: try increase memory limit to unlimited 2018-12-20 20:23:08 +01:00
Tomas Votruba
febda514f5 show file on each step 2018-12-20 20:18:45 +01:00
Tomas Votruba
aeb89aa464 fix printing of empty array 2018-12-20 20:05:59 +01:00
Tomas Votruba
36fb528062 report removed file 2018-12-20 11:15:58 +01:00
Tomáš Votruba
894dd3895a
Merge pull request #871 from rectorphp/try-catch
Add try-catch to each of 3 steps
v0.3.29
2018-12-18 19:22:47 +01:00
Tomas Votruba
67c9afaf10 exclude non-parsed files 2018-12-18 19:15:11 +01:00
Tomas Votruba
86849b722a apply RectorApplication try-catch on each single step 2018-12-18 19:15:11 +01:00
Tomas Votruba
9cb3484b36 add EasyAdminBundle 2.0 level 2018-12-18 18:59:32 +01:00
Tomas Votruba
c31dcb18a0 add few create_function cases 2018-12-18 01:02:24 +01:00
Tomáš Votruba
da9e036b85
Merge pull request #866 from egobude/patch-1
Adjust docker image name
2018-12-17 11:31:37 +01:00
Benedikt Schmitz
d6c5ea237b
Adjust docker image name
`rector:latest` is not available. You have to use `rector/rector:latest`
2018-12-17 07:29:28 +01:00
Tomas Votruba
b666e74694 use absolute path 2018-12-17 02:55:30 +01:00