summaryrefslogtreecommitdiffstats
path: root/build/license.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /build/license.php
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build/license.php')
-rw-r--r--build/license.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/license.php b/build/license.php
index 9e2b5f94df4..7bd9e1054c0 100644
--- a/build/license.php
+++ b/build/license.php
@@ -78,7 +78,7 @@ EOD;
* @param string|string[] $folder
* @param string|bool $gitRoot
*/
- function exec($folder, $gitRoot = false) {
+ public function exec($folder, $gitRoot = false) {
if (is_array($folder)) {
foreach ($folder as $f) {
$this->exec($f, $gitRoot);
@@ -121,7 +121,7 @@ EOD;
$this->printFilesToCheck();
}
- function writeAuthorsFile() {
+ public function writeAuthorsFile() {
ksort($this->authors);
$template = "Nextcloud is written by:
@AUTHORS@
@@ -139,7 +139,7 @@ With help from many libraries and frameworks including:
file_put_contents(__DIR__.'/../AUTHORS', $template);
}
- function handleFile($path, $gitRoot) {
+ public function handleFile($path, $gitRoot) {
$source = file_get_contents($path);
if ($this->isMITLicensed($source)) {
echo "MIT licensed file: $path" . PHP_EOL;