Skip to content

Commit

Permalink
Update copyright notices to 2021 (closes #92)
Browse files Browse the repository at this point in the history
  • Loading branch information
adatzer committed Feb 18, 2021
1 parent a2a8c5f commit 4348634
Show file tree
Hide file tree
Showing 20 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Make sure `docker` & `docker-compose` are installed.

## Copyright and license

The Snowplow PHP Tracker is copyright 2014-2019 Snowplow Analytics Ltd.
The Snowplow PHP Tracker is copyright 2014-2021 Snowplow Analytics Ltd.

Licensed under the **[Apache License, Version 2.0][license]** (the "License");
you may not use this software except in compliance with the License.
Expand Down Expand Up @@ -67,4 +67,4 @@ limitations under the License.
[license]: https://www.apache.org/licenses/LICENSE-2.0

[tracker-classificiation]: https://github.com/snowplow/snowplow/wiki/Tracker-Maintenance-Classification
[early-release]: https://img.shields.io/static/v1?style=flat&label=Snowplow&message=Early%20Release&color=014477&labelColor=9ba0aa&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAeFBMVEVMaXGXANeYANeXANZbAJmXANeUANSQAM+XANeMAMpaAJhZAJeZANiXANaXANaOAM2WANVnAKWXANZ9ALtmAKVaAJmXANZaAJlXAJZdAJxaAJlZAJdbAJlbAJmQAM+UANKZANhhAJ+EAL+BAL9oAKZnAKVjAKF1ALNBd8J1AAAAKHRSTlMAa1hWXyteBTQJIEwRgUh2JjJon21wcBgNfmc+JlOBQjwezWF2l5dXzkW3/wAAAHpJREFUeNokhQOCA1EAxTL85hi7dXv/E5YPCYBq5DeN4pcqV1XbtW/xTVMIMAZE0cBHEaZhBmIQwCFofeprPUHqjmD/+7peztd62dWQRkvrQayXkn01f/gWp2CrxfjY7rcZ5V7DEMDQgmEozFpZqLUYDsNwOqbnMLwPAJEwCopZxKttAAAAAElFTkSuQmCC
[early-release]: https://img.shields.io/static/v1?style=flat&label=Snowplow&message=Early%20Release&color=014477&labelColor=9ba0aa&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAeFBMVEVMaXGXANeYANeXANZbAJmXANeUANSQAM+XANeMAMpaAJhZAJeZANiXANaXANaOAM2WANVnAKWXANZ9ALtmAKVaAJmXANZaAJlXAJZdAJxaAJlZAJdbAJlbAJmQAM+UANKZANhhAJ+EAL+BAL9oAKZnAKVjAKF1ALNBd8J1AAAAKHRSTlMAa1hWXyteBTQJIEwRgUh2JjJon21wcBgNfmc+JlOBQjwezWF2l5dXzkW3/wAAAHpJREFUeNokhQOCA1EAxTL85hi7dXv/E5YPCYBq5DeN4pcqV1XbtW/xTVMIMAZE0cBHEaZhBmIQwCFofeprPUHqjmD/+7peztd62dWQRkvrQayXkn01f/gWp2CrxfjY7rcZ5V7DEMDQgmEozFpZqLUYDsNwOqbnMLwPAJEwCopZxKttAAAAAElFTkSuQmCC
4 changes: 2 additions & 2 deletions Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Worker.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Constants.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
8 changes: 4 additions & 4 deletions src/Emitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
Emitter.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -17,7 +17,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down Expand Up @@ -241,7 +241,7 @@ public function closeFile($file_path) {
} catch (ErrorException $e) {
return $e->getMessage();
}
}
}

/**
* Attempts to copy a file to a new directory
Expand All @@ -263,7 +263,7 @@ public function copyFile($path_from, $path_to) {
* Attempts to delete a file
*
* @param string $file_path - The path of the file we want to delete
* @return
* @return
*/
public function deleteFile($file_path) {
try {
Expand Down
6 changes: 3 additions & 3 deletions src/Emitters/CurlEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
CurlEmitter.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down Expand Up @@ -70,7 +70,7 @@ public function __construct($uri, $protocol = NULL, $type = NULL, $buffer_size =
* - Or force the execution of the curl emitter
*
* @param $buffer - An array of events we are going to convert into curl resources
* @param bool $curl_send - Whether or not we are going to send the buffered curl
* @param bool $curl_send - Whether or not we are going to send the buffered curl
* objects before we reach the limit
* @return bool|string - Either true or an error string
*/
Expand Down
8 changes: 4 additions & 4 deletions src/Emitters/FileEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
FileEmitter.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,15 +16,15 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

namespace Snowplow\Tracker\Emitters;
use Snowplow\Tracker\Emitter;

class FileEmitter extends Emitter {

// Emitter Parameters

private $type;
Expand All @@ -34,7 +34,7 @@ class FileEmitter extends Emitter {
private $fatal_error_occured = false;

// Worker Parameters

private $worker = 0;
private $worker_paths = array();

Expand Down
6 changes: 3 additions & 3 deletions src/Emitters/SocketEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
SocketEmitter.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand All @@ -25,7 +25,7 @@
use Exception;

class SocketEmitter extends Emitter {

// Emitter Parameters

private $uri;
Expand Down
8 changes: 4 additions & 4 deletions src/Emitters/SyncEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
SyncEmitter.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand All @@ -26,9 +26,9 @@
use Exception;

class SyncEmitter extends Emitter {

// Emitter Parameters

private $type;
private $url;

Expand Down
8 changes: 4 additions & 4 deletions src/Payload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
Payload.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -17,16 +17,16 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

namespace Snowplow\Tracker;

class Payload extends Constants {

// Payload Parameters

private $nv_pairs;

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
Subject.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -17,7 +17,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down Expand Up @@ -167,7 +167,7 @@ public function setPageUrl($pageUrl) {
}

// Subject Return Functions

public function returnTrackerSettings() {
return $this->tracker_settings;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/*
Tracker.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -17,7 +17,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/ClassInitTests/EmitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
EmitterTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/ClassInitTests/PayloadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
PayloadTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/ClassInitTests/SubjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
SubjectTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/ClassInitTests/TrackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
TrackerTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/EmitterTests/CurlEmitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
CurlEmitterTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/tests/EmitterTests/FileEmitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
FileEmitterTest.php
Copyright (c) 2014-2019 Snowplow Analytics Ltd. All rights reserved.
Copyright (c) 2014-2021 Snowplow Analytics Ltd. All rights reserved.
This program is licensed to you under the Apache License Version 2.0,
and you may not use this file except in compliance with the Apache License
Expand All @@ -16,7 +16,7 @@
language governing permissions and limitations there under.
Authors: Joshua Beemster
Copyright: Copyright (c) 2014-2019 Snowplow Analytics Ltd
Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd
License: Apache License Version 2.0
*/

Expand Down
Loading

0 comments on commit 4348634

Please sign in to comment.