9429 Commits

Author SHA1 Message Date
Tomas Votruba
d9584305ce
Merge pull request #3633 from rectorphp/fix-array-this-call
[CodeQuality] fix callable this if part of the method
2020-07-02 01:01:19 +02:00
TomasVotruba
9656d25eb1 fix callable this if part of the method 2020-07-02 01:00:24 +02:00
TomasVotruba
f15019a28b use extact version in phpstan compiler to rector.phar 2020-07-02 00:49:00 +02:00
Tomas Votruba
e7dde4c0d5
Merge pull request #3632 from rectorphp/repeated-literal-class
[SOLID] Prevent adding constant, that is reserved keyword in RepeatedLiteralToClassConstantRector
2020-07-02 00:45:43 +02:00
TomasVotruba
9327cffa0e [SOLID] Prevent adding constant, that is reserved keyword in RepeatedLiteralToClassConstantRector 2020-07-02 00:45:01 +02:00
Tomas Votruba
02bf6bda1b
Merge pull request #3631 from rectorphp/complete-dev-deps
[phar] include phpstan dev deps
2020-07-02 00:36:13 +02:00
TomasVotruba
f5365a6dbc [phar] include phpstan dev deps 2020-07-02 00:33:02 +02:00
Tomas Votruba
a922d77d2e
Merge pull request #3630 from rectorphp/reflection-over-broker 2020-07-02 00:00:39 +02:00
TomasVotruba
6423ac0b17 build rector.phar on PHP 7.4, as PHPStan needs it 2020-07-01 23:56:01 +02:00
TomasVotruba
baf54a84ae remove unused Zend stubs 2020-07-01 23:52:47 +02:00
Tomas Votruba
0cf9372287
Merge pull request #3629 from rectorphp/merge-property-naming
merge PropertyNaming to one class
2020-07-01 23:48:23 +02:00
TomasVotruba
52acc54005 merge PropertyNaming to one class 2020-07-01 23:42:23 +02:00
kodiakhq[bot]
2b24acbb55
Merge pull request #3628 from rectorphp/fix-phpstan-reflection
Fix PHPStan Reflection break from 0.12.26
2020-07-01 21:39:02 +00:00
TomasVotruba
f113d3d103 fix php80 set 2020-07-01 23:35:40 +02:00
TomasVotruba
b33ff2649f refresh to fix old cache of stubs 2020-07-01 23:24:50 +02:00
TomasVotruba
b058f9bb65 composer: use 0.12.32 version 2020-07-01 23:22:30 +02:00
TomasVotruba
86a88bffb6 remove unused file 2020-07-01 23:22:24 +02:00
TomasVotruba
9fd831861c add failing ci 2020-07-01 23:05:12 +02:00
TomasVotruba
78a97fb8bf typos, skip empty class 2020-07-01 22:28:58 +02:00
TomasVotruba
e091457bfa update docs 2020-07-01 22:28:39 +02:00
TomasVotruba
5cb1947407 skip null 2020-07-01 22:11:10 +02:00
Tomas Votruba
9901e54edc
Merge pull request #3627 from rectorphp/fix-error
fail on found errors
2020-07-01 22:03:19 +02:00
TomasVotruba
78bd9917c9 fail on found errors 2020-07-01 22:02:18 +02:00
Tomas Votruba
27e5fe0cc5
Merge pull request #3626 from rectorphp/defluent-method-body
fix class name
2020-07-01 21:54:38 +02:00
TomasVotruba
00da1fde74 fix class name 2020-07-01 21:54:16 +02:00
Tomas Votruba
6f0c28469a
Merge pull request #3613 from dobryy/replace-in-string-classes-rule 2020-07-01 21:26:27 +02:00
dobryy
4a3fdf3705 Add new rector to replace hardcoded class name reference in string with class keyword reference 2020-07-01 20:30:28 +02:00
Tomas Votruba
f5daacc647
Merge pull request #3624 from rectorphp/defluent-method-body
[MagicDisclosure] remove MethodBody to Return_
2020-07-01 01:54:53 +02:00
TomasVotruba
7c62955a53 remove MethodBody to ClassMethod 2020-07-01 01:44:14 +02:00
Tomas Votruba
e56855fe57
Merge pull request #3623 from rectorphp/return-respons 2020-07-01 01:25:17 +02:00
TomasVotruba
bf8e9c2e2f pass data to argument 2020-07-01 01:20:47 +02:00
TomasVotruba
577011ef68 add return response|null fixture 2020-07-01 01:14:38 +02:00
kodiakhq[bot]
af18b50377
Merge pull request #3622 from rectorphp/template-try-catch-array
[Symfony] add constant return array support to TemplateAnnotationToThisRenderRector
2020-06-30 19:40:23 +00:00
TomasVotruba
31a019b0d7 add constant return array support 2020-06-30 21:36:24 +02:00
Tomas Votruba
71247e1587
Merge pull request #3621 from rectorphp/fix-return-with-new
[MagicDisclosure] cover return new case in DefluentMethodCallRector
2020-06-30 20:30:02 +02:00
TomasVotruba
b0250a558c cover return new case 2020-06-30 20:21:24 +02:00
kodiakhq[bot]
2980cde744
Merge pull request #3618 from rectorphp/template-nested-array
[Symfony] Cover return array method
2020-06-30 09:02:16 +00:00
TomasVotruba
59dbe98883 cover return array method 2020-06-30 10:58:45 +02:00
kodiakhq[bot]
87fa3a25e4
Merge pull request #3616 from rectorphp/template-array
[Symfony] Fix template array in TemplateAnnotationToThisRenderRector
2020-06-30 00:31:44 +00:00
TomasVotruba
c08d874107 make use PhpDocTrait 2020-06-30 02:27:55 +02:00
TomasVotruba
cf29b1dacb skip array in call 2020-06-30 02:20:09 +02:00
TomasVotruba
2758fd5339 re-use hasPhpDocTagValueNode() 2020-06-30 02:20:09 +02:00
kodiakhq[bot]
c1f38b0d8e
Merge pull request #3615 from rectorphp/rename-file-info
[tests] rename file to fileInfo
2020-06-29 23:49:52 +00:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
kodiakhq[bot]
64c45c7e2f
Merge pull request #3614 from rectorphp/builder-naming
use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion
2020-06-29 23:38:18 +00:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
Tomas Votruba
3c5a0023fa
Merge pull request #3612 from rectorphp/naming-new 2020-06-30 01:05:04 +02:00
TomasVotruba
24d5f65811 remove speedtrap, not useful 2020-06-30 00:59:42 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
477308c030 [Naming] Add RenameVariableToMatchNewTypeRector 2020-06-29 23:09:51 +02:00