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
Tomas Votruba
23b08fc2b1
Merge pull request #3087 from paslandau/fix_array_key_exists_rector
...
Fix ArrayKeysAndInArrayToArrayKeyExistsRectorTest
2020-03-28 17:40:03 +01:00
Pascal Landau
1513ee16cd
Fix ArrayKeysAndInArrayToArrayKeyExistsRectorTest
...
- fixed typo in RectorDefinition code sample
- fixed argument order of array_key_exists
- renamed test folder from ArrayKeysAndInArrayToIssetRector
to ArrayKeysAndInArrayToArrayKeyExistsRector
2020-03-28 17:35:14 +01:00
Tomas Votruba
4f3256e569
Merge pull request #3083 from rectorphp/printing
...
use just one type of printing
2020-03-28 16:36:58 +01:00
TomasVotruba
7474518b96
use just one type of printing
2020-03-28 16:27:26 +01:00
Tomas Votruba
a89785df64
Merge pull request #3081 from rectorphp/param-return-by-property
...
[TypeDeclaration] Add class method param type resolving by property
2020-03-28 16:24:01 +01:00
TomasVotruba
5df24b4087
decouple ChildParamPopulator
2020-03-28 16:16:29 +01:00
TomasVotruba
442e2abac5
[TypeDeclaratoin] Add class method param type resolving by property
2020-03-28 16:16:04 +01:00
Tomas Votruba
d0ca8a63f0
Merge pull request #3082 from rectorphp/array-keys-better
...
[CodeQuality] use array_key_exists instead of isset
2020-03-28 15:31:04 +01:00
TomasVotruba
74416461bb
use array_key_exists instead of isset
2020-03-28 15:12:29 +01:00
Tomas Votruba
ac29fa42ed
Merge pull request #3080 from rectorphp/array-keys-in-arra
...
[CodeQuality] Add ArrayKeysAndInArrayToIssetRector
2020-03-28 00:35:37 +01:00
TomasVotruba
22487811b3
[CodeQuality] Add ArrayKeysAndInArrayToIssetRector
2020-03-28 00:26:41 +01:00
Tomas Votruba
cdd04a9270
Merge pull request #3079 from rectorphp/fix-annota
...
Fix annotation in requirements of @Route
2020-03-27 22:59:13 +01:00
TomasVotruba
8338004d4e
test =
2020-03-27 22:53:40 +01:00
TomasVotruba
c00b8d4b75
fix bracket mallform in annotations
2020-03-27 22:51:44 +01:00
Tomas Votruba
062c323802
Merge pull request #3078 from rectorphp/safe
...
Add Safe 0.7 set
2020-03-27 16:54:21 +01:00
TomasVotruba
ee15a89095
add safe 07 set
2020-03-27 16:51:44 +01:00
Tomas Votruba
0899c2527f
Merge pull request #3077 from rectorphp/fix-auto-import
...
Fix auto import
2020-03-27 16:49:00 +01:00
TomasVotruba
6521583a40
fix importing of non-existing classes
2020-03-27 16:43:42 +01:00
TomasVotruba
31023ee27b
# This is a combination of 2 commits.
...
# This is the 1st commit message:
fix importing of non-existing classes
# The commit message #2 will be skipped:
# fixup! fix importing of non-existing classes
2020-03-27 16:42:50 +01:00
TomasVotruba
557c2521df
unused import is responsibility of coding standard
2020-03-27 16:40:52 +01:00
TomasVotruba
6fba2c610c
cannot work with non-existing class
2020-03-27 16:40:52 +01:00
Tomas Votruba
8220e5ce12
Merge pull request #3076 from rectorphp/php80-less-regex
...
[PHP 8.0] drop preg_match support from StrContains, too vague
2020-03-27 15:24:28 +01:00
TomasVotruba
8f1208d18b
drop preg_match support from StrContains, too vague
2020-03-27 15:20:20 +01:00