TomasVotruba
93c033809a
publish dump-rectors command with 3rd party install
2020-04-26 23:25:34 +02:00
kodiakhq[bot]
cde9c29ad6
Merge branch 'master' into dump-rectors-generic
2020-04-26 14:47:00 +00:00
TomasVotruba
d6a090a685
make DumpRectorsCommand accept argument - directory to Rector rules
2020-04-26 16:30:13 +02:00
TomasVotruba
3aaf7c5fff
open dump-rectors to public
2020-04-26 15:46:24 +02:00
TomasVotruba
677763a876
remove RectorStandaloneRunner, too hacky
2020-04-26 15:42:13 +02:00
TomasVotruba
1bf62ac1c7
[cs] sort private methods by call order and property by complexity
2020-04-26 02:57:47 +02:00
TomasVotruba
e7a1cfcdad
catch OutofboundException
2020-04-25 21:09:53 +02:00
TomasVotruba
8507cec9a1
[Nette] Fix preg_match_all() to Nette\Utils migrations
2020-04-25 19:11:54 +02:00
TomasVotruba
c64a71ecad
phsptan fixes
2020-04-25 16:45:36 +02:00
TomasVotruba
81f00b2366
add IS_REGULAR_PATTERN constant
2020-04-25 16:41:02 +02:00
TomasVotruba
bf4265cd2c
rename FunctionReflectionHelper to FunctionAnnotationResolver, cover with test
2020-04-24 14:07:55 +02:00
TomasVotruba
c84f5c171b
simplify throws class resolving
2020-04-24 01:21:05 +02:00
TomasVotruba
8082b3a2f2
[PHP 8.0] Add str_starts_with
2020-04-23 23:06:36 +02:00
TomasVotruba
98b1277549
various suffix fixes
2020-04-23 22:31:58 +02:00
TomasVotruba
9d83fb64c3
[Restoration] Add RemoveFinalFromEntityRector
2020-04-22 22:49:07 +02:00
TomasVotruba
138aa07a73
reorganize phpdoc reprint test
2020-04-22 15:28:24 +02:00
TomasVotruba
9069f57a50
drop hide autoload errors
2020-04-22 14:12:48 +02:00
TomasVotruba
a5c8afa805
add generic quote support for tag value nodes
2020-04-22 12:25:22 +02:00
TomasVotruba
1ecd30818a
remove unused print method
2020-04-20 09:45:15 +02:00
TomasVotruba
5f4a2c1e3b
Add changed files caching
2020-04-20 01:54:17 +02:00
TomasVotruba
0939387553
use getProperty()
2020-04-19 23:27:37 +02:00
TomasVotruba
538a5ac95e
use FileInfo in Parser
2020-04-19 23:22:07 +02:00
TomasVotruba
192c4464ec
various improvements
2020-04-19 23:17:01 +02:00
TomasVotruba
bafd954de4
add condition test for @Route
2020-04-18 22:55:16 +02:00
TomasVotruba
b30eccb246
[PHP 7.3] Fix regex slash escaping
2020-04-18 20:57:50 +02:00
TomasVotruba
9d28884f99
Type and Choice fixes
2020-04-16 15:01:31 +02:00
TomasVotruba
296de13121
[PHPOffice] Init migration to PHPSpreadSheets
2020-04-15 18:48:58 +02:00
TomasVotruba
a24adce89b
fix comment removal
2020-04-13 12:35:28 +02:00
TomasVotruba
a7d34dfc8d
cs fixes
2020-04-13 12:02:22 +02:00
TomasVotruba
c25c49b34d
add isLocalPropertyFetchName()
2020-04-12 11:55:03 +02:00
TomasVotruba
b80b2bade8
allow extension of configs in AbstractFileSystemRectorTestCase
2020-04-10 12:11:10 +02:00
TomasVotruba
4c4e56b168
make use of isStaticCallNamed()
2020-04-05 00:52:49 +02:00
TomasVotruba
33e4a374d8
add RemoveAnnotationRegistryRegisterFileRector
2020-04-05 00:41:47 +02:00
TomasVotruba
31f959a662
add isInClassesNamed() method
2020-04-05 00:35:39 +02:00
TomasVotruba
d29c4ede57
Add DoctrineAnnotationParserSyncer
2020-04-04 22:01:47 +02:00
TomasVotruba
a8d87554ef
add tag value node types tests
2020-04-03 15:00:55 +02:00
TomasVotruba
7ca1279216
symplify PhpDocParser printer test
2020-04-03 13:24:44 +02:00
TomasVotruba
c68b31f636
fix generics
2020-04-03 00:48:44 +02:00
TomasVotruba
b3fde24ab1
[PHPUnit] Add AddProphecyTraitRector
2020-04-01 02:37:21 +02:00
TomasVotruba
5600cf8d4d
move node adding to PostRector
2020-04-01 01:41:56 +02:00
TomasVotruba
18feee456e
move node-replacing to PostRector
2020-03-31 20:31:19 +02:00
TomasVotruba
af3c92b3d5
move property adding to PostRector
2020-03-31 20:25:29 +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
TomasVotruba
9a9f777513
[DeadCode] Add RemoveDeadRecursiveClassMethodRector
2020-03-31 15:17:42 +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
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