Commit Graph

30 Commits (stable21)

Author SHA1 Message Date
Christoph Wurst d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
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 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 6127c288e8 Fix license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Christoph Wurst a166796378
Update license script apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Julius Härtl 7006b739b0
Remove brackets for invalid mail addresses when updating the license header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years ago
Joas Schilling 28c8469ade
Make sure to also detect their new copy right line
Ref owncloud/core#25518
8 years ago
Roeland Jago Douma b5f61ba0e2
If there is no copyright notice print comment line 8 years ago
Roeland Jago Douma 08a71b176f
Do not licence composer stuff 8 years ago
Bjoern Schiessle b64c6d6993
only search the license header for @copyright statements 8 years ago
Joas Schilling c98de829c4
Fix the license script 8 years ago
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 years ago
Bjoern Schiessle a41c579f63
no more CLA and switch to AGPLv3 or later 8 years ago
Lukas Reschke 3067367ff3 Add new apps 8 years ago
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 8 years ago
Joas Schilling 100b357c68 Check the mailmap file of core as well 8 years ago
Joas Schilling 049e3473b2 Allow the script to run for different git roots 8 years ago
Scrutinizer Auto-Fixer 83a8e75614 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
9 years ago
Thomas Müller 60fbab4934 We have new apps .... 9 years ago
Lukas Reschke f2a7888c5c Generate AUTHORS file from commits 9 years ago
Morris Jobke a0c950bf88 Update license header script to only use code changes
* ignores the first lines of a file with the license header
9 years ago
Morris Jobke cdb0e62e9b [license script] sort names case insensitive 9 years ago
Thomas Müller dbdd754c3f Further cleanup of files_encryption 9 years ago
Thomas Müller 653ad63e9b detect MIT licensed files and ignore them for now 9 years ago
Thomas Müller b2b61bdf16 properly break after the first comment ends + allow to pass in one file/folder via commandline argument 9 years ago
Thomas Müller 1b23f1367b fixing ignorance of 'Not Committed Yet' 9 years ago
Thomas Müller b868914354 php script which updates the license header in all php file in the repo 9 years ago