Commit Graph

3963 Commits

Author SHA1 Message Date
Tomas Votruba
68b7076fd0 remove YamlRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
de83b97c8d fix PHPStormVarAnnotationRector namespace [closes #814]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-05 18:35:34 +01:00
Tomas Votruba
7abdb842da drop too long examples
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:26:44 +01:00
Tomáš Votruba
f8e165bb9b
Merge pull request #810 from rectorphp/tests-3
Tests consolidation - part 3
2018-12-04 21:25:40 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
1450f0af45 Update Sensio tests
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomas Votruba
e60a009cc2 make use of FileFinder in packages builder, remove duplicated source loading in AdditionalAutoloader
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:11:22 +01:00
Tomáš Votruba
d910c56f6f
Merge pull request #809 from rectorphp/tests-2
Tests consolidation - part 2
2018-12-04 16:51:45 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
7ac6f10039 refactor /tests by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
8dba0bd34f refactor /packages by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
c7e537160a add JoinTestAndProvideFilesRector [examples]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3e74cf4c85 tests cleanup
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3eeaaa7625 run test
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 14:15:39 +01:00
Tomáš Votruba
512055c431
Merge pull request #807 from rectorphp/tests
Tests - turn to less files with integration and less methods
2018-12-04 03:18:24 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
7c6a8be85e simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:53:11 +01:00
Tomas Votruba
14c6178f57 add SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +01:00
Tomas Votruba
14580c07e7 add old way to IntegrationRectorTestCaseTrait
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +01:00
Tomas Votruba
bef084c11c drop manual rebuilds, fast enough
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:19:21 +01:00
Tomas Votruba
beccd42e42 use integration tests
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:13:43 +01:00
Tomas Votruba
14d9b9a3aa remove unused traits
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:00:41 +01:00
Tomas Votruba
ac909ace06 CountOnNullRectorTest - change to integration
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:57:37 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomáš Votruba
e05ccbef70
Merge pull request #806 from rectorphp/compat-fix
Compat fix
2018-12-03 19:59:25 +01:00
Tomas Votruba
50eb735abd fix cs
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:35:45 +01:00
Tomas Votruba
c16e48974c resolve anonymous assert name phpstan vs php-parser incompatbility
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:35:45 +01:00
Tomas Votruba
78a1e5a4e4 fix cs
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:14:34 +01:00
Tomáš Votruba
75281128dd
Merge pull request #805 from Soullivaneuh/dry-run-return-code
Return error code on diff with dry-run option
2018-12-03 16:31:16 +01:00
Sullivan SENECHAL
4762edde29
Return error code on diff with dry-run option 2018-12-03 15:39:51 +01:00
Sullivan SENECHAL
a970b0d7bb
Apply Rector process 2018-12-03 15:39:51 +01:00
Tomáš Votruba
7039ce87c6
Merge pull request #795 from rectorphp/php-70-typehints
[PHP] Add ParamAndReturnScalarTypehintsRector
2018-12-01 16:05:31 +01:00
Tomas Votruba
9faa7fbd4b [PHP] Add *ScalarTypehintRector + *TypeInfo
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 15:55:46 +01:00
Tomáš Votruba
a2c213f9e2
Merge pull request #804 from rectorphp/namespace-config
Make PseudoNamespaceToNamespaceRector config consistent with rest of Rectors
2018-12-01 13:21:54 +01:00
Tomas Votruba
296d3a32e4 Make PseudoNamespaceToNamespaceRector config consistent with rest of Rectors [closes #781]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 13:15:17 +01:00
Tomáš Votruba
d37af20060
Merge pull request #803 from rectorphp/ecs-optional
make ECS optional dependency to reduce amount of installed packages
2018-11-30 18:15:58 +01:00
Tomas Votruba
24bc48f213 composer: require package-versions to prevent fail install
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-30 17:46:40 +01:00
Tomas Votruba
abbbca3e06 fix Symfony 4.2 process compat
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-30 17:46:40 +01:00
Tomas Votruba
26253a0872 make ECS optional dependency to reduce amount of installed packages and allow own cs tools
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-30 17:46:40 +01:00
Tomáš Votruba
8696ef2c62
Merge pull request #796 from funivan/patch-1
fix typo
2018-11-29 11:16:07 +01:00
Ivan
1878b8c2a8
fix typo 2018-11-29 11:51:17 +02:00
Tomáš Votruba
351e6d2ad5
Merge pull request #793 from rectorphp/php73
travis: test PHP 7.3
2018-11-28 17:18:14 +01:00
Tomas Votruba
63536b48c2 travis: test PHP 7.3
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-11-28 17:07:27 +01:00
Tomáš Votruba
8af8f12e49
Merge pull request #790 from buffcode/issue-789
ExceptionHandlerTypehintRector fails on nullable parameters
2018-11-22 17:42:28 +01:00
Laurens Stötzel
c9df6145d4 ExceptionHandlerTypehintRector fails on nullable parameters
Fixes #789
2018-11-22 16:38:20 +01:00
Tomáš Votruba
ae37c40e37
Merge pull request #788 from rectorphp/phpunit/iterator-count
[PHPUnit] Convert iterator_count into assertCount
2018-11-18 17:17:09 +01:00
Gabriel Caruso
3ba2759970
[PHPUnit] Convert iterator_count into assertCount 2018-11-18 13:19:15 -02:00
Tomáš Votruba
908044bff0
Merge pull request #787 from rectorphp/phpstorm-doc-fixer
[PHPStan] Add Phpstorm doc fixer
2018-11-17 11:16:48 +02:00
Tomas Votruba
e0a399eefc [PHPStan] Add PHPStormVarAnnotationRector 2018-11-17 01:20:21 +02:00
Tomáš Votruba
6a94b8c274
Merge pull request #778 from bendavies/JmsInjectAnnotationRector-improve
impove JmsInjectAnnotationRector
2018-11-15 14:26:12 +02:00