7637 Commits

Author SHA1 Message Date
Tomas Votruba
679a5b5262
Merge pull request #2871 from rectorphp/ci-sets-parallel
Make ParamTypeDeclaration test pass with parent interface
2020-02-17 02:03:11 +01:00
TomasVotruba
e9897408b6 make test pass 2020-02-17 01:54:02 +01:00
TomasVotruba
868a56ad5a fix test location 2020-02-17 01:52:05 +01:00
Tomas Votruba
dba5604685
Merge pull request #2697 from Aerendir/failing-test-case-for-2696
Failing test case for #2696.
2020-02-17 01:28:17 +01:00
Tomas Votruba
ab0c172b26
Merge pull request #2870 from rectorphp/fix-always-else
fix remove alwasy else for anonymous function jump
2020-02-17 01:27:35 +01:00
TomasVotruba
5ebf2414c4 fix remove alwasy else for anonymous function jump 2020-02-17 01:24:19 +01:00
Tomas Votruba
655478265c
Merge pull request #2862 from escopecz/remove-always-elase-anonymous-function
Adding failing test for RemoveAlwaysElseRector
2020-02-17 00:55:40 +01:00
Tomas Votruba
34dc69ef83
Merge pull request #2869 from rectorphp/keep-comments
Keep comments
2020-02-17 00:53:09 +01:00
TomasVotruba
dfd75bea94 improve ci 2020-02-17 00:45:00 +01:00
TomasVotruba
1498108d95 fix single line comment 2020-02-17 00:03:28 +01:00
TomasVotruba
b89d691c36 symplify config 2020-02-16 21:52:10 +01:00
Tomas Votruba
5fb25d0001
Merge pull request #2868 from rectorphp/keep-comments
update CHANGELOG
2020-02-16 21:50:46 +01:00
Tomas Votruba
f1f320c89c
Merge pull request #2867 from fsok/add_test_for_issue_2863
Add failing test for issue #2863
2020-02-16 21:50:38 +01:00
TomasVotruba
748a01e0ef update CHANGELOG 2020-02-16 21:49:10 +01:00
John Linhart
54302369f1 Moving test into a separate file 2020-02-16 19:47:26 +01:00
Felix Sokoliuk
3a52e321e7 add failing test for issue #2863 2020-02-16 19:28:13 +01:00
Tomas Votruba
1e0583ae35
Merge pull request #2866 from rectorphp/fix-count
Skip CountOnNullRector on trait + fix return type mixed override
2020-02-16 19:19:23 +01:00
TomasVotruba
4986d0ab7d respect parent definition in AddArrayReturnDocTypeRector 2020-02-16 19:13:41 +01:00
TomasVotruba
6d0e77fe1a skip traits in CountOnNullRector 2020-02-16 19:07:37 +01:00
TomasVotruba
895f09b150 fix paths 2020-02-16 18:42:57 +01:00
Tomas Votruba
b8c730dc5c
Merge pull request #2631 from gnutix/AddArrayReturnDocTypeRector/skip-parent-phpdoc
[AddArrayReturnDocTypeRector] sets a less specific type in child method (mixed[]) than is defined in parent method (SomeObject[])
2020-02-16 18:29:16 +01:00
Tomas Votruba
de2279a9b4
Merge pull request #2865 from rectorphp/callable
fix callable print [closes #2841]
2020-02-16 18:15:41 +01:00
TomasVotruba
8cd2cfee5b fix callable print [closes #2841] 2020-02-16 18:13:52 +01:00
Tomas Votruba
58df5c5f31
Merge pull request #2859 from rectorphp/const-property
Apply properties to constants rule from SOLID
2020-02-16 17:51:17 +01:00
Tomas Votruba
49eb6ef5f7
Merge pull request #2650 from gnutix/CountOnNullRector/should-understand-variables-in-trait-methods
[CountOnNullRector] Should understand array/countable variable in trait method
2020-02-16 17:50:30 +01:00
TomasVotruba
d1b4779889 apply properties to constants rule from SOLID 2020-02-16 17:47:00 +01:00
Tomas Votruba
20cf41fe7b
Merge pull request #2860 from Aerendir/make-annotate-throwables-continue-on-variable
Make `AnnotateThrowablesRector` continue on unhandled node types.
2020-02-16 17:00:43 +01:00
John Linhart
facca2a50b Adding failing test for RemoveAlwaysElseRector
With a foreach within an anonymous function
2020-02-15 15:26:41 +01:00
Aerendir
f734a93272 Make AnnotateThrowablesRector continue on unhandled node types. 2020-02-15 00:56:09 +01:00
Tomas Votruba
fcec6e301e
Merge pull request #2858 from rectorphp/trows-class
Cleanup AnnotateThrowablesRector
2020-02-14 23:58:19 +01:00
TomasVotruba
77c9d2924e remove duplicated tests 2020-02-14 23:53:37 +01:00
TomasVotruba
69c18b87ca fix fixtures 2020-02-14 23:50:42 +01:00
TomasVotruba
1c273c902c fix namespace 2020-02-14 23:48:53 +01:00
Tomas Votruba
025bb364f4
Merge pull request #2857 from rectorphp/fix-throws
Improve AnnotateThrowablesRector
2020-02-14 23:43:54 +01:00
TomasVotruba
401d0aeaf6 fix namespaces, fixtures, add getThrowsTypes() 2020-02-14 23:35:40 +01:00
TomasVotruba
3bb87fcc1c correct location 2020-02-14 21:20:46 +01:00
Tomas Votruba
470238c71e
Merge pull request #2833 from Aerendir/2824-annotate-throwables
#2824: Automatically add to DocBlock comments the thrown `\Throwables`.
2020-02-14 20:35:06 +01:00
Tomas Votruba
5113d23776
Merge branch 'master' into 2824-annotate-throwables 2020-02-14 20:34:43 +01:00
Aerendir
f3449d886f Prepare to manage the other cases. 2020-02-14 17:29:16 +01:00
Tomas Votruba
18ce556d07
Merge pull request #2856 from rectorphp/solid-const
[SOLID] Add ChangeReadOnlyPropertyWithDefaultValueToConstantRector
2020-02-14 17:14:53 +01:00
TomasVotruba
00a3fb3a17 [SOLID] Add ChangeReadOnlyPropertyWithDefaultValueToConstantRector 2020-02-14 17:08:51 +01:00
Tomas Votruba
4c47186b76
Merge pull request #2853 from rectorphp/dead-try
[DeadCode] Add RemoveDeadTryCatchRector
2020-02-14 15:53:34 +01:00
TomasVotruba
1881f534de fixup! [DeadCode] Add RemoveDeadTryCatchRector 2020-02-14 15:48:45 +01:00
TomasVotruba
af90cba019 [DeadCode] Add RemoveDeadTryCatchRector 2020-02-14 15:48:45 +01:00
TomasVotruba
d4a32b4e1b improve create command 2020-02-14 15:48:45 +01:00
TomasVotruba
ecaf48501c prelude unprefixing 2020-02-14 15:45:16 +01:00
Tomas Votruba
6b8cc7cf6d
Merge pull request #2851 from rectorphp/move-nette
move Nette package to rules
2020-02-14 10:59:44 +01:00
TomasVotruba
bf722ad9b5 move nette to rules 2020-02-14 10:51:33 +01:00
TomasVotruba
5b5721e08f typo 2020-02-14 10:35:46 +01:00
Tomas Votruba
b2c0c3ea68
Merge pull request #2848 from alfredbez/feature-add-oxid-set
add first OXID rector
2020-02-14 10:14:06 +01:00