4520 Commits

Author SHA1 Message Date
TomasVotruba
0781228cc0 [Rector] PhpGeneratorDocument init 2017-08-24 12:00:04 +02:00
TomasVotruba
ffc94f276e [Rector] FormCallbackRector - use type 2017-08-21 12:37:43 +02:00
TomasVotruba
279a233f66 [Rector] RemoveConfiguratorConstant - use FQN class name 2017-08-21 12:28:00 +02:00
TomasVotruba
2d5f3c1b83 uppercase ALL tests directories to prepare for autoload 2017-08-21 12:23:49 +02:00
TomasVotruba
c8473aa0b4 [Rector] NetteObject - add test case for namespaced object 2017-08-21 12:21:50 +02:00
TomasVotruba
0e20f778c6 uppercase test directory to prepare for autoload 2017-08-21 12:15:45 +02:00
TomasVotruba
8c3fdb6e84 [README] bit info added 2017-08-21 12:12:51 +02:00
TomasVotruba
8c3fc9a493 [NodeTypeResolver] add method argument type 2017-08-21 12:04:35 +02:00
TomasVotruba
9c9b5c8111 [NodeTypeResolver] add property 2017-08-21 12:02:56 +02:00
TomasVotruba
bc604a6606 [NodeTypeResolver] add missing properties, fix namespace 2017-08-21 11:48:54 +02:00
TomasVotruba
922b1f855c [NodeTypeResolver] split tests to 2 classes 2017-08-21 11:44:56 +02:00
TomasVotruba
d013fe2534 [NodeTypeResolver] refactor to callabacks to decrease complexity 2017-08-21 11:35:57 +02:00
TomasVotruba
b6345de749 [NodeTypeResolver] decouple ConstructorPropertyTypesExtractor 2017-08-21 11:24:07 +02:00
TomasVotruba
58fef98d4e [NodeTypeResolver] add property support 2017-08-21 01:19:14 +02:00
Tomáš Votruba
5a5c276787 Merge pull request #10 from TomasVotruba/abstract-change-method-name-rector
add AbstractChangeMethodNameRector [closes #9]
2017-08-20 17:41:21 +02:00
TomasVotruba
3ddc0782e0 README: add new rectors [skip ci] 2017-08-20 17:40:19 +02:00
TomasVotruba
24fb8d4387 fix class name 2017-08-20 17:37:57 +02:00
TomasVotruba
34dce56289 add AbstractChangeMethodNameRector [closes #9] 2017-08-20 17:36:04 +02:00
Tomáš Votruba
23c6c4dd53 Merge pull request #8 from TomasVotruba/nette-html-add-to-addhtml
[Nette] prepare type call for Html
2017-08-20 17:31:01 +02:00
TomasVotruba
9cf112ac3a [NodeTypeResolver] decrease complexity 2017-08-20 17:27:19 +02:00
TomasVotruba
fec9201cc2 add /packages directory to static analysis check 2017-08-20 17:20:33 +02:00
TomasVotruba
60f4a98b51 [NodeTypeResolver] fix standalone test 2017-08-20 17:05:57 +02:00
TomasVotruba
75ae44379b cleanup unsued NodeTraversers 2017-08-20 16:57:38 +02:00
TomasVotruba
2318f5e27b add reference links 2017-08-20 16:46:00 +02:00
TomasVotruba
4060cad38a make HtmlAddMethodRector pass 2017-08-20 16:27:57 +02:00
TomasVotruba
5f2be5f99f apply StandaloneTraverseNodeTraverser 2017-08-20 16:25:13 +02:00
TomasVotruba
a6c553c3b4 tests passes again 2017-08-20 16:13:38 +02:00
TomasVotruba
863a20df68 fixup NodeTraverser order 2017-08-20 16:08:24 +02:00
TomasVotruba
261f9aa8f2 drop EventDispatcher, add prioritied NodeTraversers 2017-08-20 15:25:03 +02:00
TomasVotruba
40c7d5366e add EventDispatcher 2017-08-20 01:46:12 +02:00
TomasVotruba
d8d68ba767 composer: use max level for PHPStan 2017-08-20 01:04:06 +02:00
TomasVotruba
4c052d0ceb cleanup 2017-08-20 01:02:11 +02:00
TomasVotruba
738ac001f9 use simple NodeTypeResolver according to NodeVisitor example 2017-08-20 00:51:00 +02:00
TomasVotruba
5a0ce3b7dc WIP with PHPStan 2017-08-18 22:59:59 +02:00
TomasVotruba
fb7adfbfc3 [Nette] add few more tests to HtmlAddMethodRector 2017-08-16 09:48:48 +02:00
TomasVotruba
a73ba4bb49 [Nette] add simple type resolver for HtmlAddMethodRector 2017-08-16 09:45:07 +02:00
TomasVotruba
70775f5bfa [Nette] prepare type call for Html 2017-08-15 15:25:16 +02:00
Tomáš Votruba
75bf8dce4e Merge pull request #7 from TomasVotruba/nette-deprecate-method-name
[Rector] HtmlAddMethodRector init
2017-08-15 15:20:38 +02:00
TomasVotruba
ed4605bb6e drop unused file 2017-08-15 15:20:16 +02:00
TomasVotruba
8a525e12a0 simplify travis.yml 2017-08-15 15:19:34 +02:00
TomasVotruba
3e9f3b8342 fix cs 2017-08-15 15:17:17 +02:00
TomasVotruba
1f7c66bb72 move Symfony rector to Contrib 2017-08-15 15:15:02 +02:00
TomasVotruba
a8a3df0db1 fix InjectPropertyRector 2017-08-15 15:00:49 +02:00
TomasVotruba
4c7a7cda22 move InjectAnnotationToContructRector test to correct place, rename FileReconstructor to FileProcessor 2017-08-15 14:51:52 +02:00
TomasVotruba
9327e0a6b1 add CloningNodeTraverser to FileProcessor 2017-08-15 14:42:25 +02:00
TomasVotruba
891af567a4 drop NodeTraverserFactory, not needed 2017-08-15 14:40:02 +02:00
TomasVotruba
2f09ad31ed drop TokenSwitcher, use standalone NodeTraverser for cloning tokens 2017-08-15 14:36:39 +02:00
TomasVotruba
ca3aa06941 coding standard fixes, use PHPStan as dependency 2017-08-15 13:26:00 +02:00
TomasVotruba
7fe31cde23 [Rector] HtmlAddMethodRector init 2017-08-15 08:37:36 +02:00
TomasVotruba
412c1f10b5 update cs configuration 2017-08-15 01:02:23 +02:00