Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Jun 1, 2022

Too many files in a folder.

@kenjis kenjis mentioned this pull request Jun 1, 2022
2 tasks
$config = new Auth();
$auth = new Authentication($config);
$auth->setProvider(model(UserModel::class)); // @phpstan-ignore-line
$auth->setProvider(\model(UserModel::class)); // @phpstan-ignore-line
Copy link
Member

Choose a reason for hiding this comment

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

Our style guide decided against slashing root functions. Did you add these, or did they slip in via CS Fixer/Rector somehow?

Copy link
Member Author

Choose a reason for hiding this comment

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

It seems PhpStorm did it when refactoring.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed.

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

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

I'm good with the folder move but please revert the function slashing. If you have a compelling case for them we should discuss it for the style guide first.

@kenjis kenjis requested a review from MGatner June 2, 2022 01:24
@kenjis kenjis mentioned this pull request Jun 2, 2022
@kenjis kenjis force-pushed the test-add-folders branch from 650a94e to 431d938 Compare June 2, 2022 07:07
@kenjis kenjis merged commit a77d351 into codeigniter4:develop Jun 2, 2022
@kenjis kenjis deleted the test-add-folders branch June 2, 2022 11:17
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.

2 participants