Commit Graph

632 Commits

Author SHA1 Message Date
TomasVotruba
bace233ed4 load just once experiment 2019-12-09 00:57:44 +01:00
TomasVotruba
a17c90227c simplify autolaod in bin/rector 2019-12-08 18:01:41 +01:00
TomasVotruba
a1eb10be06 autoload tweaks 2019-12-08 18:01:41 +01:00
TomasVotruba
290d0b4ee5 fixup! Merge pull request #2409 from rectorphp/phalcon-round-2 2019-12-08 18:01:29 +01:00
TomasVotruba
53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00
TomasVotruba
fcb5f372c2 [DX] report missing rules in exclude_rectors parameter 2019-11-14 16:48:25 +01:00
Tomas Votruba
8dc4336ce8 add SetOptinosResolver and ConfigResolver 2019-10-30 12:17:26 +01:00
Tomas Votruba
07a1f1e848 move ci scripts to from /bin to /ci 2019-10-30 11:56:21 +01:00
Tomas Votruba
e5194fecc2 add --xdebug option 2019-10-29 17:58:44 +01:00
Tomas Votruba
51403e5348 Fix empty -c/--config value 2019-10-29 17:46:24 +01:00
Tomas Votruba
beaf6a8378 make use of Set and ContainerFactory 2019-10-22 15:13:46 +02:00
Tomas Votruba
0a5efeaf84 add Standalone 2019-10-22 15:13:46 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
b5b2358849 fix set error report 2019-10-09 11:19:51 +01:00
Tomas Votruba
46412c73ce [Symfony] Make MakeDispatchFirstArgumentEventRector work with get_class 2019-09-26 13:52:28 +02:00
Tomas Votruba
fcb865767a make RectorServiceParametersShifter report better error in case of invalid configuration 2019-09-26 13:33:31 +02:00
Tomas Votruba
e2a8659b2c fix easy-admin-bundle20 set 2019-09-26 13:26:06 +02:00
Tomas Votruba
2289c0d873 [CI] run all sets check 2019-09-26 12:48:28 +02:00
Tomas Votruba
cefdc0f846 check invalid config arguments 2019-09-13 09:01:27 +02:00
Tomas Votruba
aa5bfc4921 fix array to provider rule 2019-09-13 08:32:33 +02:00
Tomas Votruba
60232eca21 add check class existance scripts 2019-09-13 08:16:11 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
522fc0ca58 rename level dir to set 2019-06-08 22:41:52 +02:00
Tomas Votruba
9665d586ce make LevelOptionResolver smarter 2019-06-01 11:46:18 +03:00
Tomas Votruba
62fb154906 make OutputFormatters specific for DumpRectorsCommand 2019-02-23 00:49:32 +01:00
Tomas Votruba
bfff23fbb2 use AbstractHttpKernelTest case and local Kernel over ContainerFactory 2019-02-23 00:49:32 +01:00
Tomas Votruba
a486f7fdbb rename class in bin/bootstrap.php 2019-02-08 15:53:29 +01:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Tomas Votruba
02e06703c0 remove throwable-renderer 2019-02-02 01:33:50 +01:00
Lars Moelleken
4b700ff95b [+]: try to fix issue #942 v3.1 (fix code-style) 2019-01-11 19:14:00 +01:00
Lars Moelleken
e9037cf180 [+]: try to fix issue #942 v3 2019-01-11 18:57:55 +01:00
Lars Moelleken
0c03a0431e [+]: try to fix issue #942 v2 2019-01-11 15:12:56 +01:00
Lars Moelleken
5c7d983db6 [+]: try to fix issue #942
copy&past from https://github.com/phan/phan/blob/master/src/Phan/Config/Initializer.php#L57 ;)
2019-01-11 15:11:35 +01:00
Tomas Votruba
98bc91827f bin - add Application type to autocomplete 2018-12-21 16:46:28 +01:00
Jan Kuchař
fd41d91f2d
bin/rector: try increase memory limit to unlimited 2018-12-20 20:23:08 +01:00
Tomas Votruba
9962c25e55 add XdebugHandler 2018-11-06 23:12:02 +01:00
Tomas Votruba
cd88a48b68 Add SymfonyStyleFactory to remove memory-lock dependency on Application run() 2018-11-03 10:49:25 +01:00
Tomas Votruba
3c4a110f6a Dislay file names in debug mode, merge ConsoleStyle to SymfonyStyle 2018-11-02 18:27:00 +01:00
Tomas Votruba
3dc532fff0 remove build-prefixed, build in external repository 2018-10-25 22:19:26 +02:00
Tomas Votruba
930ce89384 remove package README from trailing space cleanup 2018-10-06 23:21:07 +08:00
Tomas Votruba
070cfe310e [PHP] Add PHP 7.4 Type Property Rector [ref #638] 2018-09-30 23:10:44 +08:00
Tomas Votruba
9058c60a6e build-prefied-rector - change destination to own directory 2018-09-29 16:30:38 +08:00
Tomas Votruba
43101adc08 build-prefied-rector - change destination to own directory 2018-09-29 16:19:17 +08:00
Tomas Votruba
765e2145e7 fix bootstrap autolaod for build 2018-09-16 19:14:06 +02:00
Tomas Votruba
cba00b618e bump to Symplify 5.0 stable 2018-09-15 20:52:08 +02:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
105127f769 publish-to-github: add missing GITHUB_TOKEN 2018-08-28 11:53:30 +02:00
Tomas Votruba
0745ae21d9 travi.yml: bool type 2018-08-28 11:48:29 +02:00
Tomas Votruba
cf0bc499d2 [rector-prefixed] fix level --all 2018-08-28 11:36:37 +02:00
Tomas Votruba
c79242c507 fix extra slash 2018-08-21 00:28:20 +02:00
Tomas Votruba
115275b2e0 polishing few renames 2018-08-21 00:28:20 +02:00
Tomas Votruba
48c4594572 remove unused files 2018-08-21 00:28:20 +02:00
Tomas Votruba
5789cc479e rename scripts 2018-08-21 00:28:20 +02:00
Tomas Votruba
d52308c078 rename clean_levels.sh to bin/clean_trailing_spaces.sh 2018-08-21 00:28:20 +02:00
Tomas Votruba
f91a299f4c move rector-prefixed scripts to bin/build 2018-08-21 00:28:20 +02:00
Tomas Votruba
8dc06a625f improve README 2018-08-13 20:45:58 +02:00
Tomas Votruba
be34cc946c cleanup unused constant in rector-prefixed 2018-08-09 10:04:10 +02:00
Tomas Votruba
91a2b0ed77 autoload config fixes 2018-08-03 09:43:32 +02:00
Tomas Votruba
cc21d0337e bootstrap: require autoload.php of the project 2018-08-03 09:14:23 +02:00
Tomas Votruba
d0dac50aef publish prefixed 2018-07-31 13:41:05 +02:00
Tomas Votruba
979f702a85 composer: add build-rector-prefixed command 2018-07-31 08:08:42 +02:00
Tomas Votruba
0b7fc209ea travis: fix missing dir 2018-07-27 19:51:06 +02:00
Tomas Votruba
3c137d0ff6 fix path 2018-07-27 19:50:18 +02:00
Tomas Votruba
8f4ccf96fb add tutorial to buil to prefixed README 2018-07-27 19:49:34 +02:00
Tomas Votruba
dff3fd4ef3 YAML uppercase 2018-07-27 19:44:24 +02:00
Tomas Votruba
f55356eeab split - add README and .travis.yml 2018-07-27 19:41:19 +02:00
Tomas Votruba
77ed25d3dc use more clear regex separator 2018-07-23 17:25:43 +02:00
Tomas Votruba
ccd27643d3 fix autoload paths, use more clear regex separator 2018-07-23 17:25:25 +02:00
Tomas Votruba
c6193e5911 normalize bin files 2018-07-17 19:50:26 +02:00
Tomas Votruba
1dce105565 bin - decouple rector_container.php 2018-06-13 10:33:45 +02:00
Tomas Votruba
59e9c91b61 Create directory on build prefixed version 2018-06-13 10:27:59 +02:00
Tomas Votruba
260e7e760e apply on whole Symfony\Bridge 2018-05-29 23:47:03 +02:00
Tomas Votruba
7cda507c68 make src/Bridge/Symfony/DependencyInjection/ContainerFactory.php indendent 2018-05-29 23:31:32 +02:00
Tomas Votruba
45c35f02b8 fix \App\Kernel prefixing 2018-05-29 22:58:58 +02:00
Tomas Votruba
787ec9ad04 add build detection 2018-05-29 22:10:29 +02:00
Tomas Votruba
9349d12ce0 fix rector-bootstrap dev package detection 2018-05-29 22:08:09 +02:00
Tomas Votruba
2654933589 exclude humbug 2018-05-29 21:36:51 +02:00
Tomas Votruba
33228b215d cleanup 2018-05-28 21:06:27 +02:00
Tomas Votruba
8d5876448a use composer package of php-scoper 2018-05-28 21:06:06 +02:00
Tomas Votruba
afb7380a91 fix cs 2018-05-28 17:55:18 +02:00
Tomas Votruba
b214651653 do not load 2 autoloads in dev repository 2018-05-28 17:43:30 +02:00
Tomas Votruba
36bccb6d40 add to build 2018-05-28 17:36:56 +02:00
Tomas Votruba
8a3bbec430 resolve double autoload loading 2018-05-28 17:34:39 +02:00
Tomas Votruba
8fda1339f1 add sed examples 2018-05-28 16:22:53 +02:00
Tomas Votruba
d5315af9ca allow autoload multiple autoload.php 2018-05-28 15:16:51 +02:00
Tomas Votruba
654fea839c prefer 2018-05-28 11:31:50 +02:00
Tomas Votruba
32a70dce1c fix cs 2018-05-28 11:31:50 +02:00
Tomas Votruba
bbd1fab326 add composer.json build 2018-05-28 11:31:50 +02:00
Tomas Votruba
016b12844e rebase xours 2018-05-28 11:31:50 +02:00
Tomas Votruba
3d5097675f playing with rebase, not good enought 2018-05-28 11:31:50 +02:00
Tomas Votruba
505abb6f68 publish: check for existing .git 2018-05-28 11:31:50 +02:00
Tomas Votruba
82857fbcc1 build-prefixer: skip prefixing /config 2018-05-28 11:31:50 +02:00
Tomas Votruba
1f3262e5a3 commit only diffs 2018-05-28 11:31:50 +02:00
Tomas Votruba
4df35abe7e add todo 2018-05-28 11:31:50 +02:00
Tomas Votruba
2e5133db92 split to publish 2018-05-28 11:31:50 +02:00
Tomas Votruba
1a9c695444 add bin/split-prefixed-rector 2018-05-28 11:31:50 +02:00
Tomas Votruba
f606efd42f rename package as well 2018-05-28 11:31:50 +02:00
Tomas Votruba
e7b60153f0 add few comments 2018-05-28 11:31:50 +02:00
Tomas Votruba
79335819dc resolve all the double slashes 2018-05-28 11:31:50 +02:00
Tomas Votruba
8beff5c246 wip 2018-05-28 11:31:50 +02:00
Tomas Votruba
eed469f0d3 move from composer script to build-prefixed-rector.sh with comments 2018-05-28 11:31:50 +02:00
Tomas Votruba
b92c8ebaad DescribeCommand - first draft 2018-04-09 00:23:55 +02:00
Tomas Votruba
29026ecb53 fix bin/rector for rector.yaml file 2018-04-08 17:26:59 +02:00
mssimi
6f086a4938 string to array 2018-04-03 14:46:03 +02:00
Tomas Votruba
ea0481580b update bin/rector to Symplify 4 2018-04-02 11:59:21 +02:00
Gabriel Caruso
8fc40fd5d3
Fix levels folder path in clean_levels.sh 2018-03-25 04:14:06 -03:00
Gabriel Caruso
94c1cc1f43
Move config/levels to root level 2018-03-19 13:54:31 -03:00
TomasVotruba
cafe7ffd79 fix typos [ci skip] 2018-02-23 18:22:42 +01:00
TomasVotruba
67bf662a9f boostrap: die on not found autoload.php 2018-02-23 11:17:47 +01:00
TomasVotruba
e79a5cb7c3 bootstrap: add note on unloaded composer 2018-02-23 11:17:41 +01:00
Gabriel Caruso
7e0f300265 Add vendor-bin to $possibleAutoloadPaths 2018-01-14 11:16:40 -02:00
TomasVotruba
2d09efcf48 bin/retor: load nearest vendor 2018-01-07 12:13:44 +01:00
TomasVotruba
8fe0107070 bin: space cleaner - add README.md and /docs 2018-01-06 15:09:12 +01:00
Gabriel Caruso
6f4c91bd5a Add strict_types 2017-12-30 17:51:37 -02:00
Gabriel Caruso
1a7e182dd5 Have only one rector file 2017-12-30 17:45:50 -02:00
Gabriel Caruso
ad03ea6a57 Create clean_levels.sh 2017-12-30 15:41:49 -02:00
TomasVotruba
88d36e1607 bin: use LevelConfigShortcutFinder 2017-12-25 19:43:09 +01:00
TomasVotruba
4f1cc44c2a ProgressBar: fix verbosity fuction 2017-12-25 19:20:41 +01:00
TomasVotruba
3ee53abfda cs updates 2017-11-25 02:36:43 +01:00
TomasVotruba
ab3b3d1148 RectorConfigFilePathHelper: remove unneded static 2017-11-06 03:46:11 +01:00
TomasVotruba
0cc75d58be misc 2017-11-04 13:27:36 +01:00
TomasVotruba
8c79699731 fix bootstrap autoloading 2017-11-04 13:23:00 +01:00
TomasVotruba
f5908477cf make bin unique 2017-11-04 13:03:37 +01:00
TomasVotruba
a9c7afc1ec add --level shortcut option 2017-10-30 14:26:44 +01:00
TomasVotruba
0cbb076b9e improve reported exceptions 2017-09-28 20:01:15 +02:00
TomasVotruba
0d05e11bce fix cs 2017-09-27 17:02:54 +02:00
TomasVotruba
404e5a9837 bin/rector: allow custom config 2017-09-27 17:02:54 +02:00
TomasVotruba
01d5d397e1 bootstrap: add autoload paths comments 2017-09-27 17:02:54 +02:00
TomasVotruba
ea88254312 cs fixes 2017-09-09 00:58:29 +02:00
TomasVotruba
32b90c75c6 cs fixes, drop duplicated NodeVisitor 2017-08-12 13:34:40 +02:00
TomasVotruba
0ade452fde cs fixes 2017-08-04 08:20:18 +02:00
TomasVotruba
764ce4bb08 init 2017-07-15 19:01:21 +02:00