(NFC) (dev/core#878) Simplify copyright header (D7) #587
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This implements https://lab.civicrm.org/dev/core/issues/878 and aims to reduce git-noise.
Before
After
Comments
As you can see in 878, the comparable headers among other reputable projects are varied. They (almost always?) include the copyright declaration and some reference to the license terms; but they differ on whether to include specific version numbers and years in the declaration. However, this means that there are good precendents (such as Google's Angular and Facebook's React) which use a convention similar to this updated one.
This PR only changes files which already use the standard header (modulo trivial formatting). The bulk of the switch was performed with https://gist.github.com/totten/85d368a512f7dcda9319dfb57a0f8ecf