Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DX] Inform about deprecated rules in config #6047

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

TomasVotruba
Copy link
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 merged commit d610259 into main Jun 26, 2024
33 checks passed
@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
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

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
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