Commit Graph

31 Commits

Author SHA1 Message Date
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00
Christoph Wurst d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +02:00
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:51:06 +02:00
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>
2020-04-10 14:19:56 +02:00
Christoph Wurst 44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 16:07:47 +02:00
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 13:54:22 +02:00
Christoph Wurst 6127c288e8 Fix license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-13 14:23:49 +01:00
Christoph Wurst 5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Christoph Wurst a166796378
Update license script apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:38 +01:00
Julius Härtl 7006b739b0
Remove brackets for invalid mail addresses when updating the license header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-11-07 10:50:42 +01:00
Joas Schilling 28c8469ade
Make sure to also detect their new copy right line
Ref owncloud/core#25518
2016-08-18 10:59:59 +02:00
Roeland Jago Douma b5f61ba0e2
If there is no copyright notice print comment line 2016-08-15 14:51:09 +02:00
Roeland Jago Douma 08a71b176f
Do not licence composer stuff 2016-08-15 14:42:39 +02:00
Bjoern Schiessle b64c6d6993
only search the license header for @copyright statements 2016-07-21 18:06:31 +02:00
Joas Schilling c98de829c4
Fix the license script 2016-07-21 18:06:31 +02:00
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
2016-07-13 20:31:16 +02:00
Bjoern Schiessle a41c579f63
no more CLA and switch to AGPLv3 or later 2016-06-06 19:18:24 +02:00
Lukas Reschke 3067367ff3 Add new apps 2016-03-01 17:52:32 +01:00
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 2016-03-01 17:48:23 +01:00
Joas Schilling 100b357c68 Check the mailmap file of core as well 2016-02-17 08:47:25 +01:00
Joas Schilling 049e3473b2 Allow the script to run for different git roots 2016-02-17 08:47:25 +01:00
Scrutinizer Auto-Fixer 83a8e75614 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-01-15 12:54:26 +00:00
Thomas Müller 60fbab4934 We have new apps .... 2016-01-12 14:39:31 +01:00
Lukas Reschke f2a7888c5c Generate AUTHORS file from commits 2015-10-26 13:51:22 +01:00
Morris Jobke a0c950bf88 Update license header script to only use code changes
* ignores the first lines of a file with the license header
2015-10-05 21:15:51 +02:00
Morris Jobke cdb0e62e9b [license script] sort names case insensitive 2015-06-25 11:43:07 +02:00
Thomas Müller dbdd754c3f Further cleanup of files_encryption 2015-04-07 13:30:28 +02:00
Thomas Müller 653ad63e9b detect MIT licensed files and ignore them for now 2015-03-26 11:38:40 +01:00
Thomas Müller b2b61bdf16 properly break after the first comment ends + allow to pass in one file/folder via commandline argument 2015-03-26 11:38:40 +01:00
Thomas Müller 1b23f1367b fixing ignorance of 'Not Committed Yet' 2015-03-26 11:38:39 +01:00
Thomas Müller b868914354 php script which updates the license header in all php file in the repo 2015-02-22 20:36:36 +00:00