From 812ffa2702911c8cc535ce2a2c809aa5b143e62e Mon Sep 17 00:00:00 2001 From: JP Rodrigues <70jprodrigues@gmail.com> Date: Tue, 26 Jan 2021 13:02:54 -0300 Subject: [PATCH] Update to 4.0.8 --- .travis.yml | 19 ++++++------------- README.md | 2 +- composer.json | 23 +++++++++++++---------- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 259a4b6..bcf3576 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,28 +11,21 @@ php: - 7.3 env: - - LARAVEL_VERSION=5.7.* - - LARAVEL_VERSION=5.8.* COVERAGE=true - - LARAVEL_VERSION=6.0.* COVERAGE=true + - LARAVEL_VERSION=7.x-dev TESTBENCH=5.x-dev + - LARAVEL_VERSION=8.x-dev TESTBENCH=6.x-dev -matrix: - # For each PHP version we exclude the coverage env, except for PHP 7.1 +jobs: exclude: - - php: 7.1 - env: LARAVEL_VERSION=6.0.* COVERAGE=true - - php: 7.1 - env: LARAVEL_VERSION=7.0.* COVERAGE=true - php: 7.2 - env: LARAVEL_VERSION=6.0.* COVERAGE=true - - php: 7.2 - env: LARAVEL_VERSION=5.7.* + env: LARAVEL_VERSION=8.x-dev TESTBENCH=6.x-dev before_install: - - echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini + - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - cp ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/xdebug.ini - phpenv config-rm xdebug.ini - composer global require hirak/prestissimo --update-no-dev - composer require "laravel/framework:${LARAVEL_VERSION}" --no-update --prefer-dist + - composer require "orchestra/testbench:${TESTBENCH}" --no-update --prefer-dist install: travis_retry composer install --no-interaction --prefer-dist diff --git a/README.md b/README.md index aba1bd7..9aba9fa 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ When you are in a dev environment (i.e. using the `.test` domain with Valet, or ## Events -When an email is sent, viewed, or a link is clicked, its tracking information is counted in the database using the jdavidbakr\MailTracker\Model\SentEmail model. This processing is done via dispatched jobs to the queue in order to prevent the database from being overwhelmed in an email blast situation. You may choose the queue that these events are dispatched via the `mail-tracker.tracker-queue` config setting, or leave it `null` to use the default queue. +When an email is sent, viewed, or a link is clicked, its tracking information is counted in the database using the jdavidbakr\MailTracker\Model\SentEmail model. This processing is done via dispatched jobs to the queue in order to prevent the database from being overwhelmed in an email blast situation. You may choose the queue that these events are dispatched via the `mail-tracker.tracker-queue` config setting, or leave it `null` to use the default queue. By using a non-default queue, you can prioritize application-critical tasks above these tracking tasks. You may want to do additional processing on these events, so an event is fired in these cases: diff --git a/composer.json b/composer.json index 40043c8..41f16e8 100644 --- a/composer.json +++ b/composer.json @@ -6,23 +6,26 @@ "jdavidbakr", "MailTracker" ], + "minimum-stability": "dev", "homepage": "https://github.com/jdavidbakr/MailTracker", "license": "MIT", - "authors": [{ - "name": "J David Baker", - "email": "me@jdavidbaker.com", - "homepage": "http://www.jdavidbaker.com", - "role": "Developer" - }], + "authors": [ + { + "name": "J David Baker", + "email": "me@jdavidbaker.com", + "homepage": "http://www.jdavidbaker.com", + "role": "Developer" + } + ], "require": { - "php": ">=7.1", - "laravel/framework": ">=5.7 <7.0", + "php": ">=7.2.0", + "illuminate/support": "~7.0|~8.0", "guzzlehttp/guzzle": "^5.3.1|^6.2.1", "aws/aws-php-sns-message-validator": "^1.1" }, "require-dev": { - "phpunit/phpunit": "~6.0|~7.0|~8.0", - "orchestra/testbench": "~3.0|~4.0", + "phpunit/phpunit": "~8.0", + "orchestra/testbench": "~5.0|~6.0", "mockery/mockery": "^1.1" }, "suggest": {