Christoph Wurst
1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
6127c288e8
Fix license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Christoph Wurst
a166796378
Update license script apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 vuotta sitten
Julius Härtl
7006b739b0
Remove brackets for invalid mail addresses when updating the license header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 vuotta sitten
Joas Schilling
28c8469ade
Make sure to also detect their new copy right line
Ref owncloud/core#25518
7 vuotta sitten
Roeland Jago Douma
b5f61ba0e2
If there is no copyright notice print comment line
7 vuotta sitten
Roeland Jago Douma
08a71b176f
Do not licence composer stuff
7 vuotta sitten
Bjoern Schiessle
b64c6d6993
only search the license header for @copyright statements
8 vuotta sitten
Joas Schilling
c98de829c4
Fix the license script
8 vuotta sitten
Bjoern Schiessle
762d76f0c3
- keep copyright notice and only update the authors list
- check if all changes to a file happened after the fork, this allows the authors to check if the file can be relicensed to AGPLv3 or later
8 vuotta sitten
Bjoern Schiessle
a41c579f63
no more CLA and switch to AGPLv3 or later
8 vuotta sitten
Lukas Reschke
3067367ff3
Add new apps
8 vuotta sitten
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
8 vuotta sitten
Joas Schilling
100b357c68
Check the mailmap file of core as well
8 vuotta sitten
Joas Schilling
049e3473b2
Allow the script to run for different git roots
8 vuotta sitten
Scrutinizer Auto-Fixer
83a8e75614
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
8 vuotta sitten
Thomas Müller
60fbab4934
We have new apps ....
8 vuotta sitten
Lukas Reschke
f2a7888c5c
Generate AUTHORS file from commits
8 vuotta sitten
Morris Jobke
a0c950bf88
Update license header script to only use code changes
* ignores the first lines of a file with the license header
8 vuotta sitten
Morris Jobke
cdb0e62e9b
[license script] sort names case insensitive
9 vuotta sitten
Thomas Müller
dbdd754c3f
Further cleanup of files_encryption
9 vuotta sitten
Thomas Müller
653ad63e9b
detect MIT licensed files and ignore them for now
9 vuotta sitten
Thomas Müller
b2b61bdf16
properly break after the first comment ends + allow to pass in one file/folder via commandline argument
9 vuotta sitten
Thomas Müller
1b23f1367b
fixing ignorance of 'Not Committed Yet'
9 vuotta sitten
Thomas Müller
b868914354
php script which updates the license header in all php file in the repo
9 vuotta sitten