From ffa9756cb78aca2fbaeb3216dc7b37187e4d76ea Mon Sep 17 00:00:00 2001
From: Jonny Barnes
Date: Sun, 20 Jan 2019 17:35:58 +0000
Subject: [PATCH] Improve tests feature
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Squashed commit of the following:
commit 13ac266b79b496d62291a07f4f5f81940d217ccb
Author: Jonny Barnes
Date: Sun Jan 20 17:17:25 2019 +0000
test on 7.2 and 7.3, download phpcs directly from github
commit 692cc7dfe165a7ecaf9dba9498c868193b749aee
Author: Jonny Barnes
Date: Sun Jan 20 17:10:16 2019 +0000
Drop code-coverage for now, PHP7.3 and Xdebug aren’t playing ball at the moment
commit 03d262c47af79cfa0ce4937cc8e196e3b6f5877a
Author: Jonny Barnes
Date: Sun Jan 20 17:09:48 2019 +0000
Use an excewption when generating twitter content of a note
commit e2df1e5cebebd30473787c924f495a5687145fb8
Author: Jonny Barnes
Date: Sun Jan 20 17:08:48 2019 +0000
Updating dependencies
commit 8008eb53854eddefaa4e302f95353c626b3062ef
Author: Jonny Barnes
Date: Sun Nov 25 16:09:32 2018 +0000
Fix S3 URLs to use config settings
commit 941864b9d6c6cb9d87b4b95385ada67f55de837c
Author: Jonny Barnes
Date: Sat Nov 24 21:28:19 2018 +0000
Increase code-coverage in the notes unit tests
commit 4a253d3c5c1854dd8ea01d975bb8e709ae697393
Author: Jonny Barnes
Date: Tue Nov 20 18:26:59 2018 +0000
Don’t create new notes in null note test
commit 9616cd2b66bc6f26b2d3266f95cf1be894aaed99
Author: Jonny Barnes
Date: Tue Nov 20 18:23:05 2018 +0000
Use Laravel’s FileSystem class to better deal with files/folders in the tearDown methods
commit 294f7961ec03d26cc45845632a97b2521a58f403
Author: Jonny Barnes
Date: Tue Nov 20 18:22:28 2018 +0000
Add more unit tests for the geocoding method
commit 43328e3ce249fe8df95770f1275cab97f4ca88bc
Author: Jonny Barnes
Date: Tue Nov 20 18:18:36 2018 +0000
Improve the revereseGeoCode method
commit 84424e1d8274bfe62bc5f0a7556e5732bf094178
Author: Jonny Barnes
Date: Tue Nov 20 15:03:14 2018 +0000
Test that empty notes are saved to the DB as null
commit 77fd87b81323457ce6f578ed7f359ceb6b3ce6b6
Author: Jonny Barnes
Date: Sat Oct 13 20:20:03 2018 +0100
Increase test coverage to 100% for the WebMention model
commit 4b6da595dc1efc025470279e9012c2a2a90ec3ef
Author: Jonny Barnes
Date: Sat Oct 13 18:49:33 2018 +0100
Improving test coverage
commit 895061b8dd0ddf4fbc321e4f371ea148d9b3007f
Author: Jonny Barnes
Date: Sat Oct 13 17:19:35 2018 +0100
Improvements in Like tests and code, and WebMentions processing tests and code
commit f9a8b96f2c8b1ef22e97d3dc634ee76d97c25cb5
Author: Jonny Barnes
Date: Fri Oct 12 22:43:49 2018 +0100
Don’t track the coverage files in git
---
.gitignore | 1 +
.travis.yml | 7 +-
app/Exceptions/TwitterContentException.php | 7 +
app/Jobs/ProcessLike.php | 4 +-
app/Jobs/ProcessWebMention.php | 4 +-
app/Models/Note.php | 34 +-
composer.json | 3 +-
composer.lock | 1243 ++++++++++++-----
resources/views/templates/note.blade.php | 11 +-
tests/Feature/LikesTest.php | 46 +
tests/Feature/ParseCachedWebMentionsTest.php | 15 +-
tests/Unit/Jobs/DownloadWebMentionJobTest.php | 15 +-
tests/Unit/Jobs/ProcessWebMentionJobTest.php | 125 +-
tests/Unit/LikesTest.php | 36 +
tests/Unit/MediaTest.php | 9 +
tests/Unit/NotesTest.php | 195 ++-
tests/Unit/WebMentionTest.php | 7 +
17 files changed, 1322 insertions(+), 440 deletions(-)
create mode 100644 app/Exceptions/TwitterContentException.php
diff --git a/.gitignore b/.gitignore
index 27dc57b2..ea72e953 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,5 @@ yarn-error.log
/public/files
/public/keybase.txt
/coverage
+/public/coverage
/LegacyTests
diff --git a/.travis.yml b/.travis.yml
index f99b6ea4..15a9c137 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,6 +35,7 @@ env:
php:
- 7.2
+ - 7.3
before_install:
- printf "\n" | pecl install imagick
@@ -43,7 +44,7 @@ before_install:
- psql -U travis -c 'create database travis_ci_test'
- psql -U travis -d travis_ci_test -c 'create extension postgis'
- travis_retry composer self-update --preview
- - pear install pear/PHP_CodeSniffer && phpenv rehash
+ - curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist; fi
@@ -63,7 +64,7 @@ before_script:
#- sleep 5
script:
- - php vendor/bin/phpunit --coverage-text
- - phpcs
+ - php vendor/bin/phpunit
+ - php phpcs.phar
#- php artisan dusk
- php vendor/bin/security-checker security:check --end-point=http://security.sensiolabs.org/check_lock
diff --git a/app/Exceptions/TwitterContentException.php b/app/Exceptions/TwitterContentException.php
new file mode 100644
index 00000000..ad96192c
--- /dev/null
+++ b/app/Exceptions/TwitterContentException.php
@@ -0,0 +1,7 @@
+type == 'like-of') {
- if ($parser->checkLikeOf($microformats, $note->longurl) == false) {
+ if ($parser->checkLikeOf($microformats, $this->note->longurl) == false) {
// it doesn’t so delete
$webmention->delete();
@@ -75,7 +75,7 @@ class ProcessWebMention implements ShouldQueue
} // note we don’t need to do anything if it still is a like
}
if ($webmention->type == 'repost-of') {
- if ($parser->checkRepostOf($microformats, $note->longurl) == false) {
+ if ($parser->checkRepostOf($microformats, $this->note->longurl) == false) {
// it doesn’t so delete
$webmention->delete();
diff --git a/app/Models/Note.php b/app/Models/Note.php
index 81053f85..eb7c1e8f 100644
--- a/app/Models/Note.php
+++ b/app/Models/Note.php
@@ -17,6 +17,7 @@ use League\CommonMark\HtmlRenderer;
use Illuminate\Database\Eloquent\Model;
use Jonnybarnes\EmojiA11y\EmojiModifier;
use Illuminate\Database\Eloquent\Builder;
+use App\Exceptions\TwitterContentException;
use Illuminate\Database\Eloquent\SoftDeletes;
use Jonnybarnes\CommonmarkLinkify\LinkifyExtension;
@@ -362,21 +363,20 @@ class Note extends Model
*
* That is we swap the contacts names for their known Twitter handles.
*
- * @return string|null
+ * @return string
*/
- public function getTwitterContentAttribute(): ?string
+ public function getTwitterContentAttribute(): string
{
- if ($this->contacts === null) {
- return null;
- }
-
- if (count($this->contacts) === 0) {
- return null;
+ // check for contacts
+ if ($this->contacts === null || count($this->contacts) === 0) {
+ throw new TwitterContentException('There are no contacts for this note');
}
+ // here we check the matched contact from the note corresponds to a contact
+ // in the database
if (count(array_unique(array_values($this->contacts))) === 1
&& array_unique(array_values($this->contacts))[0] === null) {
- return null;
+ throw new TwitterContentException('The matched contact is not in the database');
}
// swap in twitter usernames
@@ -530,7 +530,7 @@ class Note extends Model
$latlng = $latitude . ',' . $longitude;
return Cache::get($latlng, function () use ($latlng, $latitude, $longitude) {
- $guzzle = new Client();
+ $guzzle = resolve(Client::class);
$response = $guzzle->request('GET', 'https://nominatim.openstreetmap.org/reverse', [
'query' => [
'format' => 'json',
@@ -542,9 +542,13 @@ class Note extends Model
'headers' => ['User-Agent' => 'jonnybarnes.uk via Guzzle, email jonny@jonnybarnes.uk'],
]);
$json = json_decode((string) $response->getBody());
- if (isset($json->address->town)) {
+ if (isset($json->address->suburb)) {
+ $locality = $json->address->suburb;
+ if (isset($json->address->city)) {
+ $locality .= ', ' . $json->address->city;
+ }
$address = ''
- . $json->address->town
+ . $locality
. ', '
. $json->address->country
. '';
@@ -553,7 +557,11 @@ class Note extends Model
return $address;
}
if (isset($json->address->city)) {
- $address = $json->address->city . ', ' . $json->address->country;
+ $address = ''
+ . $json->address->city
+ . ', '
+ . $json->address->country
+ . '';
Cache::forever($latlng, $address);
return $address;
diff --git a/composer.json b/composer.json
index 46a51b60..4770cd77 100644
--- a/composer.json
+++ b/composer.json
@@ -34,10 +34,9 @@
},
"require-dev": {
"barryvdh/laravel-debugbar": "~3.0",
- "codedungeon/phpunit-result-printer": "^0.22.0",
+ "codedungeon/phpunit-result-printer": "^0.24.0",
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
- "jakub-onderka/php-parallel-lint": "^1.0.0",
"laravel/dusk": "^4.0",
"mockery/mockery": "~1.0",
"nunomaduro/collision": "^2.0",
diff --git a/composer.lock b/composer.lock
index db559b46..b1e5a364 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "355389b7bd4c635f9f2eff946bfe04c1",
+ "content-hash": "20507240812c8f4034c9b81c6860f088",
"packages": [
{
"name": "aws/aws-sdk-php",
- "version": "3.69.0",
+ "version": "3.86.2",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "d6ba5f9250fc8a9cbc1cc11bc80c452b144ab215"
+ "reference": "50224232ac7a4e2a6fa4ebbe0281e5b7503acf76"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/d6ba5f9250fc8a9cbc1cc11bc80c452b144ab215",
- "reference": "d6ba5f9250fc8a9cbc1cc11bc80c452b144ab215",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/50224232ac7a4e2a6fa4ebbe0281e5b7503acf76",
+ "reference": "50224232ac7a4e2a6fa4ebbe0281e5b7503acf76",
"shasum": ""
},
"require": {
@@ -25,7 +25,7 @@
"ext-pcre": "*",
"ext-simplexml": "*",
"ext-spl": "*",
- "guzzlehttp/guzzle": "^5.3.1|^6.2.1",
+ "guzzlehttp/guzzle": "^5.3.3|^6.2.1",
"guzzlehttp/promises": "~1.0",
"guzzlehttp/psr7": "^1.4.1",
"mtdowling/jmespath.php": "~2.2",
@@ -87,7 +87,7 @@
"s3",
"sdk"
],
- "time": "2018-10-04T21:43:42+00:00"
+ "time": "2019-01-18T21:10:44+00:00"
},
{
"name": "bosnadev/database",
@@ -146,16 +146,16 @@
},
{
"name": "cakephp/chronos",
- "version": "1.2.2",
+ "version": "1.2.3",
"source": {
"type": "git",
"url": "https://github.com/cakephp/chronos.git",
- "reference": "30f5b26bcf76a5e53ecc274700ad1ec49dc05567"
+ "reference": "395110125ff577f080fa064dca5c5608a4e77ee1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/cakephp/chronos/zipball/30f5b26bcf76a5e53ecc274700ad1ec49dc05567",
- "reference": "30f5b26bcf76a5e53ecc274700ad1ec49dc05567",
+ "url": "https://api.github.com/repos/cakephp/chronos/zipball/395110125ff577f080fa064dca5c5608a4e77ee1",
+ "reference": "395110125ff577f080fa064dca5c5608a4e77ee1",
"shasum": ""
},
"require": {
@@ -199,7 +199,7 @@
"datetime",
"time"
],
- "time": "2018-07-11T18:51:56+00:00"
+ "time": "2018-10-18T22:02:21+00:00"
},
{
"name": "cocur/slugify",
@@ -268,16 +268,16 @@
},
{
"name": "composer/ca-bundle",
- "version": "1.1.2",
+ "version": "1.1.3",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
- "reference": "46afded9720f40b9dc63542af4e3e43a1177acb0"
+ "reference": "8afa52cd417f4ec417b4bfe86b68106538a87660"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/ca-bundle/zipball/46afded9720f40b9dc63542af4e3e43a1177acb0",
- "reference": "46afded9720f40b9dc63542af4e3e43a1177acb0",
+ "url": "https://api.github.com/repos/composer/ca-bundle/zipball/8afa52cd417f4ec417b4bfe86b68106538a87660",
+ "reference": "8afa52cd417f4ec417b4bfe86b68106538a87660",
"shasum": ""
},
"require": {
@@ -320,7 +320,7 @@
"ssl",
"tls"
],
- "time": "2018-08-08T08:57:40+00:00"
+ "time": "2018-10-18T06:09:13+00:00"
},
{
"name": "cviebrock/eloquent-sluggable",
@@ -495,16 +495,16 @@
},
{
"name": "doctrine/dbal",
- "version": "v2.8.0",
+ "version": "v2.9.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
- "reference": "5140a64c08b4b607b9bedaae0cedd26f04a0e621"
+ "reference": "22800bd651c1d8d2a9719e2a3dc46d5108ebfcc9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/5140a64c08b4b607b9bedaae0cedd26f04a0e621",
- "reference": "5140a64c08b4b607b9bedaae0cedd26f04a0e621",
+ "url": "https://api.github.com/repos/doctrine/dbal/zipball/22800bd651c1d8d2a9719e2a3dc46d5108ebfcc9",
+ "reference": "22800bd651c1d8d2a9719e2a3dc46d5108ebfcc9",
"shasum": ""
},
"require": {
@@ -514,11 +514,10 @@
"php": "^7.1"
},
"require-dev": {
- "doctrine/coding-standard": "^4.0",
+ "doctrine/coding-standard": "^5.0",
"jetbrains/phpstorm-stubs": "^2018.1.2",
"phpstan/phpstan": "^0.10.1",
- "phpunit/phpunit": "^7.1.2",
- "phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5",
+ "phpunit/phpunit": "^7.4",
"symfony/console": "^2.0.5|^3.0|^4.0",
"symfony/phpunit-bridge": "^3.4.5|^4.0.5"
},
@@ -531,13 +530,13 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.8.x-dev",
+ "dev-master": "2.9.x-dev",
"dev-develop": "3.0.x-dev"
}
},
"autoload": {
- "psr-0": {
- "Doctrine\\DBAL\\": "lib/"
+ "psr-4": {
+ "Doctrine\\DBAL\\": "lib/Doctrine/DBAL"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -562,15 +561,19 @@
"email": "jonwage@gmail.com"
}
],
- "description": "Database Abstraction Layer",
- "homepage": "http://www.doctrine-project.org",
+ "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.",
+ "homepage": "https://www.doctrine-project.org/projects/dbal.html",
"keywords": [
+ "abstraction",
"database",
"dbal",
+ "mysql",
"persistence",
+ "pgsql",
+ "php",
"queryobject"
],
- "time": "2018-07-13T03:16:35+00:00"
+ "time": "2018-12-31T03:27:51+00:00"
},
{
"name": "doctrine/event-manager",
@@ -818,16 +821,16 @@
},
{
"name": "egulias/email-validator",
- "version": "2.1.6",
+ "version": "2.1.7",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
- "reference": "0578b32b30b22de3e8664f797cf846fc9246f786"
+ "reference": "709f21f92707308cdf8f9bcfa1af4cb26586521e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0578b32b30b22de3e8664f797cf846fc9246f786",
- "reference": "0578b32b30b22de3e8664f797cf846fc9246f786",
+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/709f21f92707308cdf8f9bcfa1af4cb26586521e",
+ "reference": "709f21f92707308cdf8f9bcfa1af4cb26586521e",
"shasum": ""
},
"require": {
@@ -871,7 +874,7 @@
"validation",
"validator"
],
- "time": "2018-09-25T20:47:26+00:00"
+ "time": "2018-12-04T22:38:24+00:00"
},
{
"name": "erusev/parsedown",
@@ -968,16 +971,16 @@
},
{
"name": "fideloper/proxy",
- "version": "4.0.0",
+ "version": "4.1.0",
"source": {
"type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git",
- "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a"
+ "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/cf8a0ca4b85659b9557e206c90110a6a4dba980a",
- "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a",
+ "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/177c79a2d1f9970f89ee2fb4c12b429af38b6dfb",
+ "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb",
"shasum": ""
},
"require": {
@@ -1018,7 +1021,7 @@
"proxy",
"trusted proxy"
],
- "time": "2018-02-07T20:20:57+00:00"
+ "time": "2019-01-10T14:06:47+00:00"
},
{
"name": "geo-io/interface",
@@ -1231,32 +1234,33 @@
},
{
"name": "guzzlehttp/psr7",
- "version": "1.4.2",
+ "version": "1.5.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c"
+ "reference": "9f83dded91781a01c63574e387eaa769be769115"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
- "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
+ "reference": "9f83dded91781a01c63574e387eaa769be769115",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
- "psr/http-message": "~1.0"
+ "psr/http-message": "~1.0",
+ "ralouphie/getallheaders": "^2.0.5"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
- "phpunit/phpunit": "~4.0"
+ "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.4-dev"
+ "dev-master": "1.5-dev"
}
},
"autoload": {
@@ -1286,13 +1290,14 @@
"keywords": [
"http",
"message",
+ "psr-7",
"request",
"response",
"stream",
"uri",
"url"
],
- "time": "2017-03-20T17:10:46+00:00"
+ "time": "2018-12-04T20:46:45+00:00"
},
{
"name": "indieauth/client",
@@ -1541,33 +1546,34 @@
},
{
"name": "jakub-onderka/php-console-highlighter",
- "version": "v0.3.2",
+ "version": "v0.4",
"source": {
"type": "git",
"url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5"
+ "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5",
+ "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547",
+ "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547",
"shasum": ""
},
"require": {
- "jakub-onderka/php-console-color": "~0.1",
- "php": ">=5.3.0"
+ "ext-tokenizer": "*",
+ "jakub-onderka/php-console-color": "~0.2",
+ "php": ">=5.4.0"
},
"require-dev": {
"jakub-onderka/php-code-style": "~1.0",
- "jakub-onderka/php-parallel-lint": "~0.5",
+ "jakub-onderka/php-parallel-lint": "~1.0",
"jakub-onderka/php-var-dump-check": "~0.1",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~1.5"
},
"type": "library",
"autoload": {
- "psr-0": {
- "JakubOnderka\\PhpConsoleHighlighter": "src/"
+ "psr-4": {
+ "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1581,7 +1587,8 @@
"homepage": "http://www.acci.cz/"
}
],
- "time": "2015-04-20T18:58:01+00:00"
+ "description": "Highlight PHP code in terminal",
+ "time": "2018-09-29T18:48:56+00:00"
},
{
"name": "jmikola/geojson",
@@ -1819,16 +1826,16 @@
},
{
"name": "laravel/framework",
- "version": "v5.7.8",
+ "version": "v5.7.21",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "763b64a43ebb6042e463aab4214d4cc9722147be"
+ "reference": "25f74458a242b61cc9e9c09d31f94fb13ed805f3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/763b64a43ebb6042e463aab4214d4cc9722147be",
- "reference": "763b64a43ebb6042e463aab4214d4cc9722147be",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/25f74458a242b61cc9e9c09d31f94fb13ed805f3",
+ "reference": "25f74458a242b61cc9e9c09d31f94fb13ed805f3",
"shasum": ""
},
"require": {
@@ -1837,6 +1844,8 @@
"erusev/parsedown": "^1.7",
"ext-mbstring": "*",
"ext-openssl": "*",
+ "laravel/nexmo-notification-channel": "^1.0",
+ "laravel/slack-notification-channel": "^1.0",
"league/flysystem": "^1.0.8",
"monolog/monolog": "^1.12",
"nesbot/carbon": "^1.26.3",
@@ -1894,12 +1903,13 @@
"aws/aws-sdk-php": "^3.0",
"doctrine/dbal": "^2.6",
"filp/whoops": "^2.1.4",
+ "guzzlehttp/guzzle": "^6.3",
"league/flysystem-cached-adapter": "^1.0",
"mockery/mockery": "^1.0",
"moontoast/math": "^1.1",
"orchestra/testbench-core": "3.7.*",
"pda/pheanstalk": "^3.0",
- "phpunit/phpunit": "^7.0",
+ "phpunit/phpunit": "^7.5",
"predis/predis": "^1.1.1",
"symfony/css-selector": "^4.1",
"symfony/dom-crawler": "^4.1",
@@ -1910,6 +1920,7 @@
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).",
"ext-pcntl": "Required to use all features of the queue worker.",
"ext-posix": "Required to use all features of the queue worker.",
+ "filp/whoops": "Required for friendly error pages in development (^2.1.4).",
"fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).",
"guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (^6.0).",
"laravel/tinker": "Required to use the tinker console command (^1.0).",
@@ -1957,20 +1968,20 @@
"framework",
"laravel"
],
- "time": "2018-10-04T14:47:20+00:00"
+ "time": "2019-01-15T15:20:32+00:00"
},
{
"name": "laravel/horizon",
- "version": "v1.4.0",
+ "version": "v1.4.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/horizon.git",
- "reference": "0fb52858974e08e26fc214441a90aec652bc1204"
+ "reference": "b00da78d10158036cab2f45115ecc360f2014ed4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/horizon/zipball/0fb52858974e08e26fc214441a90aec652bc1204",
- "reference": "0fb52858974e08e26fc214441a90aec652bc1204",
+ "url": "https://api.github.com/repos/laravel/horizon/zipball/b00da78d10158036cab2f45115ecc360f2014ed4",
+ "reference": "b00da78d10158036cab2f45115ecc360f2014ed4",
"shasum": ""
},
"require": {
@@ -2025,7 +2036,64 @@
"laravel",
"queue"
],
- "time": "2018-09-07T11:08:22+00:00"
+ "time": "2018-11-01T14:03:51+00:00"
+ },
+ {
+ "name": "laravel/nexmo-notification-channel",
+ "version": "v1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/laravel/nexmo-notification-channel.git",
+ "reference": "03edd42a55b306ff980c9950899d5a2b03260d48"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/laravel/nexmo-notification-channel/zipball/03edd42a55b306ff980c9950899d5a2b03260d48",
+ "reference": "03edd42a55b306ff980c9950899d5a2b03260d48",
+ "shasum": ""
+ },
+ "require": {
+ "nexmo/client": "^1.0",
+ "php": "^7.1.3"
+ },
+ "require-dev": {
+ "illuminate/notifications": "~5.7",
+ "mockery/mockery": "^1.0",
+ "phpunit/phpunit": "^7.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Illuminate\\Notifications\\NexmoChannelServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Notifications\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "Nexmo Notification Channel for laravel.",
+ "keywords": [
+ "laravel",
+ "nexmo",
+ "notifications"
+ ],
+ "time": "2018-12-04T12:57:08+00:00"
},
{
"name": "laravel/scout",
@@ -2093,17 +2161,74 @@
"time": "2018-08-05T18:16:13+00:00"
},
{
- "name": "laravel/tinker",
- "version": "v1.0.7",
+ "name": "laravel/slack-notification-channel",
+ "version": "v1.0.3",
"source": {
"type": "git",
- "url": "https://github.com/laravel/tinker.git",
- "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d"
+ "url": "https://github.com/laravel/slack-notification-channel.git",
+ "reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/tinker/zipball/e3086ee8cb1f54a39ae8dcb72d1c37d10128997d",
- "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d",
+ "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/6e164293b754a95f246faf50ab2bbea3e4923cc9",
+ "reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9",
+ "shasum": ""
+ },
+ "require": {
+ "guzzlehttp/guzzle": "^6.0",
+ "php": "^7.1.3"
+ },
+ "require-dev": {
+ "illuminate/notifications": "~5.7",
+ "mockery/mockery": "^1.0",
+ "phpunit/phpunit": "^7.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ },
+ "laravel": {
+ "providers": [
+ "Illuminate\\Notifications\\SlackChannelServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Illuminate\\Notifications\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "Slack Notification Channel for laravel.",
+ "keywords": [
+ "laravel",
+ "notifications",
+ "slack"
+ ],
+ "time": "2018-12-12T13:12:06+00:00"
+ },
+ {
+ "name": "laravel/tinker",
+ "version": "v1.0.8",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/laravel/tinker.git",
+ "reference": "cafbf598a90acde68985660e79b2b03c5609a405"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/laravel/tinker/zipball/cafbf598a90acde68985660e79b2b03c5609a405",
+ "reference": "cafbf598a90acde68985660e79b2b03c5609a405",
"shasum": ""
},
"require": {
@@ -2153,20 +2278,20 @@
"laravel",
"psysh"
],
- "time": "2018-05-17T13:42:07+00:00"
+ "time": "2018-10-12T19:39:35+00:00"
},
{
"name": "lcobucci/jwt",
- "version": "3.2.4",
+ "version": "3.2.5",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
- "reference": "c9704b751315d21735dc98d78d4f37bd73596da7"
+ "reference": "82be04b4753f8b7693b62852b7eab30f97524f9b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/lcobucci/jwt/zipball/c9704b751315d21735dc98d78d4f37bd73596da7",
- "reference": "c9704b751315d21735dc98d78d4f37bd73596da7",
+ "url": "https://api.github.com/repos/lcobucci/jwt/zipball/82be04b4753f8b7693b62852b7eab30f97524f9b",
+ "reference": "82be04b4753f8b7693b62852b7eab30f97524f9b",
"shasum": ""
},
"require": {
@@ -2203,7 +2328,7 @@
{
"name": "Luís Otávio Cobucci Oblonczyk",
"email": "lcobucci@gmail.com",
- "role": "Developer"
+ "role": "developer"
}
],
"description": "A simple library to work with JSON Web Token and JSON Web Signature",
@@ -2211,20 +2336,20 @@
"JWS",
"jwt"
],
- "time": "2018-08-03T11:23:50+00:00"
+ "time": "2018-11-11T12:22:26+00:00"
},
{
"name": "league/commonmark",
- "version": "0.18.0",
+ "version": "0.18.1",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
- "reference": "006af077d4b1b7eb1d9760964f9f984ba188632c"
+ "reference": "e5029f74ba39e043ce4b3ca6c05dc719d8aafd94"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/006af077d4b1b7eb1d9760964f9f984ba188632c",
- "reference": "006af077d4b1b7eb1d9760964f9f984ba188632c",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/e5029f74ba39e043ce4b3ca6c05dc719d8aafd94",
+ "reference": "e5029f74ba39e043ce4b3ca6c05dc719d8aafd94",
"shasum": ""
},
"require": {
@@ -2273,27 +2398,27 @@
"role": "Lead Developer"
}
],
- "description": "Markdown parser for PHP based on the CommonMark spec",
+ "description": "PHP Markdown parser based on the CommonMark spec",
"homepage": "https://github.com/thephpleague/commonmark",
"keywords": [
"commonmark",
"markdown",
"parser"
],
- "time": "2018-09-18T13:13:55+00:00"
+ "time": "2018-12-30T01:55:29+00:00"
},
{
"name": "league/flysystem",
- "version": "1.0.47",
+ "version": "1.0.49",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c"
+ "reference": "a63cc83d8a931b271be45148fa39ba7156782ffd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a11e4a75f256bdacf99d20780ce42d3b8272975c",
- "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a63cc83d8a931b271be45148fa39ba7156782ffd",
+ "reference": "a63cc83d8a931b271be45148fa39ba7156782ffd",
"shasum": ""
},
"require": {
@@ -2364,20 +2489,20 @@
"sftp",
"storage"
],
- "time": "2018-09-14T15:30:29+00:00"
+ "time": "2018-11-23T23:41:29+00:00"
},
{
"name": "league/flysystem-aws-s3-v3",
- "version": "1.0.20",
+ "version": "1.0.21",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git",
- "reference": "398c56027e49653712a8fba1eb12600d2a83f3b7"
+ "reference": "43523fec10a831ea48bedb3277e3f3fa218f4e49"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/398c56027e49653712a8fba1eb12600d2a83f3b7",
- "reference": "398c56027e49653712a8fba1eb12600d2a83f3b7",
+ "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/43523fec10a831ea48bedb3277e3f3fa218f4e49",
+ "reference": "43523fec10a831ea48bedb3277e3f3fa218f4e49",
"shasum": ""
},
"require": {
@@ -2411,24 +2536,24 @@
}
],
"description": "Flysystem adapter for the AWS S3 SDK v3.x",
- "time": "2018-09-25T12:02:44+00:00"
+ "time": "2018-10-08T07:53:55+00:00"
},
{
"name": "league/glide",
- "version": "1.3.0",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/glide.git",
- "reference": "bd29f65c9666abd72e66916e0573801e435ca878"
+ "reference": "72430fbdb446c754910f0bab97e1ef14baab1e80"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/glide/zipball/bd29f65c9666abd72e66916e0573801e435ca878",
- "reference": "bd29f65c9666abd72e66916e0573801e435ca878",
+ "url": "https://api.github.com/repos/thephpleague/glide/zipball/72430fbdb446c754910f0bab97e1ef14baab1e80",
+ "reference": "72430fbdb446c754910f0bab97e1ef14baab1e80",
"shasum": ""
},
"require": {
- "intervention/image": "^2.1",
+ "intervention/image": "^2.4",
"league/flysystem": "^1.0",
"php": "^5.4 | ^7.0",
"psr/http-message": "^1.0"
@@ -2472,7 +2597,7 @@
"manipulation",
"processing"
],
- "time": "2018-02-12T23:28:25+00:00"
+ "time": "2018-12-22T17:56:55+00:00"
},
{
"name": "mf2/mf2",
@@ -2532,16 +2657,16 @@
},
{
"name": "monolog/monolog",
- "version": "1.23.0",
+ "version": "1.24.0",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4"
+ "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
- "reference": "fd8c787753b3a2ad11bc60c063cff1358a32a3b4",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
+ "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
"shasum": ""
},
"require": {
@@ -2606,7 +2731,7 @@
"logging",
"psr-3"
],
- "time": "2017-06-19T01:22:40+00:00"
+ "time": "2018-11-05T09:00:11+00:00"
},
{
"name": "mtdowling/jmespath.php",
@@ -2665,16 +2790,16 @@
},
{
"name": "nesbot/carbon",
- "version": "1.34.0",
+ "version": "1.36.2",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33"
+ "reference": "cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33",
- "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9",
+ "reference": "cd324b98bc30290f233dd0e75e6ce49f7ab2a6c9",
"shasum": ""
},
"require": {
@@ -2682,9 +2807,12 @@
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2",
"phpunit/phpunit": "^4.8.35 || ^5.7"
},
+ "suggest": {
+ "friendsofphp/php-cs-fixer": "Needed for the `composer phpcs` command. Allow to automatically fix code style.",
+ "phpstan/phpstan": "Needed for the `composer phpstan` command. Allow to detect potential errors."
+ },
"type": "library",
"extra": {
"laravel": {
@@ -2716,20 +2844,68 @@
"datetime",
"time"
],
- "time": "2018-09-20T19:36:25+00:00"
+ "time": "2018-12-28T10:07:33+00:00"
},
{
- "name": "nikic/php-parser",
- "version": "v4.0.4",
+ "name": "nexmo/client",
+ "version": "1.6.0",
"source": {
"type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "fa6ee28600d21d49b2b4e1006b48426cec8e579c"
+ "url": "https://github.com/Nexmo/nexmo-php.git",
+ "reference": "01809cc1e17a5af275913c49bb5d444eb6cc06d4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/fa6ee28600d21d49b2b4e1006b48426cec8e579c",
- "reference": "fa6ee28600d21d49b2b4e1006b48426cec8e579c",
+ "url": "https://api.github.com/repos/Nexmo/nexmo-php/zipball/01809cc1e17a5af275913c49bb5d444eb6cc06d4",
+ "reference": "01809cc1e17a5af275913c49bb5d444eb6cc06d4",
+ "shasum": ""
+ },
+ "require": {
+ "lcobucci/jwt": "^3.2",
+ "php": ">=5.6",
+ "php-http/client-implementation": "^1.0",
+ "php-http/guzzle6-adapter": "^1.0",
+ "zendframework/zend-diactoros": "^1.3"
+ },
+ "require-dev": {
+ "estahn/phpunit-json-assertions": "^1.0.0",
+ "php-http/mock-client": "^0.3.0",
+ "phpunit/phpunit": "^5.7",
+ "squizlabs/php_codesniffer": "^3.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Nexmo\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Tim Lytle",
+ "email": "tim@nexmo.com",
+ "homepage": "http://twitter.com/tjlytle",
+ "role": "Developer"
+ }
+ ],
+ "description": "PHP Client for using Nexmo's API.",
+ "time": "2018-12-17T10:47:50+00:00"
+ },
+ {
+ "name": "nikic/php-parser",
+ "version": "v4.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/nikic/PHP-Parser.git",
+ "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
+ "reference": "594bcae1fc0bccd3993d2f0d61a018e26ac2865a",
"shasum": ""
},
"require": {
@@ -2745,7 +2921,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.0-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -2767,20 +2943,20 @@
"parser",
"php"
],
- "time": "2018-09-18T07:03:24+00:00"
+ "time": "2019-01-12T16:31:37+00:00"
},
{
"name": "opis/closure",
- "version": "3.1.1",
+ "version": "3.1.5",
"source": {
"type": "git",
"url": "https://github.com/opis/closure.git",
- "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e"
+ "reference": "41f5da65d75cf473e5ee582df8fc7f2c733ce9d6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/opis/closure/zipball/d3209e46ad6c69a969b705df0738fd0dbe26ef9e",
- "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e",
+ "url": "https://api.github.com/repos/opis/closure/zipball/41f5da65d75cf473e5ee582df8fc7f2c733ce9d6",
+ "reference": "41f5da65d75cf473e5ee582df8fc7f2c733ce9d6",
"shasum": ""
},
"require": {
@@ -2788,12 +2964,12 @@
},
"require-dev": {
"jeremeamia/superclosure": "^2.0",
- "phpunit/phpunit": "^4.0"
+ "phpunit/phpunit": "^4.0|^5.0|^6.0|^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.0.x-dev"
+ "dev-master": "3.1.x-dev"
}
},
"autoload": {
@@ -2828,7 +3004,7 @@
"serialization",
"serialize"
],
- "time": "2018-10-02T13:36:53+00:00"
+ "time": "2019-01-14T14:45:33+00:00"
},
{
"name": "p3k/http",
@@ -2971,23 +3147,189 @@
"time": "2018-08-22T09:20:12+00:00"
},
{
- "name": "pmatseykanets/laravel-scout-postgres",
- "version": "v3.0.1",
+ "name": "php-http/guzzle6-adapter",
+ "version": "v1.1.1",
"source": {
"type": "git",
- "url": "https://github.com/pmatseykanets/laravel-scout-postgres.git",
- "reference": "0b9e198c793d330a8e2177d00ccbc640cbef1a11"
+ "url": "https://github.com/php-http/guzzle6-adapter.git",
+ "reference": "a56941f9dc6110409cfcddc91546ee97039277ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pmatseykanets/laravel-scout-postgres/zipball/0b9e198c793d330a8e2177d00ccbc640cbef1a11",
- "reference": "0b9e198c793d330a8e2177d00ccbc640cbef1a11",
+ "url": "https://api.github.com/repos/php-http/guzzle6-adapter/zipball/a56941f9dc6110409cfcddc91546ee97039277ab",
+ "reference": "a56941f9dc6110409cfcddc91546ee97039277ab",
"shasum": ""
},
"require": {
- "illuminate/contracts": "~5.4|~5.5|~5.6",
- "illuminate/database": "~5.4|~5.5|~5.6",
- "illuminate/support": "~5.4|~5.5|~5.6",
+ "guzzlehttp/guzzle": "^6.0",
+ "php": ">=5.5.0",
+ "php-http/httplug": "^1.0"
+ },
+ "provide": {
+ "php-http/async-client-implementation": "1.0",
+ "php-http/client-implementation": "1.0"
+ },
+ "require-dev": {
+ "ext-curl": "*",
+ "php-http/adapter-integration-tests": "^0.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.2-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Http\\Adapter\\Guzzle6\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com"
+ },
+ {
+ "name": "David de Boer",
+ "email": "david@ddeboer.nl"
+ }
+ ],
+ "description": "Guzzle 6 HTTP Adapter",
+ "homepage": "http://httplug.io",
+ "keywords": [
+ "Guzzle",
+ "http"
+ ],
+ "time": "2016-05-10T06:13:32+00:00"
+ },
+ {
+ "name": "php-http/httplug",
+ "version": "v1.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-http/httplug.git",
+ "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
+ "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4",
+ "php-http/promise": "^1.0",
+ "psr/http-message": "^1.0"
+ },
+ "require-dev": {
+ "henrikbjorn/phpspec-code-coverage": "^1.0",
+ "phpspec/phpspec": "^2.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Eric GELOEN",
+ "email": "geloen.eric@gmail.com"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com"
+ }
+ ],
+ "description": "HTTPlug, the HTTP client abstraction for PHP",
+ "homepage": "http://httplug.io",
+ "keywords": [
+ "client",
+ "http"
+ ],
+ "time": "2016-08-31T08:30:17+00:00"
+ },
+ {
+ "name": "php-http/promise",
+ "version": "v1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-http/promise.git",
+ "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980",
+ "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980",
+ "shasum": ""
+ },
+ "require-dev": {
+ "henrikbjorn/phpspec-code-coverage": "^1.0",
+ "phpspec/phpspec": "^2.4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Http\\Promise\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com"
+ },
+ {
+ "name": "Joel Wurtz",
+ "email": "joel.wurtz@gmail.com"
+ }
+ ],
+ "description": "Promise used for asynchronous HTTP requests",
+ "homepage": "http://httplug.io",
+ "keywords": [
+ "promise"
+ ],
+ "time": "2016-01-26T13:27:02+00:00"
+ },
+ {
+ "name": "pmatseykanets/laravel-scout-postgres",
+ "version": "v3.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/pmatseykanets/laravel-scout-postgres.git",
+ "reference": "c2e3f8485a7cc76e156b6ef4a3c6d37de2a18f36"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/pmatseykanets/laravel-scout-postgres/zipball/c2e3f8485a7cc76e156b6ef4a3c6d37de2a18f36",
+ "reference": "c2e3f8485a7cc76e156b6ef4a3c6d37de2a18f36",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/contracts": "~5.4",
+ "illuminate/database": "~5.4",
+ "illuminate/support": "~5.4",
"laravel/scout": "~5.0",
"php": ">=7.0"
},
@@ -3029,7 +3371,7 @@
"postgresql",
"search"
],
- "time": "2018-09-02T23:54:50+00:00"
+ "time": "2018-10-20T23:51:55+00:00"
},
{
"name": "predis/predis",
@@ -3182,16 +3524,16 @@
},
{
"name": "psr/log",
- "version": "1.0.2",
+ "version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
+ "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
"shasum": ""
},
"require": {
@@ -3225,7 +3567,7 @@
"psr",
"psr-3"
],
- "time": "2016-10-10T12:19:37+00:00"
+ "time": "2018-11-20T15:27:04+00:00"
},
{
"name": "psr/simple-cache",
@@ -3277,23 +3619,23 @@
},
{
"name": "psy/psysh",
- "version": "v0.9.8",
+ "version": "v0.9.9",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
- "reference": "ed3c32c4304e1a678a6e0f9dc11dd2d927d89555"
+ "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/ed3c32c4304e1a678a6e0f9dc11dd2d927d89555",
- "reference": "ed3c32c4304e1a678a6e0f9dc11dd2d927d89555",
+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
+ "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
"shasum": ""
},
"require": {
"dnoegel/php-xdg-base-dir": "0.1",
"ext-json": "*",
"ext-tokenizer": "*",
- "jakub-onderka/php-console-highlighter": "0.3.*",
+ "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*",
"nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
"php": ">=5.4.0",
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
@@ -3347,7 +3689,47 @@
"interactive",
"shell"
],
- "time": "2018-09-05T11:40:09+00:00"
+ "time": "2018-10-13T15:16:03+00:00"
+ },
+ {
+ "name": "ralouphie/getallheaders",
+ "version": "2.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ralouphie/getallheaders.git",
+ "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
+ "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~3.7.0",
+ "satooshi/php-coveralls": ">=1.0"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/getallheaders.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ralph Khattar",
+ "email": "ralph.khattar@gmail.com"
+ }
+ ],
+ "description": "A polyfill for getallheaders.",
+ "time": "2016-02-11T07:05:27+00:00"
},
{
"name": "ramsey/uuid",
@@ -3433,16 +3815,16 @@
},
{
"name": "sensiolabs/security-checker",
- "version": "v5.0.0",
+ "version": "v5.0.3",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/security-checker.git",
- "reference": "df4625e39868ecf4e868355caf45352f566791db"
+ "reference": "46be3f58adac13084497961e10eed9a7fb4d44d1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/df4625e39868ecf4e868355caf45352f566791db",
- "reference": "df4625e39868ecf4e868355caf45352f566791db",
+ "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/46be3f58adac13084497961e10eed9a7fb4d44d1",
+ "reference": "46be3f58adac13084497961e10eed9a7fb4d44d1",
"shasum": ""
},
"require": {
@@ -3475,30 +3857,30 @@
}
],
"description": "A security checker for your composer.lock",
- "time": "2018-09-04T07:02:17+00:00"
+ "time": "2018-12-19T17:14:59+00:00"
},
{
"name": "spatie/browsershot",
- "version": "3.25.0",
+ "version": "3.26.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/browsershot.git",
- "reference": "de0864f93f0778217c23f5a210bfe795d0277093"
+ "reference": "281b35ae48d2ad7da316789fe3a6622a65929904"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/browsershot/zipball/de0864f93f0778217c23f5a210bfe795d0277093",
- "reference": "de0864f93f0778217c23f5a210bfe795d0277093",
+ "url": "https://api.github.com/repos/spatie/browsershot/zipball/281b35ae48d2ad7da316789fe3a6622a65929904",
+ "reference": "281b35ae48d2ad7da316789fe3a6622a65929904",
"shasum": ""
},
"require": {
"php": "^7.1",
- "spatie/image": "^1.4",
+ "spatie/image": "^1.5.3",
"spatie/temporary-directory": "^1.1",
- "symfony/process": "^3.0|^4.0"
+ "symfony/process": "^4.2"
},
"require-dev": {
- "phpunit/phpunit": "^6.1|^7.0",
+ "phpunit/phpunit": "^6.1|^7.5",
"spatie/phpunit-snapshot-assertions": "^1.0"
},
"type": "library",
@@ -3531,24 +3913,25 @@
"screenshot",
"webpage"
],
- "time": "2018-09-02T21:12:41+00:00"
+ "time": "2019-01-10T09:13:44+00:00"
},
{
"name": "spatie/image",
- "version": "1.5.2",
+ "version": "1.5.3",
"source": {
"type": "git",
"url": "https://github.com/spatie/image.git",
- "reference": "d4cb6afff1b98fd6e17396d91e0e584c3d91bb23"
+ "reference": "086bf7c6598ccaf8a0fdee2dcdcfc3637fe8a9eb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/image/zipball/d4cb6afff1b98fd6e17396d91e0e584c3d91bb23",
- "reference": "d4cb6afff1b98fd6e17396d91e0e584c3d91bb23",
+ "url": "https://api.github.com/repos/spatie/image/zipball/086bf7c6598ccaf8a0fdee2dcdcfc3637fe8a9eb",
+ "reference": "086bf7c6598ccaf8a0fdee2dcdcfc3637fe8a9eb",
"shasum": ""
},
"require": {
- "league/glide": "^1.2",
+ "ext-exif": "*",
+ "league/glide": "^1.4",
"php": "^7.0",
"spatie/image-optimizer": "^1.0",
"spatie/temporary-directory": "^1.0.0",
@@ -3583,30 +3966,31 @@
"image",
"spatie"
],
- "time": "2018-05-05T21:44:52+00:00"
+ "time": "2019-01-10T09:02:14+00:00"
},
{
"name": "spatie/image-optimizer",
- "version": "1.1.1",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/spatie/image-optimizer.git",
- "reference": "0cc312a83186afc586df0cb034c4303c3d7cf629"
+ "reference": "11f0b270669a55f90093d63ddb5214e0f7c279da"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/0cc312a83186afc586df0cb034c4303c3d7cf629",
- "reference": "0cc312a83186afc586df0cb034c4303c3d7cf629",
+ "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/11f0b270669a55f90093d63ddb5214e0f7c279da",
+ "reference": "11f0b270669a55f90093d63ddb5214e0f7c279da",
"shasum": ""
},
"require": {
+ "ext-fileinfo": "*",
"php": "^7.0",
"psr/log": "^1.0",
- "symfony/process": "^2.8|^3.0|^4.0"
+ "symfony/process": "^4.2"
},
"require-dev": {
- "phpunit/phpunit": "^6.2|^7.0",
- "symfony/var-dumper": "^3.0|^4.0"
+ "phpunit/phpunit": "^7.5",
+ "symfony/var-dumper": "^4.2"
},
"type": "library",
"autoload": {
@@ -3632,7 +4016,7 @@
"image-optimizer",
"spatie"
],
- "time": "2018-09-10T10:21:45+00:00"
+ "time": "2019-01-14T09:15:47+00:00"
},
{
"name": "spatie/temporary-directory",
@@ -3741,20 +4125,21 @@
},
{
"name": "symfony/console",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b"
+ "reference": "b0a03c1bb0fcbe288629956cf2f1dd3f1dc97522"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/dc7122fe5f6113cfaba3b3de575d31112c9aa60b",
- "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b",
+ "url": "https://api.github.com/repos/symfony/console/zipball/b0a03c1bb0fcbe288629956cf2f1dd3f1dc97522",
+ "reference": "b0a03c1bb0fcbe288629956cf2f1dd3f1dc97522",
"shasum": ""
},
"require": {
"php": "^7.1.3",
+ "symfony/contracts": "^1.0",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
@@ -3778,7 +4163,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -3805,20 +4190,88 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:15:46+00:00"
+ "time": "2019-01-04T15:13:53+00:00"
},
{
- "name": "symfony/css-selector",
- "version": "v4.1.6",
+ "name": "symfony/contracts",
+ "version": "v1.0.2",
"source": {
"type": "git",
- "url": "https://github.com/symfony/css-selector.git",
- "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a"
+ "url": "https://github.com/symfony/contracts.git",
+ "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/d67de79a70a27d93c92c47f37ece958bf8de4d8a",
- "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a",
+ "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf",
+ "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1.3"
+ },
+ "require-dev": {
+ "psr/cache": "^1.0",
+ "psr/container": "^1.0"
+ },
+ "suggest": {
+ "psr/cache": "When using the Cache contracts",
+ "psr/container": "When using the Service contracts",
+ "symfony/cache-contracts-implementation": "",
+ "symfony/service-contracts-implementation": "",
+ "symfony/translation-contracts-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\": ""
+ },
+ "exclude-from-classmap": [
+ "**/Tests/"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A set of abstractions extracted out of the Symfony components",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "time": "2018-12-05T08:06:11+00:00"
+ },
+ {
+ "name": "symfony/css-selector",
+ "version": "v4.2.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/css-selector.git",
+ "reference": "76dac1dbe2830213e95892c7c2ec1edd74113ea4"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/76dac1dbe2830213e95892c7c2ec1edd74113ea4",
+ "reference": "76dac1dbe2830213e95892c7c2ec1edd74113ea4",
"shasum": ""
},
"require": {
@@ -3827,7 +4280,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -3858,20 +4311,20 @@
],
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "symfony/debug",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
- "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90"
+ "reference": "64cb33c81e37d19b7715d4a6a4d49c1c382066dd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/e3f76ce6198f81994e019bb2b4e533e9de1b9b90",
- "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90",
+ "url": "https://api.github.com/repos/symfony/debug/zipball/64cb33c81e37d19b7715d4a6a4d49c1c382066dd",
+ "reference": "64cb33c81e37d19b7715d4a6a4d49c1c382066dd",
"shasum": ""
},
"require": {
@@ -3887,7 +4340,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -3914,24 +4367,25 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e"
+ "reference": "887de6d34c86cf0cb6cbf910afb170cdb743cb5e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/bfb30c2ad377615a463ebbc875eba64a99f6aa3e",
- "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/887de6d34c86cf0cb6cbf910afb170cdb743cb5e",
+ "reference": "887de6d34c86cf0cb6cbf910afb170cdb743cb5e",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": "^7.1.3",
+ "symfony/contracts": "^1.0"
},
"conflict": {
"symfony/dependency-injection": "<3.4"
@@ -3950,7 +4404,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -3977,20 +4431,20 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
- "time": "2018-07-26T09:10:45+00:00"
+ "time": "2019-01-05T16:37:49+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06"
+ "reference": "9094d69e8c6ee3fe186a0ec5a4f1401e506071ce"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06",
- "reference": "1f17195b44543017a9c9b2d437c670627e96ad06",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/9094d69e8c6ee3fe186a0ec5a4f1401e506071ce",
+ "reference": "9094d69e8c6ee3fe186a0ec5a4f1401e506071ce",
"shasum": ""
},
"require": {
@@ -3999,7 +4453,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4026,20 +4480,20 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:47:56+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "symfony/http-foundation",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "d528136617ff24f530e70df9605acc1b788b08d4"
+ "reference": "a633d422a09242064ba24e44a6e1494c5126de86"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d528136617ff24f530e70df9605acc1b788b08d4",
- "reference": "d528136617ff24f530e70df9605acc1b788b08d4",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a633d422a09242064ba24e44a6e1494c5126de86",
+ "reference": "a633d422a09242064ba24e44a6e1494c5126de86",
"shasum": ""
},
"require": {
@@ -4053,7 +4507,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4080,25 +4534,26 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T08:48:45+00:00"
+ "time": "2019-01-05T16:37:49+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220"
+ "reference": "83de6543328917c18d5498eeb6bb6d36f7aab31b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f5e7c15a5d010be0e16ce798594c5960451d4220",
- "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/83de6543328917c18d5498eeb6bb6d36f7aab31b",
+ "reference": "83de6543328917c18d5498eeb6bb6d36f7aab31b",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"psr/log": "~1.0",
+ "symfony/contracts": "^1.0.2",
"symfony/debug": "~3.4|~4.0",
"symfony/event-dispatcher": "~4.1",
"symfony/http-foundation": "^4.1.1",
@@ -4106,7 +4561,8 @@
},
"conflict": {
"symfony/config": "<3.4",
- "symfony/dependency-injection": "<4.1",
+ "symfony/dependency-injection": "<4.2",
+ "symfony/translation": "<4.2",
"symfony/var-dumper": "<4.1.1",
"twig/twig": "<1.34|<2.4,>=2"
},
@@ -4119,7 +4575,7 @@
"symfony/config": "~3.4|~4.0",
"symfony/console": "~3.4|~4.0",
"symfony/css-selector": "~3.4|~4.0",
- "symfony/dependency-injection": "^4.1",
+ "symfony/dependency-injection": "^4.2",
"symfony/dom-crawler": "~3.4|~4.0",
"symfony/expression-language": "~3.4|~4.0",
"symfony/finder": "~3.4|~4.0",
@@ -4127,7 +4583,7 @@
"symfony/routing": "~3.4|~4.0",
"symfony/stopwatch": "~3.4|~4.0",
"symfony/templating": "~3.4|~4.0",
- "symfony/translation": "~3.4|~4.0",
+ "symfony/translation": "~4.2",
"symfony/var-dumper": "^4.1.1"
},
"suggest": {
@@ -4140,7 +4596,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4167,11 +4623,11 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
- "time": "2018-10-03T12:53:38+00:00"
+ "time": "2019-01-06T16:19:23+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
@@ -4229,16 +4685,16 @@
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
+ "reference": "c79c051f5b3a46be09205c73b80b346e4153e494"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
- "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/c79c051f5b3a46be09205c73b80b346e4153e494",
+ "reference": "c79c051f5b3a46be09205c73b80b346e4153e494",
"shasum": ""
},
"require": {
@@ -4284,20 +4740,20 @@
"portable",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-21T13:07:52+00:00"
},
{
"name": "symfony/polyfill-php72",
- "version": "v1.9.0",
+ "version": "v1.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae"
+ "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/95c50420b0baed23852452a7f0c7b527303ed5ae",
- "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
+ "reference": "9050816e2ca34a8e916c3a0ae8b9c2fccf68b631",
"shasum": ""
},
"require": {
@@ -4339,20 +4795,20 @@
"portable",
"shim"
],
- "time": "2018-08-06T14:22:27+00:00"
+ "time": "2018-09-21T13:07:52+00:00"
},
{
"name": "symfony/process",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529"
+ "reference": "ea043ab5d8ed13b467a9087d81cb876aee7f689a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/ee33c0322a8fee0855afcc11fff81e6b1011b529",
- "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529",
+ "url": "https://api.github.com/repos/symfony/process/zipball/ea043ab5d8ed13b467a9087d81cb876aee7f689a",
+ "reference": "ea043ab5d8ed13b467a9087d81cb876aee7f689a",
"shasum": ""
},
"require": {
@@ -4361,7 +4817,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4388,34 +4844,34 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T12:40:59+00:00"
+ "time": "2019-01-03T14:48:52+00:00"
},
{
"name": "symfony/routing",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9"
+ "reference": "e69b7a13a0b58af378a49b49dd7084462de16cee"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/537803f0bdfede36b9acef052d2e4d447d9fa0e9",
- "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/e69b7a13a0b58af378a49b49dd7084462de16cee",
+ "reference": "e69b7a13a0b58af378a49b49dd7084462de16cee",
"shasum": ""
},
"require": {
"php": "^7.1.3"
},
"conflict": {
- "symfony/config": "<3.4",
+ "symfony/config": "<4.2",
"symfony/dependency-injection": "<3.4",
"symfony/yaml": "<3.4"
},
"require-dev": {
"doctrine/annotations": "~1.0",
"psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
+ "symfony/config": "~4.2",
"symfony/dependency-injection": "~3.4|~4.0",
"symfony/expression-language": "~3.4|~4.0",
"symfony/http-foundation": "~3.4|~4.0",
@@ -4432,7 +4888,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4465,24 +4921,25 @@
"uri",
"url"
],
- "time": "2018-10-02T12:40:59+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "symfony/translation",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "9f0b61e339160a466ebcde167a6c5521c810e304"
+ "reference": "939fb792d73f2ce80e6ae9019d205fc480f1c9a0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/9f0b61e339160a466ebcde167a6c5521c810e304",
- "reference": "9f0b61e339160a466ebcde167a6c5521c810e304",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/939fb792d73f2ce80e6ae9019d205fc480f1c9a0",
+ "reference": "939fb792d73f2ce80e6ae9019d205fc480f1c9a0",
"shasum": ""
},
"require": {
"php": "^7.1.3",
+ "symfony/contracts": "^1.0.2",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
@@ -4490,6 +4947,9 @@
"symfony/dependency-injection": "<3.4",
"symfony/yaml": "<3.4"
},
+ "provide": {
+ "symfony/translation-contracts-implementation": "1.0"
+ },
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "~3.4|~4.0",
@@ -4507,7 +4967,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4534,20 +4994,20 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "60319b45653580b0cdacca499344577d87732f16"
+ "reference": "85bde661b178173d85c6f11ea9d03b61d1212bb2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60319b45653580b0cdacca499344577d87732f16",
- "reference": "60319b45653580b0cdacca499344577d87732f16",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/85bde661b178173d85c6f11ea9d03b61d1212bb2",
+ "reference": "85bde661b178173d85c6f11ea9d03b61d1212bb2",
"shasum": ""
},
"require": {
@@ -4561,6 +5021,7 @@
},
"require-dev": {
"ext-iconv": "*",
+ "symfony/console": "~3.4|~4.0",
"symfony/process": "~3.4|~4.0",
"twig/twig": "~1.34|~2.4"
},
@@ -4575,7 +5036,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4609,7 +5070,7 @@
"debug",
"dump"
],
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "themattharris/tmhoauth",
@@ -4746,16 +5207,16 @@
},
{
"name": "vlucas/phpdotenv",
- "version": "v2.5.1",
+ "version": "v2.5.2",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e"
+ "reference": "cfd5dc225767ca154853752abc93aeec040fcf36"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
- "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/cfd5dc225767ca154853752abc93aeec040fcf36",
+ "reference": "cfd5dc225767ca154853752abc93aeec040fcf36",
"shasum": ""
},
"require": {
@@ -4792,7 +5253,71 @@
"env",
"environment"
],
- "time": "2018-07-29T20:33:41+00:00"
+ "time": "2018-10-30T17:29:25+00:00"
+ },
+ {
+ "name": "zendframework/zend-diactoros",
+ "version": "1.8.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/zendframework/zend-diactoros.git",
+ "reference": "20da13beba0dde8fb648be3cc19765732790f46e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/20da13beba0dde8fb648be3cc19765732790f46e",
+ "reference": "20da13beba0dde8fb648be3cc19765732790f46e",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^5.6 || ^7.0",
+ "psr/http-message": "^1.0"
+ },
+ "provide": {
+ "psr/http-message-implementation": "1.0"
+ },
+ "require-dev": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "php-http/psr7-integration-tests": "dev-master",
+ "phpunit/phpunit": "^5.7.16 || ^6.0.8 || ^7.2.7",
+ "zendframework/zend-coding-standard": "~1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.8.x-dev",
+ "dev-develop": "1.9.x-dev",
+ "dev-release-2.0": "2.0.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/functions/create_uploaded_file.php",
+ "src/functions/marshal_headers_from_sapi.php",
+ "src/functions/marshal_method_from_sapi.php",
+ "src/functions/marshal_protocol_version_from_sapi.php",
+ "src/functions/marshal_uri_from_sapi.php",
+ "src/functions/normalize_server.php",
+ "src/functions/normalize_uploaded_files.php",
+ "src/functions/parse_cookie_header.php"
+ ],
+ "psr-4": {
+ "Zend\\Diactoros\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-2-Clause"
+ ],
+ "description": "PSR HTTP Message implementations",
+ "homepage": "https://github.com/zendframework/zend-diactoros",
+ "keywords": [
+ "http",
+ "psr",
+ "psr-7"
+ ],
+ "time": "2018-09-05T19:29:37+00:00"
}
],
"packages-dev": [
@@ -4843,16 +5368,16 @@
},
{
"name": "barryvdh/laravel-debugbar",
- "version": "v3.2.0",
+ "version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-debugbar.git",
- "reference": "5b68f3972083a7eeec0d6f161962fcda71a127c0"
+ "reference": "9d5caf43c5f3a3aea2178942f281054805872e7c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/5b68f3972083a7eeec0d6f161962fcda71a127c0",
- "reference": "5b68f3972083a7eeec0d6f161962fcda71a127c0",
+ "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/9d5caf43c5f3a3aea2178942f281054805872e7c",
+ "reference": "9d5caf43c5f3a3aea2178942f281054805872e7c",
"shasum": ""
},
"require": {
@@ -4907,7 +5432,7 @@
"profiler",
"webprofiler"
],
- "time": "2018-08-22T11:06:19+00:00"
+ "time": "2018-11-09T08:37:55+00:00"
},
{
"name": "codedungeon/php-cli-colors",
@@ -4955,16 +5480,16 @@
},
{
"name": "codedungeon/phpunit-result-printer",
- "version": "0.22.0",
+ "version": "0.24.1",
"source": {
"type": "git",
"url": "https://github.com/mikeerickson/phpunit-pretty-result-printer.git",
- "reference": "5a7add1769d07874e92b0f39c39fc2090425992d"
+ "reference": "efac6389486641fd3390180c5e0eb4bec5f4cd9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mikeerickson/phpunit-pretty-result-printer/zipball/5a7add1769d07874e92b0f39c39fc2090425992d",
- "reference": "5a7add1769d07874e92b0f39c39fc2090425992d",
+ "url": "https://api.github.com/repos/mikeerickson/phpunit-pretty-result-printer/zipball/efac6389486641fd3390180c5e0eb4bec5f4cd9e",
+ "reference": "efac6389486641fd3390180c5e0eb4bec5f4cd9e",
"shasum": ""
},
"require": {
@@ -4975,7 +5500,7 @@
"symfony/yaml": "^2.7|^3.0|^4.0"
},
"require-dev": {
- "phpunit/phpunit": "7.1.1",
+ "phpunit/phpunit": "7.4.*",
"spatie/phpunit-watcher": "^1.6"
},
"type": "library",
@@ -5004,7 +5529,7 @@
"result-printer",
"testing"
],
- "time": "2018-09-28T19:44:55+00:00"
+ "time": "2019-01-05T19:01:49+00:00"
},
{
"name": "doctrine/instantiator",
@@ -5122,16 +5647,16 @@
},
{
"name": "filp/whoops",
- "version": "2.2.1",
+ "version": "2.3.1",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311"
+ "reference": "bc0fd11bc455cc20ee4b5edabc63ebbf859324c7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/e79cd403fb77fc8963a99ecc30e80ddd885b3311",
- "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/bc0fd11bc455cc20ee4b5edabc63ebbf859324c7",
+ "reference": "bc0fd11bc455cc20ee4b5edabc63ebbf859324c7",
"shasum": ""
},
"require": {
@@ -5179,7 +5704,7 @@
"throwable",
"whoops"
],
- "time": "2018-06-30T13:14:06+00:00"
+ "time": "2018-10-23T09:00:00+00:00"
},
{
"name": "fzaninotto/faker",
@@ -5336,66 +5861,18 @@
],
"time": "2017-11-07T22:49:43+00:00"
},
- {
- "name": "jakub-onderka/php-parallel-lint",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Parallel-Lint.git",
- "reference": "04fbd3f5fb1c83f08724aa58a23db90bd9086ee8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Parallel-Lint/zipball/04fbd3f5fb1c83f08724aa58a23db90bd9086ee8",
- "reference": "04fbd3f5fb1c83f08724aa58a23db90bd9086ee8",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "jakub-onderka/php-console-highlighter": "~0.3",
- "nette/tester": "~1.3",
- "squizlabs/php_codesniffer": "~2.7"
- },
- "suggest": {
- "jakub-onderka/php-console-highlighter": "Highlight syntax in code snippet"
- },
- "bin": [
- "parallel-lint"
- ],
- "type": "library",
- "autoload": {
- "classmap": [
- "./"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "ahoj@jakubonderka.cz"
- }
- ],
- "description": "This tool check syntax of PHP files about 20x faster than serial check.",
- "homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint",
- "time": "2018-02-24T15:31:20+00:00"
- },
{
"name": "laravel/dusk",
- "version": "v4.0.2",
+ "version": "v4.0.5",
"source": {
"type": "git",
"url": "https://github.com/laravel/dusk.git",
- "reference": "9810f8609c8b53d9a3bac7d38c56530e0d77a6bb"
+ "reference": "c30c8a01d35661e253a7d3ea7ae6a79faf3f8d92"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/dusk/zipball/9810f8609c8b53d9a3bac7d38c56530e0d77a6bb",
- "reference": "9810f8609c8b53d9a3bac7d38c56530e0d77a6bb",
+ "url": "https://api.github.com/repos/laravel/dusk/zipball/c30c8a01d35661e253a7d3ea7ae6a79faf3f8d92",
+ "reference": "c30c8a01d35661e253a7d3ea7ae6a79faf3f8d92",
"shasum": ""
},
"require": {
@@ -5443,7 +5920,7 @@
"testing",
"webdriver"
],
- "time": "2018-10-03T15:37:05+00:00"
+ "time": "2019-01-10T14:22:35+00:00"
},
{
"name": "maximebf/debugbar",
@@ -5621,26 +6098,27 @@
},
{
"name": "nunomaduro/collision",
- "version": "v2.1.0",
+ "version": "v2.1.1",
"source": {
"type": "git",
"url": "https://github.com/nunomaduro/collision.git",
- "reference": "1149ad9f36f61b121ae61f5f6de820fc77b51e6b"
+ "reference": "b5feb0c0d92978ec7169232ce5d70d6da6b29f63"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/1149ad9f36f61b121ae61f5f6de820fc77b51e6b",
- "reference": "1149ad9f36f61b121ae61f5f6de820fc77b51e6b",
+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/b5feb0c0d92978ec7169232ce5d70d6da6b29f63",
+ "reference": "b5feb0c0d92978ec7169232ce5d70d6da6b29f63",
"shasum": ""
},
"require": {
"filp/whoops": "^2.1.4",
- "jakub-onderka/php-console-highlighter": "0.3.*",
+ "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*",
"php": "^7.1",
"symfony/console": "~2.8|~3.3|~4.0"
},
"require-dev": {
"laravel/framework": "5.7.*",
+ "nunomaduro/larastan": "^0.3.0",
"phpstan/phpstan": "^0.10",
"phpunit/phpunit": "~7.3"
},
@@ -5680,7 +6158,7 @@
"php",
"symfony"
],
- "time": "2018-10-03T20:01:54+00:00"
+ "time": "2018-11-21T21:40:54+00:00"
},
{
"name": "phar-io/manifest",
@@ -6001,16 +6479,16 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "6.0.8",
+ "version": "6.1.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "848f78b3309780fef7ec8c4666b7ab4e6b09b22f"
+ "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/848f78b3309780fef7ec8c4666b7ab4e6b09b22f",
- "reference": "848f78b3309780fef7ec8c4666b7ab4e6b09b22f",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
+ "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
"shasum": ""
},
"require": {
@@ -6021,7 +6499,7 @@
"phpunit/php-text-template": "^1.2.1",
"phpunit/php-token-stream": "^3.0",
"sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.1",
+ "sebastian/environment": "^3.1 || ^4.0",
"sebastian/version": "^2.0.1",
"theseer/tokenizer": "^1.1"
},
@@ -6034,7 +6512,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.0-dev"
+ "dev-master": "6.1-dev"
}
},
"autoload": {
@@ -6060,7 +6538,7 @@
"testing",
"xunit"
],
- "time": "2018-10-04T03:41:23+00:00"
+ "time": "2018-10-31T16:06:48+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -6204,16 +6682,16 @@
},
{
"name": "phpunit/php-token-stream",
- "version": "3.0.0",
+ "version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace"
+ "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/21ad88bbba7c3d93530d93994e0a33cd45f02ace",
- "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/c99e3be9d3e85f60646f152f9002d46ed7770d18",
+ "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18",
"shasum": ""
},
"require": {
@@ -6249,20 +6727,20 @@
"keywords": [
"tokenizer"
],
- "time": "2018-02-01T13:16:43+00:00"
+ "time": "2018-10-30T05:52:18+00:00"
},
{
"name": "phpunit/phpunit",
- "version": "7.4.0",
+ "version": "7.5.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "f3837fa1e07758057ae06e8ddec6d06ba183f126"
+ "reference": "7c89093bd00f7d5ddf0ab81dee04f801416b4944"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/f3837fa1e07758057ae06e8ddec6d06ba183f126",
- "reference": "f3837fa1e07758057ae06e8ddec6d06ba183f126",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/7c89093bd00f7d5ddf0ab81dee04f801416b4944",
+ "reference": "7c89093bd00f7d5ddf0ab81dee04f801416b4944",
"shasum": ""
},
"require": {
@@ -6283,7 +6761,7 @@
"phpunit/php-timer": "^2.0",
"sebastian/comparator": "^3.0",
"sebastian/diff": "^3.0",
- "sebastian/environment": "^3.1",
+ "sebastian/environment": "^4.0",
"sebastian/exporter": "^3.1",
"sebastian/global-state": "^2.0",
"sebastian/object-enumerator": "^3.0.3",
@@ -6307,7 +6785,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "7.4-dev"
+ "dev-master": "7.5-dev"
}
},
"autoload": {
@@ -6333,7 +6811,7 @@
"testing",
"xunit"
],
- "time": "2018-10-05T04:05:24+00:00"
+ "time": "2019-01-15T08:19:08+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -6502,28 +6980,28 @@
},
{
"name": "sebastian/environment",
- "version": "3.1.0",
+ "version": "4.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5"
+ "reference": "febd209a219cea7b56ad799b30ebbea34b71eb8f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
- "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/febd209a219cea7b56ad799b30ebbea34b71eb8f",
+ "reference": "febd209a219cea7b56ad799b30ebbea34b71eb8f",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": "^7.1"
},
"require-dev": {
- "phpunit/phpunit": "^6.1"
+ "phpunit/phpunit": "^7.4"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.1.x-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -6548,7 +7026,7 @@
"environment",
"hhvm"
],
- "time": "2017-07-01T08:51:00+00:00"
+ "time": "2018-11-25T09:31:21+00:00"
},
{
"name": "sebastian/exporter",
@@ -6943,16 +7421,16 @@
},
{
"name": "symfony/yaml",
- "version": "v4.1.6",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9"
+ "reference": "d0aa6c0ea484087927b49fd513383a7d36190ca6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/367e689b2fdc19965be435337b50bc8adf2746c9",
- "reference": "367e689b2fdc19965be435337b50bc8adf2746c9",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/d0aa6c0ea484087927b49fd513383a7d36190ca6",
+ "reference": "d0aa6c0ea484087927b49fd513383a7d36190ca6",
"shasum": ""
},
"require": {
@@ -6971,7 +7449,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.1-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -6998,7 +7476,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
- "time": "2018-10-02T16:36:10+00:00"
+ "time": "2019-01-03T09:07:35+00:00"
},
{
"name": "theseer/tokenizer",
@@ -7042,20 +7520,21 @@
},
{
"name": "webmozart/assert",
- "version": "1.3.0",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/webmozart/assert.git",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a"
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a",
- "reference": "0df1908962e7a3071564e857d86874dad1ef204a",
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
+ "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0"
+ "php": "^5.3.3 || ^7.0",
+ "symfony/polyfill-ctype": "^1.8"
},
"require-dev": {
"phpunit/phpunit": "^4.6",
@@ -7088,7 +7567,7 @@
"check",
"validate"
],
- "time": "2018-01-29T19:49:41+00:00"
+ "time": "2018-12-25T11:19:39+00:00"
}
],
"aliases": [],
diff --git a/resources/views/templates/note.blade.php b/resources/views/templates/note.blade.php
index e01c730a..e2404a3e 100644
--- a/resources/views/templates/note.blade.php
+++ b/resources/views/templates/note.blade.php
@@ -15,12 +15,11 @@
@if($media->type == 'download') Download the attached media
@endif
@endforeach
-@if($note->twitter_content) @endif
-@if($note->facebook_content)
- {!! $note->facebook_content !!}
-
@endif
+@php
+try {
+ echo '';
+} catch (App\Exceptions\TwitterContentException $exception) {}
+@endphp
+HTML;
+ $mock = new MockHandler([
+ new Response(200, [], $html),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $note = Note::find(14);
+ $source = 'https://example.org/reply/1';
+ $webmention = new WebMention();
+ $webmention->source = $source;
+ $webmention->target = config('app.url') . '/notes/E';
+ $webmention->type = 'like-of';
+ $webmention->save();
+
+ $this->assertDatabaseHas('webmentions', [
+ 'source' => $source,
+ ]);
+
+ $job = new ProcessWebMention($note, $source);
+ $job->handle($parser, $client);
+
+ $this->assertDatabaseMissing('webmentions', [
+ 'source' => $source,
+ ]);
+ }
+
+ public function test_webmention_repost_gets_deleted()
+ {
+ $parser = new Parser();
+
+ $html = <<
+ In reply to a note
+ Reposting someone else
+
+HTML;
+ $mock = new MockHandler([
+ new Response(200, [], $html),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $note = Note::find(14);
+ $source = 'https://example.org/reply/1';
+ $webmention = new WebMention();
+ $webmention->source = $source;
+ $webmention->target = config('app.url') . '/notes/E';
+ $webmention->type = 'repost-of';
+ $webmention->save();
+
+ $this->assertDatabaseHas('webmentions', [
+ 'source' => $source,
+ ]);
+
+ $job = new ProcessWebMention($note, $source);
+ $job->handle($parser, $client);
+
+ $this->assertDatabaseMissing('webmentions', [
+ 'source' => $source,
+ ]);
+ }
}
diff --git a/tests/Unit/LikesTest.php b/tests/Unit/LikesTest.php
index 75294244..fa601709 100644
--- a/tests/Unit/LikesTest.php
+++ b/tests/Unit/LikesTest.php
@@ -4,13 +4,49 @@ namespace Tests\Unit;
use Tests\TestCase;
use App\Models\Like;
+use Illuminate\Foundation\Testing\DatabaseTransactions;
class LikesTest extends TestCase
{
+ use DatabaseTransactions;
+
public function test_setting_author_url()
{
$like = new Like();
$like->author_url = 'https://joe.bloggs/';
$this->assertEquals('https://joe.bloggs', $like->author_url);
}
+
+ public function test_plaintext_like_content()
+ {
+ $like = new Like();
+ $like->url = 'https://example.org/post/123';
+ $like->content = 'some plaintext content';
+ $like->save();
+
+ $this->assertEquals('some plaintext content', $like->content);
+ }
+
+ public function test_html_like_content_is_filtered()
+ {
+ $htmlEvil = <<
+
+
Hello
+
;)
+
+
+HTML;
+ $htmlFiltered = <<Hello
+HTML;
+ $like = new Like();
+ $like->url = 'https://example.org/post/123';
+ $like->content = $htmlEvil;
+ $like->save();
+
+ // HTMLPurifer will leave the whitespace before the
tag
+ // trim it, saving whitespace in $htmlFilteres can get removed by text editors
+ $this->assertEquals($htmlFiltered, trim($like->content));
+ }
}
diff --git a/tests/Unit/MediaTest.php b/tests/Unit/MediaTest.php
index 6adc3b88..268068d0 100644
--- a/tests/Unit/MediaTest.php
+++ b/tests/Unit/MediaTest.php
@@ -13,4 +13,13 @@ class MediaTest extends TestCase
$note = $media->note;
$this->assertInstanceOf('App\Models\Note', $note);
}
+
+ public function test_media_absolute_url_returned_unmodified()
+ {
+ $absoluteUrl = 'https://instagram-cdn.com/image/uuid';
+ $media = new Media();
+ $media->path = $absoluteUrl;
+
+ $this->assertEquals($absoluteUrl, $media->url);
+ }
}
diff --git a/tests/Unit/NotesTest.php b/tests/Unit/NotesTest.php
index 630516e0..c472c640 100644
--- a/tests/Unit/NotesTest.php
+++ b/tests/Unit/NotesTest.php
@@ -3,11 +3,18 @@
namespace Tests\Unit;
use Tests\TestCase;
-use App\Models\{Note, Tag};
+use GuzzleHttp\Client;
+use GuzzleHttp\HandlerStack;
+use GuzzleHttp\Psr7\Response;
+use App\Models\{Media, Note, Tag};
+use GuzzleHttp\Handler\MockHandler;
use Thujohn\Twitter\Facades\Twitter;
+use Illuminate\Foundation\Testing\DatabaseTransactions;
class NotesTest extends TestCase
{
+ use DatabaseTransactions;
+
/**
* Test the getNoteAttribute method. This will then also call the
* relevant sub-methods.
@@ -96,4 +103,190 @@ class NotesTest extends TestCase
'tag_id' => $tag->id,
]);
}
+
+ /** @test */
+ public function blank_note_should_be_saved_as_null()
+ {
+ $note = new Note(['note' => '']);
+
+ $this->assertNull($note->note);
+ }
+
+ /** @test */
+ public function reverse_geocode_an_attraction()
+ {
+ $json = << 'application/json'], $json),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $this->app->instance(Client::class, $client);
+
+ $note = new Note();
+ $address = $note->reverseGeoCode(51.50084, -0.14264);
+
+ $this->assertEquals('Victoria, London, UK', $address);
+ }
+
+ /** @test */
+ public function reverse_geocode_a_suburb()
+ {
+ $json = << 'application/json'], $json),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $this->app->instance(Client::class, $client);
+
+ $note = new Note();
+ $address = $note->reverseGeoCode(51.02, 0.91);
+
+ $this->assertEquals('Newchurch, Shepway, UK', $address);
+ }
+
+ /** @test */
+ public function reverse_geocode_a_city()
+ {
+ // Note I’ve modified this JSON response so it only contains the
+ // city the Uni is in
+ $json = << 'application/json'], $json),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $this->app->instance(Client::class, $client);
+
+ $note = new Note();
+ $address = $note->reverseGeoCode(53.466277988406, -2.2304474827445);
+
+ $this->assertEquals('Manchester, UK', $address);
+ }
+
+ /** @test */
+ public function reverse_geocode_a_county()
+ {
+ // Note I’ve removed everything below county to test for querires where
+ // that’s all that is returned
+ $json = << 'application/json'], $json),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $this->app->instance(Client::class, $client);
+
+ $note = new Note();
+ $address = $note->reverseGeoCode(51.1, 0.61);
+
+ $this->assertEquals('Kent, UK', $address);
+ }
+
+ /** @test */
+ public function reverse_geocode_a_country()
+ {
+ // Note I’ve removed everything below country to test for querires where
+ // that’s all that is returned
+ $json = << 'application/json'], $json),
+ ]);
+ $handler = HandlerStack::create($mock);
+ $client = new Client(['handler' => $handler]);
+
+ $this->app->instance(Client::class, $client);
+
+ $note = new Note();
+ $address = $note->reverseGeoCode(54.3, 9.4);
+
+ $this->assertEquals('Ireland', $address);
+ }
+
+ /** @test */
+ public function add_image_element_to_note_content()
+ {
+ $media = new Media([
+ 'type' => 'image',
+ 'path' => 'test.png']
+ );
+ $media->save();
+ $note = new Note(['note' => 'A nice image']);
+ $note->save();
+ $note->media()->save($media);
+
+ $expected = "A nice image
+
";
+ $this->assertEquals($expected, $note->content);
+ }
+
+ /** @test */
+ public function add_video_element_to_note_content()
+ {
+ $media = new Media([
+ 'type' => 'video',
+ 'path' => 'test.mkv']
+ );
+ $media->save();
+ $note = new Note(['note' => 'A nice video']);
+ $note->save();
+ $note->media()->save($media);
+
+ $expected = "A nice video
+