Skip to content

[DX] Inform about deprecated rules in config#6047

Merged
TomasVotruba merged 3 commits intomainfrom
tv-report-deprecated-rules
Jun 26, 2024
Merged

[DX] Inform about deprecated rules in config#6047
TomasVotruba merged 3 commits intomainfrom
tv-report-deprecated-rules

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Jun 26, 2024

Let's group reports together in the end, so they're noticed and can be resolved one by one:

Screenshot from 2024-06-26 15-30-51

@TomasVotruba TomasVotruba changed the title extract Reporting services to inform user about invalid configuration and deprecations [DX] Inform about deprecated rules in config Jun 26, 2024
@TomasVotruba TomasVotruba force-pushed the tv-report-deprecated-rules branch 5 times, most recently from 7721e10 to 235d832 Compare June 26, 2024 13:52
@TomasVotruba TomasVotruba force-pushed the tv-report-deprecated-rules branch from 235d832 to 8edd0c6 Compare June 26, 2024 13:54
@TomasVotruba TomasVotruba force-pushed the tv-report-deprecated-rules branch from 8edd0c6 to 4529908 Compare June 26, 2024 14:16
@TomasVotruba TomasVotruba merged commit d610259 into main Jun 26, 2024
@TomasVotruba TomasVotruba deleted the tv-report-deprecated-rules branch June 26, 2024 14:19
RECTOR_DISABLE_PARALLEL: ${{ matrix.rector_disable_parallel }}

# run e2e test with dry run once more, we expect non-zero exit code again
- run: php ../e2eTestChangingRunnerWithCache.php -o expected-output-2-dry-run.diff --dry-run
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e2e/e2eTestChangingRunnerWithCache.php can be removed since no longer used.

@sanfair
Copy link
Copy Markdown

sanfair commented Jun 26, 2024

@TomasVotruba will this PR remove warnings for PostRector updates?

I use it with NameImportingPostRector:

use Rector\Config\RectorConfig;

return RectorConfig::configure()
    ->withSkip([
        NameImportingPostRector::class => [
            __DIR__.'/bootstrap/providers.php',
            __DIR__.'/config',
        ],
    ])

image

@TomasVotruba
Copy link
Copy Markdown
Member Author

@sanfair Good point, I'll add exception for post rules. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants