mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
Merge pull request #3745 from rectorphp/colors
This commit is contained in:
commit
0bcf9bbee5
14
.github/workflows/standalone_run.yaml
vendored
14
.github/workflows/standalone_run.yaml
vendored
@ -24,20 +24,20 @@ jobs:
|
||||
cd test-paths
|
||||
|
||||
mkdir rector-dir
|
||||
composer require rector/rector:@dev -d rector-dir --no-progress
|
||||
composer require rector/rector:@dev -d rector-dir --no-progress --ansi
|
||||
|
||||
mkdir symfony-demo-dir
|
||||
composer create-project symfony/symfony-demo symfony-demo-dir --dev --no-progress
|
||||
composer create-project symfony/symfony-demo symfony-demo-dir --dev --no-progress --ansi
|
||||
|
||||
# missing for some reason
|
||||
composer require doctrine/doctrine-fixtures-bundle -d symfony-demo-dir --no-progress
|
||||
composer dump-autoload --no-dev -d symfony-demo-dir
|
||||
composer require doctrine/doctrine-fixtures-bundle -d symfony-demo-dir --no-progress --ansi
|
||||
composer dump-autoload --no-dev -d symfony-demo-dir --ansi
|
||||
|
||||
# 2. run an another project
|
||||
rector-dir/vendor/bin/rector
|
||||
rector-dir/vendor/bin/rector --ansi
|
||||
|
||||
cd symfony-demo-dir
|
||||
../rector-dir/vendor/bin/rector
|
||||
../rector-dir/vendor/bin/rector --ansi
|
||||
|
||||
# autoload errors due to remove --dev and mixed dependencies in /src and /tests
|
||||
../rector-dir/vendor/bin/rector process src --set code-quality
|
||||
../rector-dir/vendor/bin/rector process src --set code-quality --ansi
|
||||
|
@ -24,7 +24,7 @@ final class SetResolver
|
||||
|
||||
public function resolveSetFromInput(InputInterface $input): ?Set
|
||||
{
|
||||
$setOption = $input->getParameterOption(['-s', '--setOption']);
|
||||
$setOption = $input->getParameterOption(['-s', '--set']);
|
||||
if ($setOption === false) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user