Commit Graph

5384 Commits

Author SHA1 Message Date
Tomas Votruba
fadc28afa3 [CodeQuality] Add StrlenZeroToIdenticalEmptyStringRector 2019-07-05 00:31:24 +03:00
Tomáš Votruba
abb1c78252
[CodeQuality] Add is_a with string true (#1689)
[CodeQuality] Add is_a with string true
2019-07-05 00:11:47 +03:00
Tomas Votruba
d94e26822d [CodeQuality] Add is_a with string true 2019-07-05 00:06:01 +03:00
Tomáš Votruba
6574c11c15
[Symfony] Set few default common service names for Symfony App… (#1687)
[Symfony] Set few default common service names for Symfony App Analyzer
2019-07-04 15:44:04 +03:00
Joseph Bielawski
6d23c758a4 [Symfony] Set few default common service names for Symfony App Analyzer
Allow to set custom ones via configuration
2019-07-04 13:55:37 +02:00
Tomáš Votruba
048ce8c545
Merge pull request #1686 from stloyd/issue-1663
[Bugfix] PHPDoc type-hint `resource` should not be used as PHP type-hint
2019-07-04 13:45:26 +03:00
Joseph Bielawski
34e1a8d465 [Bugfix] PHPDoc type-hint resource should not be used as PHP type-hint 2019-07-04 12:33:28 +02:00
Tomáš Votruba
8e76f1ca12
Add parent::__construct() to command dependencies (#1681)
Add parent::__construct() to command dependencies
2019-07-04 12:48:21 +03:00
Tomas Votruba
154a4e4012 Fix ContainerGetToConstructorInjectionRector to add parent::__construct() to commands 2019-07-04 12:37:01 +03:00
Tomáš Votruba
c1f541dece
fix new phpstan reports (#1684)
fix new phpstan reports
2019-07-04 12:36:41 +03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomáš Votruba
e0510f6870
Merge pull request #1677 from stloyd/patch-1
[Bugfix] `IsCountableRector` & `IsIterableRector` should first check method availability
2019-07-04 09:40:12 +03:00
Tomas Votruba
125dac4066 use set over level 2019-07-03 23:27:34 +03:00
Tomáš Votruba
cce7911308
Merge pull request #1679 from stloyd/patch-2
[MakeCommandLazyRector] Remove duplicated check
2019-07-03 21:51:36 +03:00
Joseph Bielawski
7f3f6bb0af
[MakeCommandLazyRector] Remove duplicated check 2019-07-03 16:31:37 +02:00
Joseph Bielawski
e60f81fbed [Bugfix] PassFactoryToEntityRectorTest should depend on system /tmp directory 2019-07-03 14:08:35 +02:00
Joseph Bielawski
03b4bdd1b9 [Bugfix] IsCountableRector & IsIterableRector should first check method availability 2019-07-03 13:37:12 +02:00
Tomáš Votruba
1dd69eedd6
[PHP] Add scope limitation to ArgumentAdderRector for 3party no… (#1676)
[PHP] Add scope limitation to ArgumentAdderRector for 3party non-existing params
2019-07-03 10:37:17 +03:00
Tomas Votruba
3aa8e4952d [PHP] Add scope limitation to ArgumentAdderRector for 3party non-existing params [closes #1662] 2019-07-02 22:17:02 +02:00
Tomáš Votruba
2b7a0096ba
[Symfony] Make set symfony42 refactor get(...) in former contai… (#1675)
[Symfony] Make set symfony42 refactor get(...) in former container aware commands
2019-07-02 22:16:43 +02:00
Tomas Votruba
da0b9658e6 [Symfony] Make set symfony42 refactor get(...) in former container aware commands 2019-07-02 22:08:45 +02:00
Tomas Votruba
4cec86bbe0 remove preslash of use imports from RenameClassRetor 2019-07-02 22:08:45 +02:00
Tomáš Votruba
cbece797a8
Add Polyfil function support (#1674)
Add Polyfil function support
2019-07-02 22:08:21 +02:00
Tomas Votruba
0d78c02ee6 add polyfil functions features to PHP sets 2019-07-02 18:33:28 +02:00
Tomáš Votruba
768b357527
Fix InjectAnnotationClassRector for @var case (#1673)
Fix InjectAnnotationClassRector for @var case
2019-07-02 17:46:01 +02:00
Tomas Votruba
82a379dc2b fix InjectAnnotationClassRector for @var case 2019-07-02 17:07:11 +02:00
Tomáš Votruba
a82f61b9d8
[Doctrine] Add registry to EM (#1671)
[Doctrine] Add registry to EM
2019-07-02 13:47:22 +02:00
Tomas Votruba
bd48d5792d [Doctrine] Add registry to EM 2019-07-02 13:43:26 +02:00
Tomáš Votruba
c3f9fb9e44
Skip session in MultipleServiceGetToSetUpMethodRector (#1666)
Skip session in MultipleServiceGetToSetUpMethodRector
2019-06-29 13:29:24 +02:00
Tomas Votruba
f4dc3a34c8 make MultipleServiceGetToSetUpMethodRector skip session 2019-06-29 13:24:12 +02:00
Tomáš Votruba
75094d26f0
Merge pull request #1661 from rectorphp/fixups
Minor phpdoc fixes
2019-06-28 13:38:50 +02:00
Tomas Votruba
0fe6c029dd make update node docblock public, so it can save new node 2019-06-28 13:34:28 +02:00
Tomas Votruba
a66bdd36a1 reset values to key from 0 2019-06-28 13:25:43 +02:00
Tomas Votruba
bc1a4c3ee0 fix autoregistration of ElasticSearchDSL 2019-06-28 08:56:07 +02:00
Tomas Votruba
20486ae908 update CHANGELOG 2019-06-28 07:50:27 +02:00
Tomáš Votruba
df2fadf641
Merge pull request #1659 from rectorphp/singly
remove deprecated singly implemented autowire compiler pass
2019-06-27 06:55:22 +02:00
Tomas Votruba
73623bd0e6 remove deprecated singly implemented autowire compiler pass 2019-06-27 00:05:41 +02:00
Tomáš Votruba
7abecfe9a8
[SymfonyPHPUnit] Add MultipleServiceGetToSetUpMethodRector (#1656)
[SymfonyPHPUnit] Add MultipleServiceGetToSetUpMethodRector
2019-06-26 20:50:25 +02:00
Tomas Votruba
e6cb94b54d [SymfonyPHPUnit] Add MultipleServiceGetToSetUpMethodRector 2019-06-26 18:25:06 +02:00
Tomáš Votruba
235f9f8324
Merge pull request #1651 from vasilvestre/patch-1
Update link to upgrade.md 3.0
2019-06-26 17:37:29 +02:00
Tomas Votruba
47f2264fdd [DX] add link to all nodes to PhpRectorInterface 2019-06-26 15:30:50 +02:00
Valentin Silvestre
7ceb41de99
Update link to upgrade.md 2019-06-26 10:44:12 +02:00
Tomáš Votruba
eafb517669
Add test case for #1630 (#1641)
Add test case for #1630
2019-06-23 22:15:07 +02:00
Tomas Votruba
b91850c14a add test case for #1630 2019-06-23 22:14:38 +02:00
Tomáš Votruba
a5977f96bf
[PHP] Fix JsonThrowOnErrorRector inter-args (#1647)
[PHP] Fix JsonThrowOnErrorRector inter-args
2019-06-23 22:12:48 +02:00
Tomas Votruba
e8e551064c [PHP] Fix JsonThrowOnErrorRector inter-args 2019-06-23 21:59:21 +02:00
Tomáš Votruba
b1ddf31228
[PHP] Fix mktime rename with args [closes #1622] (#1645)
[PHP] Fix mktime rename with args [closes #1622]
2019-06-23 20:07:27 +02:00
Tomas Votruba
b32c32b682 [PHP] Fix mktime rename with args [closes #1622] 2019-06-23 20:03:33 +02:00
Tomáš Votruba
f515ecca3d
Merge pull request #1644 from rectorphp/extra-param-fix
[PHP] Fix missed variadic on ReflectionMethod::invoke() [closes #1625]
2019-06-23 19:51:23 +02:00
Tomas Votruba
8ac3b524fb [PHP] Fix missed variadic on ReflectionMethod::invoke() [closes #1625] 2019-06-23 19:44:57 +02:00