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

refactor(rector): Extend scope to all PHP files #48355

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

provokateurin
Copy link
Member

@provokateurin provokateurin commented Sep 25, 2024

Summary

Currently fails due to a bug in rector: rectorphp/rector#8841

Checklist

Signed-off-by: provokateurin <kate@provokateurin.de>
Comment on lines +17 to +25
$nextcloudDir . '/build',
$nextcloudDir . '/config',
$nextcloudDir . '/core',
$nextcloudDir . '/lib',
$nextcloudDir . '/ocs',
$nextcloudDir . '/ocs-provider',
$nextcloudDir . '/tests',
$nextcloudDir . '/themes',
$nextcloudDir . '/*.php',
Copy link
Contributor

Choose a reason for hiding this comment

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

If we do so please add them one by one with the commit applying the result to the folder.
But I would prefer to apply more rules to apps folder instead.
Maybe we should have 2 rector config, one for apps and one for core/lib?
We can have matching rector scripts in composer.

Copy link
Member Author

Choose a reason for hiding this comment

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

Separate configs sounds good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants