TomasVotruba
607358a8e1
move src classes to Rector\Core namespace to prevent duplications
2020-02-07 00:57:45 +01:00
TomasVotruba
447c2ead87
naming conventions for test fixtures
2020-02-02 18:37:04 +01:00
TomasVotruba
9075363fef
bump to PHPStan 0.12
2019-12-09 00:57:53 +01:00
Tomas Votruba
8d57420bd6
use yieldFilesFromDirectory() in tests instead of explicid fixture naming
2019-11-05 18:02:26 +01:00
Tomas Votruba
acfd930f54
apply PSR-12
2019-10-13 08:09:08 +02:00
Tomas Votruba
0da741a9a3
drop @return type from Iterator in tests
2019-09-27 14:40:09 +02:00
Tomas Votruba
35dd776c36
move RenameClassConstantRector to Renaming package
2019-09-23 17:17:58 +02:00
Tomas Votruba
6ef6f073b6
[tests] switch testFiles to data providers
2019-09-12 10:18:26 +02:00
Tomas Votruba
661d2c8e54
fix array indent
2019-05-28 18:27:38 +02:00
Tomas Votruba
1fe23d12c8
merge getRectorClass() and getRectorConfiguration()
2019-04-29 07:36:22 +02:00
Tomas Votruba
71f1af830c
[tests] Refactor tests to use container just once, if not enforced config
2019-04-29 00:36:52 +02:00
Tomas Votruba
02836ab9c3
rename ClassConstantReplacerRector to RenameClassConstantRector
2019-03-09 13:06:16 +00:00
Jan Mikeš
2da8f8713d
Added support for replacing constant from different class
2019-02-02 22:08:57 +01:00
Tomas Votruba
ef288d4045
[tests] rename test files to fixtures
2018-12-06 02:09:02 +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
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
73466ac247
rename test files method to provideFiles()
...
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomas Votruba
2125e24e1f
normalize printer to keep 1 single line in the end + apply to code
2018-10-27 14:57:53 +02:00
Tomas Votruba
c81aa78da8
Add support for case insensitive const renaming
2018-10-22 19:40:27 +02:00
Tomas Votruba
fedb932115
add missing @see references to Rector tests
2018-10-21 19:39:54 +02:00
Tomas Votruba
0e33b525fe
Remove unused methods
2018-10-15 14:36:25 +08:00
Tomas Votruba
5f98af9333
Make PropertyAssignToMethodCallRector many-configurable
2018-10-14 18:23:41 +08:00
Tomas Votruba
3660362e32
apply simple config on levels
2018-10-06 09:26:35 +08:00
Tomas Votruba
88f9dc754f
# This is a combination of 2 commits.
...
# This is the 1st commit message:
move Dynamic Rectors to its own namespaces
# The commit message #2 will be skipped:
# fixup! move Dynamic Rectors to its own namespaces
2018-08-01 21:31:16 +02:00
Tomas Votruba
34989eb043
add ConfiguredCodeSample
2018-08-01 21:31:16 +02:00
Tomas Votruba
de07fd3997
move RenameClassConstantsUseToStringsRector from Nette to generic Rector/Constant
2018-06-06 12:05:36 +02:00