Tomas Votruba
2fb3149f6d
Merge pull request #3117 from rectorphp/phpunit-trait
...
[PHPUnit] Add AddProphecyTraitRector
2020-04-01 02:46:15 +02:00
TomasVotruba
b3fde24ab1
[PHPUnit] Add AddProphecyTraitRector
2020-04-01 02:37:21 +02:00
Tomas Votruba
3be8fc5830
Merge pull request #3116 from rectorphp/node-adding
...
move node adding to PostRector
2020-04-01 01:51:40 +02:00
TomasVotruba
5600cf8d4d
move node adding to PostRector
2020-04-01 01:41:56 +02:00
Tomas Votruba
5957c03cb5
Merge pull request #3115 from rectorphp/node-replacing
...
move node-replacing to PostRector
2020-03-31 20:33:52 +02:00
TomasVotruba
18feee456e
move node-replacing to PostRector
2020-03-31 20:31:19 +02:00
Tomas Votruba
e39cec4b9c
Merge pull request #3114 from rectorphp/property-adding
...
move property adding to PostRector
2020-03-31 20:29:40 +02:00
TomasVotruba
af3c92b3d5
move property adding to PostRector
2020-03-31 20:25:29 +02:00
Tomas Votruba
bb606375e8
Merge pull request #3113 from rectorphp/name-importing
...
move name-importing to PostRector
2020-03-31 20:16:54 +02:00
TomasVotruba
38fbcb28e5
move name-importing to PostRector
2020-03-31 20:13:18 +02:00
Tomas Votruba
a9ff5debf4
Merge pull request #3111 from rectorphp/commander-to-post-rector
...
[API] NodeRemovingCommander to PostRector
2020-03-31 19:36:08 +02:00
TomasVotruba
629042eeb4
move NodeRemovingRector to collector
2020-03-31 19:34:56 +02:00
TomasVotruba
7f2aef3d7d
clear commander from AbstractRector
2020-03-31 17:49:26 +02:00
TomasVotruba
a8da478d44
fix Safe\function conflicts
2020-03-31 17:46:04 +02:00
TomasVotruba
849d8362e5
move from Commanders to PostFile Rectors
2020-03-31 16:59:17 +02:00
TomasVotruba
e1140cf920
remove rather useless tearDown() from AbstractRector
2020-03-31 16:08:11 +02:00
Tomas Votruba
8b66cbc2fc
Merge pull request #3108 from rectorphp/dead-recursive
...
[DeadCode] Add RemoveDeadRecursiveClassMethodRector
2020-03-31 15:26:40 +02:00
TomasVotruba
9a9f777513
[DeadCode] Add RemoveDeadRecursiveClassMethodRector
2020-03-31 15:17:42 +02:00
Tomas Votruba
0c2cbca6f2
Merge pull request #3106 from UFTimmy/master
...
Require symfony 5.0.6 or 4.4.6
2020-03-30 18:01:29 +02:00
Tim Ward
e1479b4a07
Require symfony 5.0.6 or 4.4.6
2020-03-30 09:31:45 -04:00
Tomas Votruba
1c30867c18
Merge pull request #3103 from rectorphp/move-privatization-constant
...
move constant privatization to privatization set
2020-03-29 20:14:55 +02:00
TomasVotruba
9466680a6d
move constant privatization to privatization set
2020-03-29 20:02:47 +02:00
Tomas Votruba
3dce067c06
Merge pull request #3100 from rectorphp/privatize-local-property
...
[Privatization] Add PrivatizeLocalPropertyToPrivatePropertyRector
2020-03-29 19:17:04 +02:00
TomasVotruba
144f8cad12
apply rules
2020-03-29 19:09:04 +02:00
TomasVotruba
cbb50de280
[Privatization] Add PrivatizeLocalPropertyToPrivatePropertyRector
2020-03-29 19:07:26 +02:00
Tomas Votruba
d3e5960dc2
Merge pull request #3089 from paslandau/run_fixtures_in_tests
...
Add RunnableTestCase to run fixed code in a test
2020-03-29 18:49:34 +02:00
Tomas Votruba
4ce0ab2ad9
Merge pull request #3097 from rectorphp/parallel-sets
...
move ci validation scripts to objectivy ProjectValidator package
2020-03-29 17:01:39 +02:00
TomasVotruba
2517480b5a
use properties over referecnes
2020-03-29 16:57:15 +02:00
TomasVotruba
69436fc827
naming
2020-03-29 16:16:27 +02:00
TomasVotruba
1cec462ccf
rename to ProjectValidator
2020-03-29 16:13:32 +02:00
TomasVotruba
a957eba2eb
move check_services_in_yaml_configs to ValidateServicesInSetsCommand
2020-03-29 16:11:03 +02:00
TomasVotruba
be4b34302f
move ci/check_keep_fixtures.php to ValidateFixtureCommand
2020-03-29 15:50:36 +02:00
TomasVotruba
f823903560
move run_all_sets to ValidateSetsCommand
2020-03-29 15:37:46 +02:00
Tomas Votruba
773ac10f9c
Merge pull request #3094 from paslandau/add_parallel_execution
...
Add parallel execution to ci/run_all_sets
2020-03-29 15:00:56 +02:00
Pascal Landau
cc18c9a52a
Add parallel execution to ci/run_all_sets
2020-03-29 14:45:54 +02:00
Tomas Votruba
7da1e0a9ea
Merge pull request #3096 from rectorphp/fix-array-routes
...
Fix @Route localized paths
2020-03-29 13:28:07 +02:00
TomasVotruba
8b88afcc66
Fix @Route localized paths
2020-03-29 13:10:47 +02:00
Pascal Landau
016124b215
Add RunnableTestCase to run fixed code in a test
...
- added RunnableTestCase::assertOriginalAndFixedFileYieldSameResult($file)
that takes a fixture file and expects fixture classes that implement the
new RunnableInterface which exposes a run() method
- the fixture class is dynamically renamed to avoid naming conflicts
and loaded via eval()
- fixtures that don't implement the RunnableInterface are ignored
otherwise the run() method is called on the original class as well
as on the fixed one and the output is expected to be equal
(via assertSame)
2020-03-29 13:09:09 +02:00
Tomas Votruba
96d1f219dc
Merge pull request #3093 from rectorphp/privatize-getter
...
[Privatization] Add PrivatizeLocalGetterToPropertyRector
2020-03-29 12:06:59 +02:00
TomasVotruba
058f1c7932
[Privatization] Add PrivatizeLocalGetterToPropertyRector
2020-03-29 03:58:00 +02:00
TomasVotruba
f0c2c79b61
fix property path for sonar
2020-03-29 03:21:29 +02:00
Tomas Votruba
c3d5b83bd6
Merge pull request #3092 from rectorphp/cleanup
...
Cleanup
2020-03-29 03:19:33 +02:00
TomasVotruba
17f9efc223
fix PregFunctionToNetteUtilsStringsRector for preg_match with non-assign
2020-03-29 01:05:18 +01:00
TomasVotruba
58034ac5fa
decouple ClassMethodVisibilityVendorLockResolver
2020-03-29 00:58:12 +01:00
TomasVotruba
15945fc1bc
move Legacy to rules
2020-03-29 00:58:12 +01:00
TomasVotruba
fea734ab61
composer: update complete-check
2020-03-29 00:35:40 +01:00
TomasVotruba
13d9e5665e
cleanup
2020-03-29 00:35:40 +01:00
Tomas Votruba
e9b6a8f58a
Merge pull request #3084 from rectorphp/privatize-methods
...
[Privatization] Privatize methods that are used only locally
2020-03-29 00:11:33 +01:00
TomasVotruba
626287ec76
apply privatization
2020-03-29 00:06:05 +01:00
TomasVotruba
91d1a1e397
[Privatization] Add PrivatizeLocalOnlyMethodRector
2020-03-29 00:06:01 +01:00