diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..40f6652 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,60 @@ +name: cd + +on: + push: + tags: + - '*.*.*' + +jobs: + release: + runs-on: ubuntu-20.04 + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '7.2' + extensions: mbstring + coverage: xdebug + + - name: Start mountebank container with imposter + run: | + docker run -d --rm --mount type=bind,source=$(pwd)/tests/mountebank_mocks,destination=/imposters -p 2525:2525 -p 4545:4545 bbyars/mountebank --configfile /imposters/imposter.json + while ! nc -z localhost 2525; do sleep 0.1; done + + - name: Composer + run: | + composer self-update + composer install + + - name: Test and send coverage + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + php vendor/bin/phpunit + php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v + + - name: Get tag and tracker versions + id: version + run: | + echo ::set-output name=TAG_VERSION::${GITHUB_REF#refs/*/} + echo "##[set-output name=PHP_TRACKER_VERSION;]$(cat src/Constants.php | sed -n -e 's/^.*TRACKER_VERSION[[:blank:]]*= "php-\(.*\)";/\1/p')" + + - name: Fail if version mismatch + if: ${{ steps.version.outputs.TAG_VERSION != steps.version.outputs.PHP_TRACKER_VERSION }} + run: | + echo "Tag version (${{ steps.version.outputs.TAG_VERSION }}) doesn't match version in project (${{ steps.version.outputs.PHP_TRACKER_VERSION }})" + exit 1 + + - name: Create release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + draft: false + prerelease: ${{ contains(steps.version.outputs.TAG_VERSION, '-rc') }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b5f1b36 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: ci + +on: + push: + branches: + - master + pull_request: + +jobs: + build: + runs-on: ubuntu-20.04 + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '7.2' + extensions: mbstring + coverage: xdebug + + - name: Start mountebank container with imposter + run: | + docker run -d --rm --mount type=bind,source=$(pwd)/tests/mountebank_mocks,destination=/imposters -p 2525:2525 -p 4545:4545 bbyars/mountebank --configfile /imposters/imposter.json + while ! nc -z localhost 2525; do sleep 0.1; done + + - name: Composer + run: | + composer self-update + composer install + + - name: Test and send coverage + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + php vendor/bin/phpunit + php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d0f6493..0000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: php - -php: - - "7.2" - - "7.3" - -before_install: - - sudo apt-get update - - sudo apt-get install nodejs - - sudo apt-get install npm - -install: - - npm install -g mountebank --production - -before_script: - - mb & - - composer self-update - - composer install - -script: - - "curl -X POST -d @tests/mountebank_mocks/imposter.json http://localhost:2525/imposters" - - php vendor/bin/phpunit - -after_script: - - php vendor/bin/php-coveralls -v diff --git a/CHANGELOG b/CHANGELOG index aef4dae..e06e546 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +Version 0.3.1 (2021-02-17) +-------------------------- +Update copyright notices to 2021 (#92) +Fix expected hash in Dockerfile (#90) +Migrate to GitHub actions (#88) +Upgrade ramsey/uuid version constraint to allow v3 or v4 (#87) + Version 0.3.0 (2019-06-06) -------------------------- Fix coverall setup (#79) diff --git a/Dockerfile b/Dockerfile index 17c1eee..b1c1758 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update \ WORKDIR /usr/bin RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ - && php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ + && php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ && php composer-setup.php \ && php -r "unlink('composer-setup.php');" diff --git a/README.md b/README.md index e19eae1..6a351d0 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 diff --git a/Worker.php b/Worker.php index a30fd23..ea8be43 100644 --- a/Worker.php +++ b/Worker.php @@ -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 @@ -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 */ diff --git a/composer.json b/composer.json index 6613ddd..fbd26cd 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "require": { "php": ">=7.2", "rmccue/requests": ">=1.7", - "ramsey/uuid": "3.8.0" + "ramsey/uuid": "^3 || ^4" }, "require-dev": { "phpunit/phpunit": "^8.1.4", diff --git a/src/Constants.php b/src/Constants.php index 79125d4..481b180 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -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 @@ -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 */ @@ -46,7 +46,7 @@ class Constants { * - SSL: the default for whether or not to use SSL Encryption * - Type: the default for what type of request the emitter will be making (POST or GET) */ - const TRACKER_VERSION = "php-0.3.0"; + const TRACKER_VERSION = "php-0.3.1"; const DEFAULT_BASE_64 = true; const DEBUG_LOG_FILES = true; const CONTEXT_SCHEMA = "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1"; @@ -79,7 +79,7 @@ class Constants { /** * Settings for the Asynchronous Rolling Curl Emitter * - Buffer: the amount of events that will occur before sending begins - * - Amount: the amount of times we need to reach the buffer limit + * - Amount: the amount of times we need to reach the buffer limit * before we initiate sending * - Window: the amount of concurrent curl requests being made */ diff --git a/src/Emitter.php b/src/Emitter.php index a0c7b54..1427fde 100644 --- a/src/Emitter.php +++ b/src/Emitter.php @@ -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 @@ -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 */ @@ -241,7 +241,7 @@ public function closeFile($file_path) { } catch (ErrorException $e) { return $e->getMessage(); } - } + } /** * Attempts to copy a file to a new directory @@ -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 { diff --git a/src/Emitters/CurlEmitter.php b/src/Emitters/CurlEmitter.php index 06669d2..fcbe28a 100644 --- a/src/Emitters/CurlEmitter.php +++ b/src/Emitters/CurlEmitter.php @@ -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 @@ -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 */ @@ -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 */ diff --git a/src/Emitters/FileEmitter.php b/src/Emitters/FileEmitter.php index d3c99f8..cc451a8 100644 --- a/src/Emitters/FileEmitter.php +++ b/src/Emitters/FileEmitter.php @@ -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 @@ -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 */ @@ -24,7 +24,7 @@ use Snowplow\Tracker\Emitter; class FileEmitter extends Emitter { - + // Emitter Parameters private $type; @@ -34,7 +34,7 @@ class FileEmitter extends Emitter { private $fatal_error_occured = false; // Worker Parameters - + private $worker = 0; private $worker_paths = array(); diff --git a/src/Emitters/SocketEmitter.php b/src/Emitters/SocketEmitter.php index 065b427..ff2b8d2 100644 --- a/src/Emitters/SocketEmitter.php +++ b/src/Emitters/SocketEmitter.php @@ -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 @@ -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 */ @@ -25,7 +25,7 @@ use Exception; class SocketEmitter extends Emitter { - + // Emitter Parameters private $uri; diff --git a/src/Emitters/SyncEmitter.php b/src/Emitters/SyncEmitter.php index eaaf86d..47084b5 100644 --- a/src/Emitters/SyncEmitter.php +++ b/src/Emitters/SyncEmitter.php @@ -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 @@ -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 */ @@ -26,9 +26,9 @@ use Exception; class SyncEmitter extends Emitter { - + // Emitter Parameters - + private $type; private $url; diff --git a/src/Payload.php b/src/Payload.php index c050569..39bd9d7 100644 --- a/src/Payload.php +++ b/src/Payload.php @@ -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 @@ -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; /** diff --git a/src/Subject.php b/src/Subject.php index f1f8f9a..6aaf53d 100644 --- a/src/Subject.php +++ b/src/Subject.php @@ -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 @@ -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 */ @@ -167,7 +167,7 @@ public function setPageUrl($pageUrl) { } // Subject Return Functions - + public function returnTrackerSettings() { return $this->tracker_settings; } diff --git a/src/Tracker.php b/src/Tracker.php index aefe654..15f8229 100644 --- a/src/Tracker.php +++ b/src/Tracker.php @@ -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 @@ -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 */ diff --git a/tests/tests/ClassInitTests/EmitterTest.php b/tests/tests/ClassInitTests/EmitterTest.php index 8160ab0..60e34ba 100644 --- a/tests/tests/ClassInitTests/EmitterTest.php +++ b/tests/tests/ClassInitTests/EmitterTest.php @@ -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 @@ -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 */ diff --git a/tests/tests/ClassInitTests/PayloadTest.php b/tests/tests/ClassInitTests/PayloadTest.php index c01223a..e713e19 100644 --- a/tests/tests/ClassInitTests/PayloadTest.php +++ b/tests/tests/ClassInitTests/PayloadTest.php @@ -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 @@ -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 */ diff --git a/tests/tests/ClassInitTests/SubjectTest.php b/tests/tests/ClassInitTests/SubjectTest.php index 14efcc1..e830192 100644 --- a/tests/tests/ClassInitTests/SubjectTest.php +++ b/tests/tests/ClassInitTests/SubjectTest.php @@ -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 @@ -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 */ diff --git a/tests/tests/ClassInitTests/TrackerTest.php b/tests/tests/ClassInitTests/TrackerTest.php index ab204c9..2db25e7 100644 --- a/tests/tests/ClassInitTests/TrackerTest.php +++ b/tests/tests/ClassInitTests/TrackerTest.php @@ -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 @@ -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 */ @@ -67,7 +67,7 @@ public function testTrackerInit() { // Asserts $this->assertEquals($this->s1, $tracker->returnSubject()); $this->assertEquals(false, $tracker->returnEncodeBase64()); - $this->assertEquals(array("tv" => "php-0.3.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); + $this->assertEquals(array("tv" => "php-0.3.1", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); $tracker->turnOffDebug(true); } diff --git a/tests/tests/EmitterTests/CurlEmitterTest.php b/tests/tests/EmitterTests/CurlEmitterTest.php index d406109..ba7e270 100644 --- a/tests/tests/EmitterTests/CurlEmitterTest.php +++ b/tests/tests/EmitterTests/CurlEmitterTest.php @@ -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 @@ -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 */ diff --git a/tests/tests/EmitterTests/FileEmitterTest.php b/tests/tests/EmitterTests/FileEmitterTest.php index 0dcd8df..b30bd5b 100644 --- a/tests/tests/EmitterTests/FileEmitterTest.php +++ b/tests/tests/EmitterTests/FileEmitterTest.php @@ -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 @@ -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 */ diff --git a/tests/tests/EmitterTests/SocketEmitterTest.php b/tests/tests/EmitterTests/SocketEmitterTest.php index b8c8dd7..02a58e1 100644 --- a/tests/tests/EmitterTests/SocketEmitterTest.php +++ b/tests/tests/EmitterTests/SocketEmitterTest.php @@ -2,7 +2,7 @@ /* SocketEmitterTest.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 @@ -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 */ diff --git a/tests/tests/EmitterTests/SyncEmitterTest.php b/tests/tests/EmitterTests/SyncEmitterTest.php index 4f50822..0190ee5 100644 --- a/tests/tests/EmitterTests/SyncEmitterTest.php +++ b/tests/tests/EmitterTests/SyncEmitterTest.php @@ -2,7 +2,7 @@ /* SyncEmitterTest.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 @@ -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 */ diff --git a/tests/tests/IntegrationTest.php b/tests/tests/IntegrationTest.php index f69bcef..7990ccd 100644 --- a/tests/tests/IntegrationTest.php +++ b/tests/tests/IntegrationTest.php @@ -2,7 +2,7 @@ /* IntegrationTest.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 @@ -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 */