Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

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

Closed
wants to merge 1 commit into 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 👍

@blizzz blizzz modified the milestones: Nextcloud 31, Nextcloud 32 Jan 29, 2025
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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.