6666 Commits

Author SHA1 Message Date
TomasVotruba
8d4ec5152b Fix parent interface, extends, implements same name as short name 2019-11-14 17:59:37 +01:00
TomasVotruba
9b99212da9 add failing test case for #2307 2019-11-14 17:23:46 +01:00
TomasVotruba
6610b0bd2a fix rule name 2019-11-14 17:18:10 +01:00
Tomáš Votruba
fc5ea3f7df
[PHPUnit 8.0] Add ReplaceAssertArraySubsetWithDmsPolyfillRector (#2326)
[PHPUnit 8.0] Add ReplaceAssertArraySubsetWithDmsPolyfillRector
2019-11-14 17:17:21 +01:00
TomasVotruba
14acb884cd [PHPUnit 8.0] Add ReplaceAssertArraySubsetWithDmsPolyfillRector 2019-11-14 17:08:10 +01:00
Tomáš Votruba
dbf15d5f02
[DX] report missing rules in exclude_rectors parameter (#2325)
[DX] report missing rules in exclude_rectors parameter
2019-11-14 16:59:58 +01:00
TomasVotruba
fcb5f372c2 [DX] report missing rules in exclude_rectors parameter 2019-11-14 16:48:25 +01:00
Tomáš Votruba
37bd6dd93b
[PHPUnit] Fix array subset for non-scalar values (#2324)
[PHPUnit] Fix array subset for non-scalar values
2019-11-14 16:21:36 +01:00
TomasVotruba
6384f729e6 [PHPUnit] Fix #2279 2019-11-14 16:12:48 +01:00
TomasVotruba
7261441788 revert provider name to restore test#1 filtering 2019-11-14 16:07:50 +01:00
Tomáš Votruba
8f0ebb50ae
Merge pull request #2323 from jeroensmit/gnu-bsd-save-sed
Fixed sed command
2019-11-14 15:28:43 +01:00
Jeroen Smit
ea35ed9568 Fixed sed command 2019-11-14 15:17:53 +01:00
Tomáš Votruba
2e945a8ca5
Merge pull request #2321 from rectorphp/nette30
[Nette 3.0]  Add Nette 2.x to Nette 3 upgrade set
2019-11-14 13:11:36 +01:00
TomasVotruba
bb7125361e [Nette] Add SetClassWithArgumentToSetFactoryRector 2019-11-14 13:01:23 +01:00
TomasVotruba
66fec32718 [Nette] Add AddDatePickerToDateControlRector 2019-11-14 12:59:28 +01:00
TomasVotruba
da42118c30 travis: allow docs check to fail 2019-11-14 12:59:28 +01:00
TomasVotruba
4e337bd4e2 [Nette 3.0] init 2019-11-14 12:59:28 +01:00
Tomáš Votruba
89c222c1ff
Merge pull request #2309 from jeroensmit/deduplicate-dead-zero-and-one
Merged RemoveDeadZeroAndOneOperationRector and RemoveZeroAndOneBinarRector
2019-11-14 12:49:49 +01:00
Tomáš Votruba
288946da41
Merge pull request #2311 from jeroensmit/class-constant-with-trait
[DeadCode] Class constant with trait
2019-11-14 12:49:10 +01:00
Jeroen Smit
bab1cb4e5f fix-cs 2019-11-14 10:01:43 +01:00
Jeroen Smit
cdc5350dcc Fixed docblock so phpstan ignore can be removed 2019-11-14 10:01:43 +01:00
Jeroen Smit
1ca332524c Ignore phpstan false positives 2019-11-14 10:01:43 +01:00
Jeroen Smit
4c6d7790ff Fix-cs 2019-11-14 10:01:43 +01:00
Jeroen Smit
638d96e269 Fixed unintended removal of constant in combination with trait 2019-11-14 10:01:43 +01:00
Jeroen Smit
50219abd82 Removed old rector from yaml 2019-11-14 10:00:26 +01:00
Jeroen Smit
7b7b31f43e Move ignore unit test to merged Rector name 2019-11-14 10:00:26 +01:00
Jeroen Smit
3540c91ef2 Merged RemoveDeadZeroAndOneOperationRector and RemoveZeroAndOneBinaryRector into RemoveDeadZeroAndOneOperationRector 2019-11-14 10:00:26 +01:00
Tomáš Votruba
544561f71a
Merge pull request #2318 from jeroensmit/mac-os-sed-command-fixes
Fixed issue with sed command:
2019-11-14 09:52:58 +01:00
Jeroen Smit
c4bf31c9c8 ignore space change (whitelines are removed by fix-cs) 2019-11-13 20:54:33 +01:00
Jeroen Smit
cd531c81e2 Fixed issue with sed command:
on macOs the -E option was taken as the argument of the -i option causing backups to be made with the addional extension -E.
also the backslash of the \s needed additional escaping
2019-11-13 20:42:53 +01:00
Tomáš Votruba
28aef8b23c
code fixes (#2317)
code fixes
2019-11-13 20:24:35 +01:00
TomasVotruba
8c22d6b2d3 code fixes 2019-11-13 20:18:25 +01:00
Tomáš Votruba
01d637c783
Merge pull request #2257 from stedekay/update-return-types
Update return types wpes when set to array
2019-11-13 20:12:23 +01:00
TomasVotruba
04fb893284 fix cs 2019-11-13 20:01:44 +01:00
Tomáš Votruba
fe28e25ccb
Merge pull request #2315 from nissim94/bugfix/namespace-replacement
bugfix(Symfony33); correct the replacement of a namespace
2019-11-13 16:12:25 +01:00
Nissim CHETTRIT
22ba962648 bugfix(Symfony33); correct the replacement of a namespace 2019-11-13 15:14:31 +01:00
Tomáš Votruba
68f53b3aa5
Merge pull request #2300 from jeroensmit/testsetnaming
Give testset a name
2019-11-12 09:00:06 +01:00
Tomáš Votruba
8684fa320b
Added docs check (#2310)
Added docs check
2019-11-12 08:58:33 +01:00
Jeroen Smit
c4f1dbd604 Updated docs 2019-11-12 08:01:15 +01:00
Jeroen Smit
337cbd3ad4 Added docs check 2019-11-12 07:48:09 +01:00
Jeroen Smit
a836c4bc4d Added numeric key as well 2019-11-12 07:02:50 +01:00
TomasVotruba
eb9250da22 fix undefined index 2019-11-12 00:03:31 +01:00
Tomáš Votruba
1ca4042786
[DynamicTypeAnalysis] Add Dynamic type infering (#2264)
[DynamicTypeAnalysis] Add Dynamic type infering
2019-11-12 00:01:31 +01:00
TomasVotruba
360adae027 [Nette] Add FilePutContentsToFileSystemWriteRector 2019-11-11 23:48:31 +01:00
Tomáš Votruba
1aa5af71e3
Fix removing 0 when on left side of Minus (#2308)
Fix removing 0 when on left side of Minus
2019-11-11 23:17:17 +01:00
Jeroen Smit
0fbd0b95a6 Replace 0 minus with UnaryMinus 2019-11-11 22:24:38 +01:00
Jeroen Smit
e548f1071b Fix removing 0 when on left side of Minus 2019-11-11 21:03:23 +01:00
Tomas Votruba
2d30233a47 init DynamicTypeAnalysis 2019-11-11 17:35:34 +01:00
Tomáš Votruba
44e6747c41
Merge pull request #2306 from rectorphp/fix-exception
improve stmt count check
2019-11-11 14:33:45 +01:00
TomasVotruba
f18fb76dcb [CodeQuality] Fix ThrowWithPreviousExceptionRector for different exception location [closes #2303] 2019-11-11 14:09:20 +01:00