Abdul Malik Ikhsan
e8f058a6e4
[e2e] Add e2e for parallel process with current directory contains space ( #2421 )
...
* [e2e] Add e2e for parallel process with current directory contains space
* [e2e] Add e2e for parallel process with current directory contains space
* dir name
* Fixed 🎉
* phpstan
* final touch: eol
* clean up
* clean up
* final touch: use escapeshellarg()
* Add note for why escapeshellarg() is needed in parallel
2022-06-03 22:41:31 +02:00
Abdul Malik Ikhsan
dc6bd9680c
[e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector ( #2396 )
...
* [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector
* comment note
* comment note
* Fixed 🎉
* final touch: eol
* clean up
2022-05-31 09:11:41 +02:00
Tomas Votruba
274bb9cfec
remove unused e2e test
2022-05-30 02:00:47 +02:00
Abdul Malik Ikhsan
7f40d20ff7
Fix wrong copy paste define-constant test ( #2380 )
2022-05-27 16:56:59 +00:00
Abdul Malik Ikhsan
30b5b53c0e
Rollback e2e define-contant as found error in consumer ( #2379 )
2022-05-27 16:15:01 +00:00
Abdul Malik Ikhsan
c0086b7e14
[e2e] Add e2e for tests removed node display applied rules with return null ( #2320 )
...
* [e2e] Add e2e for tests removed node display applied rules with return null
* update
2022-05-16 08:13:14 +07:00
Tomas Votruba
b055a88927
Add RectorConfigProvider to ask for configuration behave for 3rd party packages ( #2187 )
...
* add note about deprecated configure() method
* bump rector config to ruleWithConfiguration()
* remove ParameterProvider from StaticEasyPrefixer, as requires complete alias cleanup messed with scoped
* add RectorConfigProvider
2022-04-28 19:13:39 +02:00
Tomas Votruba
c35cc97d38
[DX] Add phpVersion() method to RectorConfig + make use of new config class in test configs ( #2065 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-04-12 16:33:33 +02:00
Tomas Votruba
8d92c466fd
[DX] Use RectorConfig in configs ( #2063 )
...
* use RectorConfig in configs
* update variable name
* remove extra spaces
* apply on configs
* apply on e2e
* update markdown files
* remove extra spaces
2022-04-12 13:46:07 +02:00
Tomas Votruba
c20f2301fe
Add RectorConfigurator for custom configuration methods and avoid conflicts with Symfony API ( #2019 )
...
Co-authored-by: Grzegorz Korba <grzegorz.korba@codito.pl>
2022-04-08 18:45:24 +00:00
Abdul Malik Ikhsan
961c3aea5c
[Core] Remove unneeded ChangedNodeAnalyzer service ( #1868 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-02-25 10:53:16 +01:00
Abdul Malik Ikhsan
b9734b4100
[Core] Do not show DowngradeAttributeToAnnotationRector when updated docblock, but not attribute ( #1864 )
...
* [Core] Do not show DowngradeAttributeToAnnotationRector when updated docblock, but not attribute
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* Fixed 🎉 by change in the rules to return null when no change
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* no _ check on DowngradeNumericLiteralSeparatorRector
* refactor DowngradePregUnmatchedAsNullConstantRector for current token check (
* refactor RemoveInterfacesRector to return null when no change
* use property
* clean up
* phpstan
Co-authored-by: GitHub Action <action@github.com>
2022-02-25 01:41:42 +07:00
Abdul Malik Ikhsan
3d2732790d
[Core] Fixing applied rules not shown when refactor() only change docblock ( #1861 )
...
* [Core] Fixing applied rules not shown when refactor() only change docblock
* register to e2e
* Fixed 🎉
* rollback, move repetitive to separate method
* [ci-review] Rector Rectify
* Fixed 🎉
* Fixed 🎉
* Fixed 🎉
* Fixed 🎉
Co-authored-by: GitHub Action <action@github.com>
2022-02-24 21:20:23 +07:00
Abdul Malik Ikhsan
234721afaf
[Core] Fixing applied rules not shown when refactor() return array of Nodes ( #1849 )
2022-02-21 12:23:12 +01:00
Tomas Votruba
9953b6cab1
[console] add rector console output style with CI friendly progress bar redraw ( #1793 )
2022-02-09 18:51:13 +00:00
Tomas Votruba
bc0eac36f4
Fix PHPStan parser for different PHP version parsing ( #1791 )
2022-02-09 12:09:37 +00:00
Tomas Votruba
a741faa3a3
use explicit path
2022-01-04 17:44:08 +01:00
Tomas Votruba
4d8eb8af92
make copy of no-parlalel e2e
2022-01-04 17:39:42 +01:00
Tomas Votruba
d3240653bf
correct diff, make test runner use colors for easier discovery of differences
2022-01-04 17:37:56 +01:00
Abdul Malik Ikhsan
60b4112170
final touch: move psr4 e2e autoload to root composer.json to make demo correctly as expected
2022-01-04 17:37:56 +01:00
Abdul Malik Ikhsan
f64c849ee0
[e2e] Add test for e2e Class Not Found on Parallel
2022-01-04 17:37:56 +01:00
Abdul Malik Ikhsan
63908627ce
[e2e][parallel] Allow set custom config on Parallel ( #1620 )
...
Co-authored-by: GitHub Action <action@github.com>
2022-01-04 10:20:37 +01:00
Tomas Votruba
c442598ddb
[Parallel] Tidy up ( #1585 )
2021-12-28 09:02:32 +00:00
Abdul Malik Ikhsan
1ba58dd16e
[Dep] Update to php 8.1 requirement (manual) ( #1374 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-12-03 15:44:33 +01:00
Markus Staab
008c08367c
strip empty starting/ending php tags ( #1329 )
...
* strip empty starting/ending php tags
* Update BetterStandardPrinter.php
* Update BetterStandardPrinter.php
* ues Strings::replace() instead
* fix param order
* extract constants
* rename const
* added e2e test
* simplify repro
* fix repro
* disable newline trimming for src/view.php
* editorconfig: donot insert final newline
* added regex101 links
* use local rector binary for e2e tests
* use local rector path config
* fix
* fix
* fix
* disable PR fix
* re-enable fix
* resolve FileWithoutNamespace recursively
* support expected-output per e2e test
* debug-out
* more debug
* debug
* typo
* Update e2e.yaml
* fix
* Update e2e.yaml
* Update e2e.yaml
* Update e2e.yaml
* Update e2e.yaml
* Update e2e.yaml
* Update e2e.yaml
* Update e2e.yaml
* Update expected-output.diff
* fix
* Update expected-output.diff
* adding a empty file, for better test-coverage
* Update e2e/plain-views/src/empty.php
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
* extracted e2eTestRunner from github action workflow
* added a success message
Co-authored-by: Markus Staab <m.staab@complex-it.de>
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2021-12-03 08:34:56 +00:00
Abdul Malik Ikhsan
bb2793000c
[e2e] Update e2e autoload and path to current ../../bin ( #1351 )
...
* [e2e] Update e2e autoload and path to current ../../bin
* define COMPOSER_ROOT_VERSION
* no need require-dev
2021-11-30 08:37:21 +00:00
Tomas Votruba
4c507636dc
Skip too wide union types on AddMethodCallBasedStrictParamTypeRector ( #1097 )
2021-10-28 22:04:55 +00:00
Abdul Malik Ikhsan
341da798fd
[e2e] Rename e2e subdirectory enums to template-extends subdirectory ( #1047 )
2021-10-23 09:41:51 +00:00
Abdul Malik Ikhsan
c2fe99bcc5
[e2e] Update e2e branch and github event on push as well ( #1045 )
...
* update to use dev-main e2e
* update event push e2e
2021-10-23 09:17:09 +00:00
Abdul Malik Ikhsan
6f7805560b
[NodeTypeResolver] Handle hang on @template-extends in dependent Files ( #1044 )
...
Co-authored-by: GitHub Action <action@github.com>
2021-10-23 10:19:10 +02:00