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

copyrights/license violation #50

Closed
keradus opened this issue Jun 25, 2022 · 3 comments
Closed

copyrights/license violation #50

keradus opened this issue Jun 25, 2022 · 3 comments

Comments

@keradus
Copy link

keradus commented Jun 25, 2022

Hey.

I see we have yet another wrapper of https://github.com/FriendsOfPHP/PHP-CS-Fixer/ .
I think it's totally fine and I can only encourage you to consider to also contribute back to the main project, especially with the generic parts. We already made a lot of elements customizable via interfaces, and we could make more customizations for sure.

Same time, if you decide to COPY-PASTE the source file from PHP CS Fixer repo, please remember to keep respect the original ownership and license.


The 3 rules were created by copy-pasting them from main repo and doing small adjustments, eg LaravelPhpdocOrderFixer is clone of PhpdocOrderFixer with slight adjustments to match your custom needs (most of logic, variable names, description etc is copy-pasted).

It was also admitted openly in the PR that was introducing those files Screenshot 2022-06-25 at 12 07 11

You are totally OK to do that as long as you keep the copyrights and license. Please, let's have respect to one another work.

(...) The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software. (...)

@driesvints
Copy link
Member

Hi @keradus. You're quite right, thanks for pointing that out. I've gone ahead and added that copyright notice and the license directly to each of those files: f87868a. Does that look good to you? Let me know if you'd like other adjustments here.

I'd also like to point out that we handle tons of PR's daily and it's simply not possible for us to check the origin of code or license/copyright requirements of every single code that is sent in. We rely on our PR authors to be sensible and mindful about this. Of course if anything arises that we missed we'll gladly follow up and make any necessary adjustments 👍

In general we also want to very much thank you and the rest of PHP CS Fixer of all the work you did and are still doing. I realise there has been some friction with the recent release of Pint but if you want we're always happy to discuss what we can do better in the future. If we can give more credit to PHP CS Fixer through Pint in some way, let us know. Or hmu on Twitter if you want 🙂

@Jubeki
Copy link
Contributor

Jubeki commented Jun 25, 2022

@keradus
I'd like to apologize at this point because this was an error on my part and has nothing to do with the laravel team.

While I was working on this, it seems like I was trying to clean up the code a bit and didn't read carefully, which resulted in me deleting the copyright information. I am sorry about that.

If you want to contact me about that topic, please do that via contact@julius-kiekbusch.de

@keradus
Copy link
Author

keradus commented Jun 26, 2022

Thanks for prompt action, folks! 🙇🏻

I'd also like to point out that we handle tons of PR's daily and it's simply not possible for us to check the origin of code or license/copyright requirements of every single code that is sent in. We rely on our PR authors to be sensible and mindful about this.

The author was bringing this aspect on their own in the PR that they raised ;) but I understand that it could get lost in tons of PRs.

In general we also want to very much thank you and the rest of PHP CS Fixer of all the work you did and are still doing. I realise there has been some friction with the recent release of Pint but if you want we're always happy to discuss what we can do better in the future. If we can give more credit to PHP CS Fixer through Pint in some way, let us know. Or hmu on Twitter if you want 🙂

Sorry to hear that! I'm not tracking places where friction can happen, or maybe I'm too used to seeing wrappers over different SCA tools. From my side, I can only encourage to contribute directly to the main Fixer repo as well. I'm aware that creating something you own/control fully is faster and more exciting, while contributing to an old, mature repo may let one feel some burden of it, but later one is also allowing them to share the improvements with a bigger audience.

And who knows, maybe one day this package would be simply a configuration one while whole logic would be embedded in the Fixer repo.

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

No branches or pull requests

3 participants