Replies: 5 comments 15 replies
-
Side discussion: (how) do we want to attribute packages we use internally? |
Beta Was this translation helpful? Give feedback.
-
Pint does explicitly say that it uses As a side note, I think you're being super petty with the Laravel ecosystem and you should reconsider where you put your efforts. You're free to do as you want, obviously, this is just friendly advice. Improving php-cs-fixer itself is more important than denying its usage with unfinalize, for instance. |
Beta Was this translation helpful? Give feedback.
-
You gotta chill with this vendetta @Wirone. It's not healthy. Let it go ❤️ |
Beta Was this translation helpful? Give feedback.
-
if project X uses the PHP CS Fixer as a dependency, it should mention that somewhere - maybe in deps list like composer.json file, maybe in license-3rd-party alike file, maybe in readme, maybe... somewhere legit. Imagine the other way around Wirone, should we start mentioning in readme/each CLI usage that we are using symfony/console to run our CLI? or PHP tokenizer? we do it in our deps manifest and that's enough. I'm OK to come back to this discussion if circumstances would change a lot, but for now, I don't plan to change anything regarding licensing. |
Beta Was this translation helpful? Give feedback.
-
IMO this question is better posed to a license/copyright expert and not to an opinionated community. So long as unfinalize and Pint fulfill the attribution requirements of the MIT license that PHP-CS-Fixer is released under, there should be no issues. Any additional requirements may or may not be in line with the MIT license, and may or may not impose unintended consequences on downstream users of your tool. |
Beta Was this translation helpful? Give feedback.
-
Background
Following this tweet I would like to propose adding attribution requirement to our licence. Currently we allow usage as-is, while preserving copyright information, but IMHO it does not work good when it comes to usage within binary executables, like Pint, which releases contain only built PHAR file,
composer.json
and Laravel's MIT licence:In this case, the only mention about PHP-CS-Fixer is in
require-dev
section ofcomposer.json
file, which is not enough in my opinion.Proposal
I think we should add attribution requirement to our licence, so tools that use Fixer under the hood would have been obliged to provide explicit credit visible to the end user. The thing that should be decided is level of the attribution.
References
41 votes ·
Beta Was this translation helpful? Give feedback.
All reactions