summaryrefslogtreecommitdiffstats
path: root/build/license.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/license.php')
-rw-r--r--build/license.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/license.php b/build/license.php
index 738ace8b1ad..ce6fceb8160 100644
--- a/build/license.php
+++ b/build/license.php
@@ -118,6 +118,9 @@ With help from many libraries and frameworks including:
echo "License updated: $path" . PHP_EOL;
}
+ /**
+ * @param string $source
+ */
private function isMITLicensed($source) {
$lines = explode(PHP_EOL, $source);
while(!empty($lines)) {
@@ -131,6 +134,9 @@ With help from many libraries and frameworks including:
return false;
}
+ /**
+ * @param string $source
+ */
private function eatOldLicense($source) {
$lines = explode(PHP_EOL, $source);
while(!empty($lines)) {