Skip to content

Apply fixes from StyleCI #2240

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

simonschaufi
Copy link
Contributor

This pull request applies code style fixes from an analysis carried out by StyleCI.

@simonschaufi
Copy link
Contributor Author

simonschaufi commented Apr 29, 2021

Somehow I get the following error here but when I execute the checks in my fork, they are all green:

Config Issue
The risky 'empty_return' fixer cannot be enabled because risky mode is not enabled.

In the config i see that risky mode is actually enabled...

@divine
Copy link
Contributor

divine commented Apr 29, 2021

Hello,

Well, we've about 4-5 PRs that awaiting merging and it will make things messy a bit.

My personal view that we need to drop this styleci and move on to php-cs-fixer. I will probably take care of it.

They've banned my account for no reason (used only on my laravel-mongodb fork) and the whole service run by a kid who doesn't reply to emails (lol?).

Thanks!

@simonschaufi
Copy link
Contributor Author

@GrahamCampbell Can you give some insights on what is going on?

@divine
Copy link
Contributor

divine commented Apr 29, 2021

@GrahamCampbell Can you give some insights on what is going on?

Hello,

He won't reply (>1 year without reply), I promise you because it doesn't make sense to delete the account and don't give a reason.

I don't really care about his service and never heard of this styleci before Laravel so not interested in restoring the account.

This was just a kindly reminder that we should stay away from such services when there is an open-source self-hosted alternative that is much better.

image

Thanks!

@simonschaufi simonschaufi deleted the analysis-yvBQGD branch April 29, 2021 20:25
@GrahamCampbell
Copy link

You should be able to sign up for a fresh account. If you think the account was deleted in error, please let me know. The most common reason for automated account deletion was removal of StyleCI's access on GitHub - their terms of service for integrators binds StyleCI to delete the account, just like an unsubscribe request for an email.

@simonschaufi
Copy link
Contributor Author

@GrahamCampbell thank you for your quick reply but I was actually asking about the error in styleci. I guess you can give some insight how to fix the error. Thank you!

@GrahamCampbell
Copy link

The risky 'empty_return' fixer cannot be enabled because risky mode is not enabled.

Possibly you have config set in the web interface. If you do this, any config file in the repo will be ignored.

@GrahamCampbell
Copy link

Yes, this seems to be the case:

image

@divine
Copy link
Contributor

divine commented Apr 29, 2021

You should be able to sign up for a fresh account. If you think the account was deleted in error, please let me know. The most common reason for automated account deletion was removal of StyleCI's access on GitHub - their terms of service for integrators binds StyleCI to delete the account, just like an unsubscribe request for an email.

@GrahamCampbell it's indeed was deleted.

Never mind, can you enable risky mode for this repo so we won't see that error?

Thanks!

@simonschaufi
Copy link
Contributor Author

@divine I would suggest to remove the config in the web interface and use the one from the repo. Then we have full control over it

@divine
Copy link
Contributor

divine commented Apr 30, 2021

@divine I would suggest to remove the config in the web interface and use the one from the repo. Then we have full control over it

Hello @simonschaufi ,

I'm really sorry we can't remove it - no access. Please see #2090 (comment)

Thanks!

@simonschaufi
Copy link
Contributor Author

simonschaufi commented Apr 30, 2021

@divine I thought that @GrahamCampbell could do it as he is a system admin i guess 😄

@GrahamCampbell
Copy link

I've removed that config for you.

NB StyleCI should not be enabled on forks for the purpose of analyzing PRs. Instead, auto-fixing should be enabled, so code from forks is fixed after merge, like on Laravel.

@divine
Copy link
Contributor

divine commented Apr 30, 2021

I've removed that config for you.

NB StyleCI should not be enabled on forks for the purpose of analyzing PRs. Instead, auto-fixing should be enabled, so code from forks is fixed after merge, like on Laravel.

Hello,

We don't have ability or permission for auto-merging and communication is lost as you could see.

Thank you for fixing configuration that was broken.

Thanks!

@GrahamCampbell
Copy link

I'd recommend asking the owner of this repo to move it to an organisation on GitHub and giving the new maintainers admin access, so they can properly maintain the repo. Repos attached to single users were not designed to have multiple core maintainers.

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