diff --git a/.gitignore b/.gitignore index 61f119bd3f00b990538a40afcb1ce0a13eec47cf..434b32619656665248a86f708fb75d617da512f6 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ app/env .php_cs.cache .DS_Store __MAC +.vscode/ tests/_data tests/_output diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 9602c7df3f7fb0ca911bafe1d530ae639d835408..0000000000000000000000000000000000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,95 +0,0 @@ -before_script: - - '[[ -d /srv/soutien/ ]] || mkdir -p /srv/soutien/' - - 'which git || (apt-get update -yq && apt-get install git -yqq)' -stages: - - test - - cleanup_test - - deploy - -job test: - stage: test - variables: - GIT_SUBMODULE_STRATEGY: normal - SQL_HOST: "localhost" - SQL_PORT: "3306" - SQL_DATABASE: "test_$CI_BUILD_REF" - SQL_USER: "soutien" - SQL_PASSWORD: "soutien" - PHINX_PASSWORD: "$SQL_PASSWORD" - PHINX_USER: "$SQL_USER" - PHINX_DATABASE: "test_$CI_BUILD_REF" - PHINX_HOST: "$SQL_HOST" - PHINX_PORT: "$SQL_PORT" - SYSADMIN: "gitlab@email.com" - FDNNURL1: "https://secure.fd2n.org/fd2n/cb" - FDNNURL2: "https://secure.fdn2.org/fdn2/don" - BASE_DOMAIN: "dev.laquadrature.net" - SITE_ID: "XXXXXXXX" - CERTIFICATE: "XXXXXXXXXXXXXXXXXXXXXXXXx" - CTX_MODE: "TEST" - PIPLOME_PATH: "/var/www/site/pdf/" - PIPLOME_URL: "https://www.laquadrature.net/pdf/" - CAMPAIGN_START_DATE: "2016-11-10" - CAMPAIGN_BUDGET: "321000" - LOGS: "./" - SMTP_HOST: "smtp.example.com" - SMTP_PORT: "25" - SMTP_SECURITY: "none" - SMTP_USER: "user" - SMTP_PW: "password" - DEBUG: "0" - ENV: "test" - script: - - echo "SQL_PASSWORD=${SQL_PASSWORD}" > app/env - - echo "SQL_USER=${SQL_USER}" >> app/env - - echo "SQL_DATABASE=${SQL_DATABASE}" >> app/env - - make install - - make server-start - - make -k test - - make server-stop - - mysql -u $SQL_USER -p$SQL_PASSWORD -e "DROP DATABASE $SQL_DATABASE" - tags: - - preprod - -cleanup test: - stage: cleanup_test - variables: - SQL_DATABASE: "test_$CI_BUILD_REF" - SQL_USER: "soutien" - SQL_PASSWORD: "soutien" - script: - - make server-stop - - mysql -u $SQL_USER -p$SQL_PASSWORD -e "DROP DATABASE $SQL_DATABASE" - when: on_failure - tags: - - preprod - -job install: - stage: deploy - environment: preprod - variables: - PHINX_ENVIRONMENT: "development" - PROD_HOME: "/home/don/don/" - script: - - chmod a+x ci/install.sh - - ./ci/install.sh - stage: deploy - tags: - - preprod - only: - - preprod - -job deploy: - stage: deploy - environment: production - variables: - PHINX_ENVIRONMENT: "production" - PROD_HOME: "/home/don/don/" - script: - - chmod a+x ci/install.sh - - ./ci/install.sh - stage: deploy - tags: - - prod - only: - - master diff --git a/README.md b/README.md index 8166eef1709d7536dbd52436836bd80d5b6a23fc..f911807dbdd0a01de51b6899432021d2b0315105 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ and for developers you may also need : This software uses: -* **PHP7.3** currently +* **PHP7.3** * **phinx** to inject database schema and initial data / accounts into MySQL see https://phinx.org/ * **php-cs-fixer** to check php code for errors and fix coding standard issues, see https://github.com/FriendsOfPHP/PHP-CS-Fixer * **doctrine/dbal** as ORM see https://github.com/doctrine/dbal @@ -63,7 +63,8 @@ Nginx configuration sample: ``` location ~ \.php$ { include fastcgi_params; - fastcgi_pass unix:/run/php5.sock; + fastcgi_read_timeout 1d; #avoid timeout when importing bank data + fastcgi_pass unix:/run/php7.3.sock; } location / { # try to serve file directly, fallback to index.php diff --git a/app/controller/admin.php b/app/controller/admin.php index c62c3becf6133ed92a43f4c3233eed75b10dc586..528efaeb8c3d6a6b5f0a318e2db9ba6e390af2de 100644 --- a/app/controller/admin.php +++ b/app/controller/admin.php @@ -14,6 +14,7 @@ use LQDN\Command\UserCreateCommand; use LQDN\Command\UserUpdateCumulCommand; use LQDN\Command\AdminUpdateParentCommand; use LQDN\Command\AdminUpdateTotalUsersCommand; +use LQDN\Exception\InvalidEmailException; class Admin extends Controller { @@ -34,6 +35,7 @@ class Admin extends Controller 100 => "Récurrent non validé", 101 => "Récurrent validé", 102 => "Récurrent remis", + //! 103 => "Refusé" )); $f3->set('CT_STATUTS', array( @@ -50,7 +52,7 @@ class Admin extends Controller 99 => "résilié", 100 => "non applicable", )); - + $f3->set('TAILLES', array( 0 => _('PlaceHolder -- ne pas utiliser') . ' S', 1 => _('Coupe Homme, Taille') . ' S', @@ -351,7 +353,7 @@ class Admin extends Controller SET somme='".\Utils::asl($somme)."', lang='".\Utils::asl($lang)."', abo='".\Utils::asl($abo)."', - public='".\Utils::asl($public)."', + public='".\Utils::asl($public)."', adresse_id='".$result['adresse_id']."' WHERE id='".\Utils::asl($_POST['id'])."'"); } @@ -828,9 +830,9 @@ class Admin extends Controller $result = $db->query("SELECT d.id AS id, d.pdf AS pdf, a.nom AS nom - FROM dons d + FROM dons d INNER JOIN adresses a ON d.adresse_id = a.id - WHERE pdf<>'' + WHERE pdf<>'' AND d.status IN (1,4,101) AND d.user_id='".$contrepartie['user_id']."'"); if ($result) { @@ -1163,12 +1165,12 @@ class Admin extends Controller break; case 'update': if ($f3->get('POST.test')=='1') { - $datas = $this->banque_update($f3, $_FILES['file']['tmp_name']); - $result = $datas['update'] . " dons récurrents mis à jour sur un total de ". $datas['total']." dons récurrents."; + $datas = $this->banque_update($f3, $_FILES['file']); + $result = $datas['update'] . " dons récurrents mis à jour sur un total de ". $datas['total']." dons récurrents (fichier : \"" . htmlentities($_FILES['file']['name']) . "\")."; $message = "Il s'agit d'un <b>test</b><br />"; } else { - $datas = $this->banque_update($f3, $_FILES['file']['tmp_name'], false); - $result = $datas['update'] . " dons récurrents mis à jour sur un total de ". $datas['total']." dons récurrents."; + $datas = $this->banque_update($f3, $_FILES['file'], false); + $result = $datas['update'] . " dons récurrents mis à jour sur un total de ". $datas['total']." dons récurrents (fichier : \"" . htmlentities($_FILES['file']['name']) . "\")."; } if (count($datas['comptabilise'])>0 or count($datas['sans_cumul'])>0) { $error = count($datas['comptabilise']) . " dons récurrents déjà comptabilisés et ". count($datas['sans_cumul'])." dons récurrents sans cumul."; @@ -1374,8 +1376,12 @@ class Admin extends Controller return $datas; } - public function banque_update($f3, $filename, $testing=true) + public function banque_update($f3, $file, $testing=true) { + $log = new \Log('/banque_update.log'); + $log->write('Processing recurrent donations on file "' . $file['name'] . '" (testing: ' . ($testing ? 'true' : 'false') . ')'); + $filename = $file['tmp_name']; + $separator = ";"; $datas = array(); $update = 0; @@ -1412,7 +1418,7 @@ class Admin extends Controller } // On lit maintenant tout, ligne par ligne, afin de vérifier les informations bancaires pour chaque don. - while (($data = fgetcsv($handle, 1000, $separator)) !== false) { + while (($data = fgetcsv($handle, 10000, $separator)) !== false) { if (count($data) <= 0) { continue; } @@ -1425,6 +1431,7 @@ class Admin extends Controller if ($identifier && $transaction && $effect && $amount && $statut == false) { continue; } + //! "Refusé" status seems not be present in csv, is this really used? if ($statut == 'Refusé' and !$testing) { $db->query("UPDATE dons SET status = 103 WHERE id='".$transaction."'"); continue; @@ -1435,6 +1442,8 @@ class Admin extends Controller $total ++; $email = ''; $time_struct = strptime($effect, "%d/%m/%Y %H:%M:%S"); + //! XXX WHY? month + 1 can make sense, but hour (always 00) + 1 or year (2020) + 1900 does not + //! what is the rationale, is this the next due date? $new_effect = strftime("%Y-%m-%d %H:%M:%S", mktime( $time_struct['tm_hour']+1, $time_struct['tm_min'], @@ -1465,7 +1474,8 @@ class Admin extends Controller if ($user and !$testing) { $db->query("INSERT INTO identifiers(user_id, identifier) VALUES ('".$user['id']."', '".$identifier."')"); $email = $user['email']; - } else { + } elseif (!$testing) { + $log->write('Cannot find user for transaction id ' . $identifier . ', creating it...'); // No user, let's try to create the user $email = ''; $pseudo = ''; @@ -1476,16 +1486,22 @@ class Admin extends Controller $email = $user_field . "@example.org"; $pseudo = $user_field; } + //! hash seems to identify one email at one time $hash = hash('sha256', date("%Y-%m-%d %H:%i:%d").$email); - if (!$testing) { + $log->write('Insert user: email "'.$email.'" pseudo "'.$pseudo.'" identifier "'.$identifier.'"'); + try { $f3->get('container')['command_handler']->handle(new UserCreateCommand($email, $hash, $pseudo, 0, 0)); - }; + } catch (InvalidEmailException $e) { // \Exception + $log->write("exception: ".$e); + throw $e; + } } } else { $email = $result->fetch(\PDO::FETCH_ASSOC); $email = $email['email']; // On stocke l'email pour comptabiliser les dons } + //! Counting email duplicates if (array_key_exists($email, $emails)) { $emails[$email] ++; } else { @@ -1494,6 +1510,7 @@ class Admin extends Controller // On a besoin de l'utilisateur $user = $f3->get('container')['user_finder']->findByEmail($email); // Récupération de l'id du bon abonnement + //! look for a validated donation, see if the recurrent donation is already scheduled $stmt = $db->query("SELECT d.id AS id FROM dons d JOIN users u ON u.id = d.user_id @@ -1503,10 +1520,13 @@ class Admin extends Controller $result = $stmt->fetch(\PDO::FETCH_ASSOC); if (!$result) { if ($testing) { + //! XXX WTF random transaction id! $cumul = rand(50000, 70000); } else { // don non trouvé en statut 101. On le crée (la banque à raison) // statut = cumul + //! FIXME bad naming cumul for transactions + //! It means that don.cumul is the id of parent transaction with 101 status $f3->get('container')['command_handler'] ->handle(new DonationCreateCommand( $user['id'], @@ -1532,10 +1552,12 @@ class Admin extends Controller AND d.datec='".$new_effect."' AND d.cumul=".$cumul." "); + //! Does not sound like a good idea to match on a creation date... if ($result) { $combien = $result->fetch(); if ($combien[0]==0) { $update ++; + $log->write('Insert don: user_id "'.$user['id'].'" identifier "'.$identifier.'" new effect "'.$new_effect.'" parent "'.$cumul.'"'); // Don récurrent non comptabilisé, on l'ajoute if (!$testing) { $query = "INSERT INTO dons (status, @@ -1551,8 +1573,6 @@ class Admin extends Controller '".$user['id']."', '".$cumul."', '".$identifier."')"; - } - if (!$testing) { $db->query($query); // On met alors à jour le cumul et le total de l'utilisateur concerné $result = $db->query("UPDATE users @@ -1568,10 +1588,11 @@ class Admin extends Controller } fclose($handle); } - $datas['update'] = $update; - $datas['total'] = $total; - $datas['comptabilise'] = $comptabilise; - $datas['sans_cumul'] = $sans_cumul; + $datas['total'] = $total; //! all recurrent transactions (validées + remisées) + $datas['update'] = $update; //! recurrent transactions remisées just added + $datas['comptabilise'] = $comptabilise; //! recurrent transactions remisées already added + $datas['sans_cumul'] = $sans_cumul; //! empty + $log->write('Processing recurrent donations finished on file "' . $file['name'] . '"'); return $datas; } diff --git a/app/controller/bank.php b/app/controller/bank.php index 1c14e70454f00116aec639302f7b572d2e09e688..5005462cffd191cdbc127d07b4f1ad306c43b1a8 100644 --- a/app/controller/bank.php +++ b/app/controller/bank.php @@ -155,6 +155,7 @@ class Bank extends Controller $user = $f3->get('container')['user_finder']->findById($don['user_id']); $cb_log->write("Utilisation d'un utilisateur existant"); + //! FIXME What if user not found? Must check it // Ajout du nouveau don au cumul actuel if ($status!=101) { $cb_log->write("Ajout de ".$don['somme']); diff --git a/app/controller/campaign.php b/app/controller/campaign.php index 627a79a3275eb73c05ebe92c266b489e967b2477..937787ee2c42082a2d79ad31430a486b8351b253 100644 --- a/app/controller/campaign.php +++ b/app/controller/campaign.php @@ -162,7 +162,7 @@ class Campaign extends Controller "vads_action_mode" => "INTERACTIVE", "vads_ctx_mode" => CTX_MODE, // Autres codes possibles (page 16) - "vads_trans_id" => str_repeat("0", 6-strlen($id)).$id, + "vads_trans_id" => str_repeat("0", 6-strlen($id)).$id, // fill left zeros to have length 6 "vads_version" => "V2", // Champs facultatifs "vads_language" => $f3->get('lang'), diff --git a/app/controller/controller.php b/app/controller/controller.php index 5074a622f48cf795080df53bd064fa56b5522a4c..e9d92e3eee1ebd9280b788ab9ebba851e3629908 100644 --- a/app/controller/controller.php +++ b/app/controller/controller.php @@ -58,7 +58,11 @@ class Controller putenv("LANGUAGE=".$lang); if (!setlocale(LC_ALL, $lang)) { - echo "<!-- setlocale $lang failed -->"; + // try the UTF8 version + putenv("LC_MESSAGES=".$lang.".utf8"); + putenv("LANG=".$lang.".utf8"); + putenv("LANGUAGE=".$lang.".utf8"); + if (!setlocale(LC_ALL, $lang.".utf8")) echo "<!-- setlocale $lang failed -->"; } if (!textdomain("messages")) { diff --git a/app/view/backend/banque.html b/app/view/backend/banque.html index 8e65c0a988432d23aea7219fa7a8ae068d5963f1..4783c7ee40ff5d94d5bc2d07c70188b592f1b003 100644 --- a/app/view/backend/banque.html +++ b/app/view/backend/banque.html @@ -2,8 +2,8 @@ <h2>Gestion banque</h2> <check if="{{@result}}"><p class="result">{{@result | raw}}</p></check> -<check if="{{@SESSION.error}}"><message messages="{{@SESSION.error}}" class="alert alert-danger"/></check> -<check if="{{@SESSION.message}}"><message messages="{{@SESSION.message}}" class="alert alert-danger" /></p></check> +<check if="{{@SESSION.error}}"><message messages="{{@SESSION.error| raw }}" class="alert alert-danger"/></check> +<check if="{{@SESSION.message}}"><message messages="{{@SESSION.message| raw }}" class="alert alert-danger" /></p></check> <section id="cbs"> <h3 >Mise à jour des dates d'expiration des CB</h3> diff --git a/ci/install.sh b/ci/install.sh index 65cf3fc9536e3359ac509e75326bc830881e51fe..8c3f45c578b3805ee08344827968a2cd3202e972 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -22,6 +22,8 @@ git submodule update composer install --no-dev composer update +rm tmp/*.php + # Let's run the migrations if [ -e "$HOME/phinx.yml" ] then diff --git a/composer.json b/composer.json index 35b1e7592d78140d10e29a5acb380ef4a2777b2a..725a3d02d96ee6409a5829d0f9c400e7336dea14 100644 --- a/composer.json +++ b/composer.json @@ -2,17 +2,17 @@ "name": "lqdn/soutien", "description": "Site de soutien LQDN", "require": { - "bcosca/fatfree": "^3.5", - "robmorgan/phinx": "^0.10.0", - "vlucas/phpdotenv": "^2.4", + "bcosca/fatfree": "^3.7.2", + "robmorgan/phinx": "^0.10.8", + "vlucas/phpdotenv": "^v2.6.6", "pimple/pimple": "^3.0", "doctrine/dbal": "^2.5", - "symfony/http-foundation": "^3.2", - "sentry/sentry": "^1.9" + "symfony/http-foundation": "^3.4.46", + "sentry/sentry": "^1.11.0" }, "require-dev": { - "codeception/codeception": "^2.2", - "friendsofphp/php-cs-fixer": "^2.1" + "codeception/codeception": "^2.5.6", + "friendsofphp/php-cs-fixer": "^2.16.5" }, "autoload": { "psr-4": { @@ -27,7 +27,7 @@ "config": { "preferred-install": "dist", "platform": { - "php": "5.6.27" + "php": "7.3.0" } } } diff --git a/composer.lock b/composer.lock index cc08fb98f00e11caff2f906cda73fcde2addd2f3..d265d0ec61acb471fdd8275f38f84de700295565 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": "598125773d9149c838a4286d49e2b029", + "content-hash": "fb8f251d5cea69faf768853f17539aae", "packages": [ { "name": "bcosca/fatfree", - "version": "3.6.4", + "version": "3.7.2", "source": { "type": "git", "url": "https://github.com/bcosca/fatfree.git", - "reference": "dee4d73918a42076d5ac7db64d6d39706c7f328a" + "reference": "b51905e89d2bf970b34c4fbb37879eeb1572e76c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bcosca/fatfree/zipball/dee4d73918a42076d5ac7db64d6d39706c7f328a", - "reference": "dee4d73918a42076d5ac7db64d6d39706c7f328a", + "url": "https://api.github.com/repos/bcosca/fatfree/zipball/b51905e89d2bf970b34c4fbb37879eeb1572e76c", + "reference": "b51905e89d2bf970b34c4fbb37879eeb1572e76c", "shasum": "" }, "require": { @@ -35,25 +35,26 @@ ], "description": "A powerful yet easy-to-use PHP micro-framework designed to help you build dynamic and robust Web applications - fast!", "homepage": "http://fatfreeframework.com/", - "time": "2018-04-19T17:23:25+00:00" + "time": "2020-05-28T16:20:24+00:00" }, { "name": "cakephp/cache", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/cache.git", - "reference": "5941977c584843b9ddb32ec864a9483fbef88d52" + "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/cache/zipball/5941977c584843b9ddb32ec864a9483fbef88d52", - "reference": "5941977c584843b9ddb32ec864a9483fbef88d52", + "url": "https://api.github.com/repos/cakephp/cache/zipball/e8ec4e77fb288adda318e08053f5f540870aeb9d", + "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d", "shasum": "" }, "require": { "cakephp/core": "^3.6.0", - "php": ">=5.6.0" + "php": ">=5.6.0", + "psr/simple-cache": "^1.0.0" }, "type": "library", "autoload": { @@ -78,20 +79,20 @@ "caching", "cakephp" ], - "time": "2018-09-01T17:00:52+00:00" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/collection", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/collection.git", - "reference": "c5b3a3561eb92a5c25ffcc90ad3a1f193962065f" + "reference": "ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/collection/zipball/c5b3a3561eb92a5c25ffcc90ad3a1f193962065f", - "reference": "c5b3a3561eb92a5c25ffcc90ad3a1f193962065f", + "url": "https://api.github.com/repos/cakephp/collection/zipball/ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3", + "reference": "ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3", "shasum": "" }, "require": { @@ -124,20 +125,20 @@ "collections", "iterators" ], - "time": "2018-07-26T19:56:06+00:00" + "time": "2020-07-05T02:00:29+00:00" }, { "name": "cakephp/core", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/core.git", - "reference": "82741aeb90ca2fbbf9fbbd507d56d53b081db237" + "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/core/zipball/82741aeb90ca2fbbf9fbbd507d56d53b081db237", - "reference": "82741aeb90ca2fbbf9fbbd507d56d53b081db237", + "url": "https://api.github.com/repos/cakephp/core/zipball/76b9450dc68c81f93bca7827cfbb42a53a5f7737", + "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737", "shasum": "" }, "require": { @@ -145,6 +146,7 @@ "php": ">=5.6.0" }, "suggest": { + "cakephp/cache": "To use Configure::store() and restore().", "cakephp/event": "To use PluginApplicationInterface or plugin applications." }, "type": "library", @@ -173,31 +175,29 @@ "core", "framework" ], - "time": "2018-07-26T19:56:06+00:00" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/database", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/database.git", - "reference": "1494d12bc2b42cb1e844936cbbdd686a5e36235d" + "reference": "6f4cd60f53e8b6559cc6782ff288cc6d2b8fe1d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/database/zipball/1494d12bc2b42cb1e844936cbbdd686a5e36235d", - "reference": "1494d12bc2b42cb1e844936cbbdd686a5e36235d", + "url": "https://api.github.com/repos/cakephp/database/zipball/6f4cd60f53e8b6559cc6782ff288cc6d2b8fe1d3", + "reference": "6f4cd60f53e8b6559cc6782ff288cc6d2b8fe1d3", "shasum": "" }, "require": { "cakephp/cache": "^3.6.0", "cakephp/core": "^3.6.0", "cakephp/datasource": "^3.6.0", + "cakephp/log": "^3.6.0", "php": ">=5.6.0" }, - "suggest": { - "cakephp/log": "Require this if you want to use the built-in query logger" - }, "type": "library", "autoload": { "psr-4": { @@ -223,20 +223,20 @@ "database abstraction", "pdo" ], - "time": "2018-09-28T10:56:48+00:00" + "time": "2020-10-04T00:34:57+00:00" }, { "name": "cakephp/datasource", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/datasource.git", - "reference": "44222238fa97e32d39e48bb2add4933ccffbd896" + "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/datasource/zipball/44222238fa97e32d39e48bb2add4933ccffbd896", - "reference": "44222238fa97e32d39e48bb2add4933ccffbd896", + "url": "https://api.github.com/repos/cakephp/datasource/zipball/ef310daf569dc11ef473a9ba0c52429025f672ec", + "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec", "shasum": "" }, "require": { @@ -273,20 +273,65 @@ "entity", "query" ], - "time": "2018-09-28T10:56:48+00:00" + "time": "2020-06-16T00:54:28+00:00" + }, + { + "name": "cakephp/log", + "version": "3.9.3", + "source": { + "type": "git", + "url": "https://github.com/cakephp/log.git", + "reference": "02940591797475c2d384af12432561204d6ecdf9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/log/zipball/02940591797475c2d384af12432561204d6ecdf9", + "reference": "02940591797475c2d384af12432561204d6ecdf9", + "shasum": "" + }, + "require": { + "cakephp/core": "^3.6.0", + "php": ">=5.6.0", + "psr/log": "^1.0.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Log\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/log/graphs/contributors" + } + ], + "description": "CakePHP logging library with support for multiple different streams", + "homepage": "https://cakephp.org", + "keywords": [ + "Streams", + "cakephp", + "log", + "logging" + ], + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/utility", - "version": "3.6.12", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/cakephp/utility.git", - "reference": "14b61586db830a84aedadd57be2825f40cc29e09" + "reference": "e655b399b7492e517caef52fb87af9db10543112" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/utility/zipball/14b61586db830a84aedadd57be2825f40cc29e09", - "reference": "14b61586db830a84aedadd57be2825f40cc29e09", + "url": "https://api.github.com/repos/cakephp/utility/zipball/e655b399b7492e517caef52fb87af9db10543112", + "reference": "e655b399b7492e517caef52fb87af9db10543112", "shasum": "" }, "require": { @@ -326,7 +371,7 @@ "string", "utility" ], - "time": "2018-09-05T00:44:03+00:00" + "time": "2020-08-18T13:55:20+00:00" }, { "name": "doctrine/annotations", @@ -746,21 +791,24 @@ }, { "name": "doctrine/lexer", - "version": "v1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" + "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", - "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8", + "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8", "shasum": "" }, "require": { "php": ">=5.3.2" }, + "require-dev": { + "phpunit/phpunit": "^4.5" + }, "type": "library", "extra": { "branch-alias": { @@ -768,8 +816,8 @@ } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Lexer\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" } }, "notification-url": "https://packagist.org/downloads/", @@ -790,26 +838,29 @@ "email": "schmittjoh@gmail.com" } ], - "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "http://www.doctrine-project.org", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ + "annotations", + "docblock", "lexer", - "parser" + "parser", + "php" ], - "time": "2014-09-09T13:34:57+00:00" + "time": "2019-06-08T11:03:04+00:00" }, { "name": "paragonie/random_compat", - "version": "v2.0.17", + "version": "v2.0.19", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d" + "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/29af24f25bab834fcbb38ad2a69fa93b867e070d", - "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/446fc9faa5c2a9ddf65eb7121c0af7e857295241", + "reference": "446fc9faa5c2a9ddf65eb7121c0af7e857295241", "shasum": "" }, "require": { @@ -845,7 +896,7 @@ "pseudorandom", "random" ], - "time": "2018-07-04T16:31:37+00:00" + "time": "2020-10-15T10:06:57+00:00" }, { "name": "pimple/pimple", @@ -948,16 +999,16 @@ }, { "name": "psr/log", - "version": "1.0.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" }, "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/0f73288fd15629204f9d42b7055f72dacbe811fc", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", "shasum": "" }, "require": { @@ -966,7 +1017,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -991,20 +1042,68 @@ "psr", "psr-3" ], - "time": "2016-10-10T12:19:37+00:00" + "time": "2020-03-23T09:12:05+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "time": "2017-10-23T01:57:42+00:00" }, { "name": "robmorgan/phinx", - "version": "0.10.6", + "version": "0.10.8", "source": { "type": "git", "url": "https://github.com/cakephp/phinx.git", - "reference": "f28a1c6ab1fa1f0295cddade9aea05eeb303bd2b" + "reference": "1960e93169707096fdfde04904a204970077f4be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/phinx/zipball/f28a1c6ab1fa1f0295cddade9aea05eeb303bd2b", - "reference": "f28a1c6ab1fa1f0295cddade9aea05eeb303bd2b", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/1960e93169707096fdfde04904a204970077f4be", + "reference": "1960e93169707096fdfde04904a204970077f4be", "shasum": "" }, "require": { @@ -1017,7 +1116,7 @@ }, "require-dev": { "cakephp/cakephp-codesniffer": "^3.0", - "phpunit/phpunit": ">=5.7", + "phpunit/phpunit": ">=5.7,<7.0", "sebastian/comparator": ">=1.2.3" }, "bin": [ @@ -1065,20 +1164,20 @@ "migrations", "phinx" ], - "time": "2018-08-12T17:22:43+00:00" + "time": "2019-07-08T16:59:55+00:00" }, { "name": "sentry/sentry", - "version": "1.9.2", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-php.git", - "reference": "6b4c80ee1f5d9d5ab5bae949f4eb5d758a0bf64b" + "reference": "159eeaa02bb2ef8a8ec669f3c88e4bff7e6a7ffe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/6b4c80ee1f5d9d5ab5bae949f4eb5d758a0bf64b", - "reference": "6b4c80ee1f5d9d5ab5bae949f4eb5d758a0bf64b", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/159eeaa02bb2ef8a8ec669f3c88e4bff7e6a7ffe", + "reference": "159eeaa02bb2ef8a8ec669f3c88e4bff7e6a7ffe", "shasum": "" }, "require": { @@ -1090,7 +1189,7 @@ }, "require-dev": { "friendsofphp/php-cs-fixer": "^1.8.0", - "monolog/monolog": "*", + "monolog/monolog": "^1.0", "phpunit/phpunit": "^4.8.35 || ^5.7" }, "suggest": { @@ -1105,7 +1204,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.10.x-dev" + "dev-master": "1.11.x-dev" } }, "autoload": { @@ -1129,20 +1228,20 @@ "log", "logging" ], - "time": "2018-08-18T19:41:03+00:00" + "time": "2020-02-12T18:38:11+00:00" }, { "name": "symfony/config", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "e5389132dc6320682de3643091121c048ff796b3" + "reference": "bc6b3fd3930d4b53a60b42fe2ed6fc466b75f03f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/e5389132dc6320682de3643091121c048ff796b3", - "reference": "e5389132dc6320682de3643091121c048ff796b3", + "url": "https://api.github.com/repos/symfony/config/zipball/bc6b3fd3930d4b53a60b42fe2ed6fc466b75f03f", + "reference": "bc6b3fd3930d4b53a60b42fe2ed6fc466b75f03f", "shasum": "" }, "require": { @@ -1164,11 +1263,6 @@ "symfony/yaml": "To use the yaml reference dumper" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Config\\": "" @@ -1193,20 +1287,34 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2018-09-08T13:15:14+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/console", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b" + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b", - "reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b", + "url": "https://api.github.com/repos/symfony/console/zipball/a10b1da6fc93080c180bba7219b5ff5b7518fe81", + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81", "shasum": "" }, "require": { @@ -1218,6 +1326,9 @@ "symfony/dependency-injection": "<3.4", "symfony/process": "<3.3" }, + "provide": { + "psr/log-implementation": "1.0" + }, "require-dev": { "psr/log": "~1.0", "symfony/config": "~3.3|~4.0", @@ -1227,17 +1338,12 @@ "symfony/process": "~3.3|~4.0" }, "suggest": { - "psr/log-implementation": "For using the console logger", + "psr/log": "For using the console logger", "symfony/event-dispatcher": "", "symfony/lock": "", "symfony/process": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Console\\": "" @@ -1262,20 +1368,34 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-10-02T16:33:53+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/debug", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6" + "reference": "ab42889de57fdfcfcc0759ab102e2fd4ea72dcae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/0a612e9dfbd2ccce03eb174365f31ecdca930ff6", - "reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6", + "url": "https://api.github.com/repos/symfony/debug/zipball/ab42889de57fdfcfcc0759ab102e2fd4ea72dcae", + "reference": "ab42889de57fdfcfcc0759ab102e2fd4ea72dcae", "shasum": "" }, "require": { @@ -1289,11 +1409,6 @@ "symfony/http-kernel": "~2.8|~3.0|~4.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Debug\\": "" @@ -1318,20 +1433,34 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-10-02T16:33:53+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/filesystem", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "d69930fc337d767607267d57c20a7403d0a822a4" + "reference": "e58d7841cddfed6e846829040dca2cca0ebbbbb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/d69930fc337d767607267d57c20a7403d0a822a4", - "reference": "d69930fc337d767607267d57c20a7403d0a822a4", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/e58d7841cddfed6e846829040dca2cca0ebbbbb3", + "reference": "e58d7841cddfed6e846829040dca2cca0ebbbbb3", "shasum": "" }, "require": { @@ -1339,11 +1468,6 @@ "symfony/polyfill-ctype": "~1.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Filesystem\\": "" @@ -1368,20 +1492,34 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2018-10-02T12:28:39+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/http-foundation", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "3a4498236ade473c52b92d509303e5fd1b211ab1" + "reference": "b9885fcce6fe494201da4f70a9309770e9d13dc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/3a4498236ade473c52b92d509303e5fd1b211ab1", - "reference": "3a4498236ade473c52b92d509303e5fd1b211ab1", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b9885fcce6fe494201da4f70a9309770e9d13dc8", + "reference": "b9885fcce6fe494201da4f70a9309770e9d13dc8", "shasum": "" }, "require": { @@ -1393,11 +1531,6 @@ "symfony/expression-language": "~2.8|~3.0|~4.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\HttpFoundation\\": "" @@ -1422,20 +1555,34 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-10-03T08:48:18+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.9.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "e3d826245268269cd66f8326bd8bc066687b4a19" + "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19", - "reference": "e3d826245268269cd66f8326bd8bc066687b4a19", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/aed596913b70fae57be53d86faa2e9ef85a2297b", + "reference": "aed596913b70fae57be53d86faa2e9ef85a2297b", "shasum": "" }, "require": { @@ -1447,7 +1594,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9-dev" + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -1463,13 +1614,13 @@ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - }, { "name": "Gert de Pagter", "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], "description": "Symfony polyfill for ctype functions", @@ -1480,20 +1631,34 @@ "polyfill", "portable" ], - "time": "2018-08-06T14:22:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T09:01:57+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.9.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8" + "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce" }, "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/b5f7b932ee6fa802fc792eabd77c4c88084517ce", + "reference": "b5f7b932ee6fa802fc792eabd77c4c88084517ce", "shasum": "" }, "require": { @@ -1505,7 +1670,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9-dev" + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -1539,20 +1708,34 @@ "portable", "shim" ], - "time": "2018-08-06T14:22:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T09:01:57+00:00" }, { "name": "symfony/polyfill-php70", - "version": "v1.9.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934" + "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/1e24b0c4a56d55aaf368763a06c6d1c7d3194934", - "reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/3fe414077251a81a1b15b1c709faf5c2fbae3d4e", + "reference": "3fe414077251a81a1b15b1c709faf5c2fbae3d4e", "shasum": "" }, "require": { @@ -1562,7 +1745,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9-dev" + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -1598,20 +1785,34 @@ "portable", "shim" ], - "time": "2018-08-06T14:22:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T09:01:57+00:00" }, { "name": "symfony/yaml", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f" + "reference": "88289caa3c166321883f67fe5130188ebbb47094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/640b6c27fed4066d64b64d5903a86043f4a4de7f", - "reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f", + "url": "https://api.github.com/repos/symfony/yaml/zipball/88289caa3c166321883f67fe5130188ebbb47094", + "reference": "88289caa3c166321883f67fe5130188ebbb47094", "shasum": "" }, "require": { @@ -1628,11 +1829,6 @@ "symfony/console": "For validating YAML files using the lint command" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Yaml\\": "" @@ -1657,32 +1853,53 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2018-10-02T16:33:53+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v2.5.1", + "version": "v2.6.6", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e" + "reference": "e1d57f62db3db00d9139078cbedf262280701479" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", - "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/e1d57f62db3db00d9139078cbedf262280701479", + "reference": "e1d57f62db3db00d9139078cbedf262280701479", "shasum": "" }, "require": { - "php": ">=5.3.9" + "php": "^5.3.9 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.17" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.0" + "ext-filter": "*", + "ext-pcre": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7.27" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator.", + "ext-pcre": "Required to use most of the library." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5-dev" + "dev-master": "2.6-dev" } }, "autoload": { @@ -1695,10 +1912,15 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "homepage": "https://gjcampbell.co.uk/" + }, { "name": "Vance Lucas", "email": "vance@vancelucas.com", - "homepage": "http://www.vancelucas.com" + "homepage": "https://vancelucas.com/" } ], "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", @@ -1707,22 +1929,32 @@ "env", "environment" ], - "time": "2018-07-29T20:33:41+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2020-07-14T17:54:18+00:00" } ], "packages-dev": [ { "name": "behat/gherkin", - "version": "v4.5.1", + "version": "v4.6.2", "source": { "type": "git", "url": "https://github.com/Behat/Gherkin.git", - "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a" + "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Behat/Gherkin/zipball/74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a", - "reference": "74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a", + "url": "https://api.github.com/repos/Behat/Gherkin/zipball/51ac4500c4dc30cbaaabcd2f25694299df666a31", + "reference": "51ac4500c4dc30cbaaabcd2f25694299df666a31", "shasum": "" }, "require": { @@ -1730,8 +1962,8 @@ }, "require-dev": { "phpunit/phpunit": "~4.5|~5", - "symfony/phpunit-bridge": "~2.7|~3", - "symfony/yaml": "~2.3|~3" + "symfony/phpunit-bridge": "~2.7|~3|~4", + "symfony/yaml": "~2.3|~3|~4" }, "suggest": { "symfony/yaml": "If you want to parse features, represented in YAML files" @@ -1768,20 +2000,20 @@ "gherkin", "parser" ], - "time": "2017-08-30T11:04:43+00:00" + "time": "2020-03-17T14:03:26+00:00" }, { "name": "codeception/codeception", - "version": "2.5.0", + "version": "2.5.6", "source": { "type": "git", "url": "https://github.com/Codeception/Codeception.git", - "reference": "dee493561daf644134c95cf176fd2c25aff59ea9" + "reference": "b83a9338296e706fab2ceb49de8a352fbca3dc98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/Codeception/zipball/dee493561daf644134c95cf176fd2c25aff59ea9", - "reference": "dee493561daf644134c95cf176fd2c25aff59ea9", + "url": "https://api.github.com/repos/Codeception/Codeception/zipball/b83a9338296e706fab2ceb49de8a352fbca3dc98", + "reference": "b83a9338296e706fab2ceb49de8a352fbca3dc98", "shasum": "" }, "require": { @@ -1813,7 +2045,7 @@ "predis/predis": "^1.0", "squizlabs/php_codesniffer": "~2.0", "symfony/process": ">=2.7 <5.0", - "vlucas/phpdotenv": "^2.4.0" + "vlucas/phpdotenv": "^3.0" }, "suggest": { "aws/aws-sdk-php": "For using AWS Auth in REST module and Queue module", @@ -1860,25 +2092,25 @@ "functional testing", "unit testing" ], - "time": "2018-09-24T09:33:01+00:00" + "time": "2019-04-24T11:28:19+00:00" }, { "name": "codeception/phpunit-wrapper", - "version": "6.0.12", + "version": "6.1.3", "source": { "type": "git", "url": "https://github.com/Codeception/phpunit-wrapper.git", - "reference": "de922c760dfddf8a33c4a066efcd0cd93576d957" + "reference": "bc6e12f2e6990d22b55c63fbbb3a6f86292b945b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/de922c760dfddf8a33c4a066efcd0cd93576d957", - "reference": "de922c760dfddf8a33c4a066efcd0cd93576d957", + "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/bc6e12f2e6990d22b55c63fbbb3a6f86292b945b", + "reference": "bc6e12f2e6990d22b55c63fbbb3a6f86292b945b", "shasum": "" }, "require": { "phpunit/php-code-coverage": ">=4.0.4 <6.0", - "phpunit/phpunit": ">=5.7.27 <7.0", + "phpunit/phpunit": ">=5.7.27 <6.5.13", "sebastian/comparator": ">=1.2.4 <3.0", "sebastian/diff": ">=1.4 <4.0" }, @@ -1887,7 +2119,7 @@ }, "require-dev": { "codeception/specify": "*", - "vlucas/phpdotenv": "^2.4" + "vlucas/phpdotenv": "^3.0" }, "type": "library", "autoload": { @@ -1906,7 +2138,7 @@ } ], "description": "PHPUnit classes used by Codeception", - "time": "2018-09-12T20:19:47+00:00" + "time": "2020-01-03T08:01:34+00:00" }, { "name": "codeception/stub", @@ -1940,29 +2172,29 @@ }, { "name": "composer/semver", - "version": "1.4.2", + "version": "3.2.2", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573" + "reference": "4089fddb67bcf6bf860d91b979e95be303835002" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/c7cb9a2095a074d131b65a8a0cd294479d785573", - "reference": "c7cb9a2095a074d131b65a8a0cd294479d785573", + "url": "https://api.github.com/repos/composer/semver/zipball/4089fddb67bcf6bf860d91b979e95be303835002", + "reference": "4089fddb67bcf6bf860d91b979e95be303835002", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0" + "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5", - "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" + "phpstan/phpstan": "^0.12.19", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -1998,28 +2230,42 @@ "validation", "versioning" ], - "time": "2016-08-30T16:08:34+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-10-14T08:51:15+00:00" }, { "name": "composer/xdebug-handler", - "version": "1.3.0", + "version": "1.4.4", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c" + "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/b8e9745fb9b06ea6664d8872c4505fb16df4611c", - "reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6e076a124f7ee146f2487554a94b6a19a74887ba", + "reference": "6e076a124f7ee146f2487554a94b6a19a74887ba", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0", + "php": "^5.3.2 || ^7.0 || ^8.0", "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" }, "type": "library", "autoload": { @@ -2037,12 +2283,26 @@ "email": "john-stevenson@blueyonder.co.uk" } ], - "description": "Restarts a process without xdebug.", + "description": "Restarts a process without Xdebug.", "keywords": [ "Xdebug", "performance" ], - "time": "2018-08-31T19:07:57+00:00" + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2020-10-24T12:39:10+00:00" }, { "name": "doctrine/instantiator", @@ -2100,16 +2360,16 @@ }, { "name": "facebook/webdriver", - "version": "1.6.0", + "version": "1.7.1", "source": { "type": "git", - "url": "https://github.com/facebook/php-webdriver.git", - "reference": "bd8c740097eb9f2fc3735250fc1912bc811a954e" + "url": "https://github.com/php-webdriver/php-webdriver-archive.git", + "reference": "e43de70f3c7166169d0f14a374505392734160e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facebook/php-webdriver/zipball/bd8c740097eb9f2fc3735250fc1912bc811a954e", - "reference": "bd8c740097eb9f2fc3735250fc1912bc811a954e", + "url": "https://api.github.com/repos/php-webdriver/php-webdriver-archive/zipball/e43de70f3c7166169d0f14a374505392734160e5", + "reference": "e43de70f3c7166169d0f14a374505392734160e5", "shasum": "" }, "require": { @@ -2156,31 +2416,32 @@ "selenium", "webdriver" ], - "time": "2018-05-16T17:37:13+00:00" + "abandoned": "php-webdriver/webdriver", + "time": "2019-06-13T08:02:18+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.16.1", + "version": "v2.16.5", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "c8afb599858876e95e8ebfcd97812d383fa23f02" + "reference": "38042b599a6ff03cf4559798a79792d724d1ebf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/c8afb599858876e95e8ebfcd97812d383fa23f02", - "reference": "c8afb599858876e95e8ebfcd97812d383fa23f02", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/38042b599a6ff03cf4559798a79792d724d1ebf4", + "reference": "38042b599a6ff03cf4559798a79792d724d1ebf4", "shasum": "" }, "require": { - "composer/semver": "^1.4", + "composer/semver": "^1.4 || ^2.0 || ^3.0", "composer/xdebug-handler": "^1.2", "doctrine/annotations": "^1.2", "ext-json": "*", "ext-tokenizer": "*", "php": "^5.6 || ^7.0", "php-cs-fixer/diff": "^1.3", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", + "symfony/console": "^3.4.43 || ^4.1.6 || ^5.0", "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", "symfony/filesystem": "^3.0 || ^4.0 || ^5.0", "symfony/finder": "^3.0 || ^4.0 || ^5.0", @@ -2193,19 +2454,20 @@ "require-dev": { "johnkary/phpunit-speedtrap": "^1.1 || ^2.0 || ^3.0", "justinrainbow/json-schema": "^5.0", - "keradus/cli-executor": "^1.2", + "keradus/cli-executor": "^1.4", "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.1", + "php-coveralls/php-coveralls": "^2.4.1", "php-cs-fixer/accessible-object": "^1.0", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.1", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.1", + "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", + "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.1", - "phpunitgoodpractices/traits": "^1.8", - "symfony/phpunit-bridge": "^4.3 || ^5.0", + "phpunitgoodpractices/traits": "^1.9.1", + "symfony/phpunit-bridge": "^5.1", "symfony/yaml": "^3.0 || ^4.0 || ^5.0" }, "suggest": { - "ext-mbstring": "For handling non-UTF8 characters in cache signature.", + "ext-dom": "For handling output formats in XML", + "ext-mbstring": "For handling non-UTF8 characters.", "php-cs-fixer/phpunit-constraint-isidenticalstring": "For IsIdenticalString constraint.", "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "For XmlMatchesXsd constraint.", "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." @@ -2227,6 +2489,7 @@ "tests/Test/IntegrationCaseFactory.php", "tests/Test/IntegrationCaseFactoryInterface.php", "tests/Test/InternalIntegrationCaseFactory.php", + "tests/Test/IsIdenticalConstraint.php", "tests/TestCase.php" ] }, @@ -2245,31 +2508,39 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2019-11-25T22:10:32+00:00" + "funding": [ + { + "url": "https://github.com/keradus", + "type": "github" + } + ], + "time": "2020-10-27T22:17:01+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "6.3.3", + "version": "6.5.5", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba" + "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba", - "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", + "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", "shasum": "" }, "require": { + "ext-json": "*", "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.4", - "php": ">=5.5" + "guzzlehttp/psr7": "^1.6.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.17.0" }, "require-dev": { "ext-curl": "*", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.0" + "psr/log": "^1.1" }, "suggest": { "psr/log": "Required for using the Log middleware" @@ -2277,16 +2548,16 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.3-dev" + "dev-master": "6.5-dev" } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\": "src/" - } + }, + "files": [ + "src/functions_include.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2310,27 +2581,27 @@ "rest", "web service" ], - "time": "2018-04-22T15:46:56+00:00" + "time": "2020-06-16T21:01:06+00:00" }, { "name": "guzzlehttp/promises", - "version": "v1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" + "reference": "60d379c243457e073cff02bc323a2a86cb355631" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "url": "https://api.github.com/repos/guzzle/promises/zipball/60d379c243457e073cff02bc323a2a86cb355631", + "reference": "60d379c243457e073cff02bc323a2a86cb355631", "shasum": "" }, "require": { - "php": ">=5.5.0" + "php": ">=5.5" }, "require-dev": { - "phpunit/phpunit": "^4.0" + "symfony/phpunit-bridge": "^4.4 || ^5.1" }, "type": "library", "extra": { @@ -2361,36 +2632,41 @@ "keywords": [ "promise" ], - "time": "2016-12-20T10:07:11+00:00" + "time": "2020-09-30T07:37:28+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.4.2", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c" + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c", - "reference": "f5b8a8512e2b58b0071a7280e39f14f72e05d87c", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", + "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", "shasum": "" }, "require": { "php": ">=5.4.0", - "psr/http-message": "~1.0" + "psr/http-message": "~1.0", + "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" }, "provide": { "psr/http-message-implementation": "1.0" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "ext-zlib": "*", + "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.7-dev" } }, "autoload": { @@ -2420,13 +2696,14 @@ "keywords": [ "http", "message", + "psr-7", "request", "response", "stream", "uri", "url" ], - "time": "2017-03-20T17:10:46+00:00" + "time": "2020-09-30T07:37:11+00:00" }, { "name": "myclabs/deep-copy", @@ -2475,23 +2752,23 @@ }, { "name": "php-cs-fixer/diff", - "version": "v1.3.0", + "version": "v1.3.1", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756" + "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/78bb099e9c16361126c86ce82ec4405ebab8e756", - "reference": "78bb099e9c16361126c86ce82ec4405ebab8e756", + "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/dbd31aeb251639ac0b9e7e29405c1441907f5759", + "reference": "dbd31aeb251639ac0b9e7e29405c1441907f5759", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^5.6 || ^7.0 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3", + "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", "symfony/process": "^3.3" }, "type": "library", @@ -2505,14 +2782,14 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + }, { "name": "SpacePossum" } @@ -2522,7 +2799,7 @@ "keywords": [ "diff" ], - "time": "2018-02-15T16:58:55+00:00" + "time": "2020-10-14T08:39:05+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -2672,38 +2949,38 @@ }, { "name": "phpspec/prophecy", - "version": "1.8.0", + "version": "v1.10.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" + "reference": "451c3cd1418cf640de218914901e51b064abb093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", + "reference": "451c3cd1418cf640de218914901e51b064abb093", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", + "phpspec/phpspec": "^2.5 || ^3.2", "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8.x-dev" + "dev-master": "1.10.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -2731,7 +3008,7 @@ "spy", "stub" ], - "time": "2018-08-05T17:53:17+00:00" + "time": "2020-03-05T15:02:03+00:00" }, { "name": "phpunit/php-code-coverage", @@ -2980,6 +3257,7 @@ "keywords": [ "tokenizer" ], + "abandoned": true, "time": "2017-12-04T08:55:13+00:00" }, { @@ -3121,6 +3399,7 @@ "mock", "xunit" ], + "abandoned": true, "time": "2017-06-30T09:13:00+00:00" }, { @@ -3173,6 +3452,46 @@ ], "time": "2016-08-06T14:39:51+00:00" }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "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": "2019-03-08T08:55:37+00:00" + }, { "name": "sebastian/code-unit-reverse-lookup", "version": "1.0.1", @@ -3688,16 +4007,16 @@ }, { "name": "symfony/browser-kit", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "f6668d1a6182d5a8dec65a1c863a4c1d963816c0" + "reference": "9590bd3d3f9fa2f28d34b713ed4765a8cc8ad15c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/f6668d1a6182d5a8dec65a1c863a4c1d963816c0", - "reference": "f6668d1a6182d5a8dec65a1c863a4c1d963816c0", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/9590bd3d3f9fa2f28d34b713ed4765a8cc8ad15c", + "reference": "9590bd3d3f9fa2f28d34b713ed4765a8cc8ad15c", "shasum": "" }, "require": { @@ -3712,11 +4031,6 @@ "symfony/process": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\BrowserKit\\": "" @@ -3741,31 +4055,40 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "time": "2018-07-26T09:06:28+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/css-selector", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "3503415d4aafabc31cd08c3a4ebac7f43fde8feb" + "reference": "da3d9da2ce0026771f5fe64cb332158f1bd2bc33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/3503415d4aafabc31cd08c3a4ebac7f43fde8feb", - "reference": "3503415d4aafabc31cd08c3a4ebac7f43fde8feb", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/da3d9da2ce0026771f5fe64cb332158f1bd2bc33", + "reference": "da3d9da2ce0026771f5fe64cb332158f1bd2bc33", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\CssSelector\\": "" @@ -3779,14 +4102,14 @@ "MIT" ], "authors": [ - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" @@ -3794,20 +4117,34 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2018-10-02T16:33:53+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/dom-crawler", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "c705bee03ade5b47c087807dd9ffaaec8dda2722" + "reference": "ef97bcfbae5b384b4ca6c8d57b617722f15241a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/c705bee03ade5b47c087807dd9ffaaec8dda2722", - "reference": "c705bee03ade5b47c087807dd9ffaaec8dda2722", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/ef97bcfbae5b384b4ca6c8d57b617722f15241a6", + "reference": "ef97bcfbae5b384b4ca6c8d57b617722f15241a6", "shasum": "" }, "require": { @@ -3822,11 +4159,6 @@ "symfony/css-selector": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\DomCrawler\\": "" @@ -3851,20 +4183,34 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2018-10-02T12:28:39+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb" + "reference": "31fde73757b6bad247c54597beef974919ec6860" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb", - "reference": "b2e1f19280c09a42dc64c0b72b80fe44dd6e88fb", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/31fde73757b6bad247c54597beef974919ec6860", + "reference": "31fde73757b6bad247c54597beef974919ec6860", "shasum": "" }, "require": { @@ -3876,6 +4222,7 @@ "require-dev": { "psr/log": "~1.0", "symfony/config": "~2.8|~3.0|~4.0", + "symfony/debug": "~3.4|~4.4", "symfony/dependency-injection": "~3.3|~4.0", "symfony/expression-language": "~2.8|~3.0|~4.0", "symfony/stopwatch": "~2.8|~3.0|~4.0" @@ -3885,11 +4232,6 @@ "symfony/http-kernel": "" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\EventDispatcher\\": "" @@ -3914,31 +4256,40 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-07-26T09:06:28+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/finder", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d" + "reference": "4e1da3c110c52d868f8a9153b7de3ebc381fba78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/54ba444dddc5bd5708a34bd095ea67c6eb54644d", - "reference": "54ba444dddc5bd5708a34bd095ea67c6eb54644d", + "url": "https://api.github.com/repos/symfony/finder/zipball/4e1da3c110c52d868f8a9153b7de3ebc381fba78", + "reference": "4e1da3c110c52d868f8a9153b7de3ebc381fba78", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Finder\\": "" @@ -3963,31 +4314,40 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-10-03T08:46:40+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/options-resolver", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "1cf7d8e704a9cc4164c92e430f2dfa3e6983661d" + "reference": "c7efc97a47b2ebaabc19d5b6c6b50f5c37c92744" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/1cf7d8e704a9cc4164c92e430f2dfa3e6983661d", - "reference": "1cf7d8e704a9cc4164c92e430f2dfa3e6983661d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/c7efc97a47b2ebaabc19d5b6c6b50f5c37c92744", + "reference": "c7efc97a47b2ebaabc19d5b6c6b50f5c37c92744", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\OptionsResolver\\": "" @@ -4017,20 +4377,200 @@ "configuration", "options" ], - "time": "2018-09-17T17:29:18+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" + }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/4ad5115c0f5d5172a9fe8147675ec6de266d8826", + "reference": "4ad5115c0f5d5172a9fe8147675ec6de266d8826", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/polyfill-intl-normalizer": "^1.10", + "symfony/polyfill-php70": "^1.10", + "symfony/polyfill-php72": "^1.10" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Trevor Rowbotham", + "email": "trevor.rowbotham@pm.me" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-21T09:57:48+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.19.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8db0ae7936b42feb370840cf24de1a144fb0ef27", + "reference": "8db0ae7936b42feb370840cf24de1a144fb0ef27", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "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": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T09:01:57+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.9.0", + "version": "v1.19.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae" + "reference": "beecef6b463b06954638f02378f52496cb84bacc" }, "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/beecef6b463b06954638f02378f52496cb84bacc", + "reference": "beecef6b463b06954638f02378f52496cb84bacc", "shasum": "" }, "require": { @@ -4039,7 +4579,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9-dev" + "dev-main": "1.19-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { @@ -4072,31 +4616,40 @@ "portable", "shim" ], - "time": "2018-08-06T14:22:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T09:01:57+00:00" }, { "name": "symfony/process", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "1dc2977afa7d70f90f3fefbcd84152813558910e" + "reference": "b8648cf1d5af12a44a51d07ef9bf980921f15fca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/1dc2977afa7d70f90f3fefbcd84152813558910e", - "reference": "1dc2977afa7d70f90f3fefbcd84152813558910e", + "url": "https://api.github.com/repos/symfony/process/zipball/b8648cf1d5af12a44a51d07ef9bf980921f15fca", + "reference": "b8648cf1d5af12a44a51d07ef9bf980921f15fca", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Process\\": "" @@ -4121,31 +4674,40 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-10-02T12:28:39+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "symfony/stopwatch", - "version": "v3.4.17", + "version": "v3.4.46", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4" + "reference": "298b81faad4ce60e94466226b2abbb8c9bca7462" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/05e52a39de52ba690aebaed462b2bc8a9649f0a4", - "reference": "05e52a39de52ba690aebaed462b2bc8a9649f0a4", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/298b81faad4ce60e94466226b2abbb8c9bca7462", + "reference": "298b81faad4ce60e94466226b2abbb8c9bca7462", "shasum": "" }, "require": { "php": "^5.5.9|>=7.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Component\\Stopwatch\\": "" @@ -4170,35 +4732,48 @@ ], "description": "Symfony Stopwatch Component", "homepage": "https://symfony.com", - "time": "2018-10-02T12:28:39+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-24T10:57:07+00:00" }, { "name": "webmozart/assert", - "version": "1.3.0", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -4220,7 +4795,7 @@ "check", "validate" ], - "time": "2018-01-29T19:49:41+00:00" + "time": "2020-07-08T17:02:28+00:00" } ], "aliases": [], @@ -4231,6 +4806,7 @@ "platform": [], "platform-dev": [], "platform-overrides": { - "php": "5.6.27" - } + "php": "7.3.0" + }, + "plugin-api-version": "1.1.0" } diff --git a/db/migrations/20201109174049_add_default_values.php b/db/migrations/20201109174049_add_default_values.php new file mode 100644 index 0000000000000000000000000000000000000000..98ee9c8b17160bfc56add5d0e3e35a58948f8e5e --- /dev/null +++ b/db/migrations/20201109174049_add_default_values.php @@ -0,0 +1,30 @@ +<?php + +use Phinx\Migration\AbstractMigration; + +class AddDefaultValues extends AbstractMigration +{ + public function up() + { + $this->adapter->execute("ALTER TABLE contreparties ALTER datec SET DEFAULT '0000-00-00 00:00:00';"); + $this->adapter->execute("ALTER TABLE contreparties ALTER commentaire SET DEFAULT '';"); + + $this->adapter->execute("ALTER TABLE dons ALTER datec SET DEFAULT '0000-00-00 00:00:00';"); + $this->adapter->execute("ALTER TABLE dons ALTER cadeau SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER abo SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER taille SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER public SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER pdf SET DEFAULT \"\";"); + $this->adapter->execute("ALTER TABLE dons ALTER decimale SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER datee SET DEFAULT '0000-00-00 00:00:00';"); + $this->adapter->execute("ALTER TABLE dons ALTER pi_x SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER pi_y SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE dons ALTER hash SET DEFAULT \"\";"); + $this->adapter->execute("ALTER TABLE dons ALTER taille_h SET DEFAULT '0';"); + + $this->adapter->execute("ALTER TABLE users ALTER total SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE users ALTER cumul SET DEFAULT '0';"); + $this->adapter->execute("ALTER TABLE users ALTER pseudo SET DEFAULT \"\";"); + $this->adapter->execute("ALTER TABLE users ALTER commentaire SET DEFAULT \"\";"); + } +} diff --git a/db/migrations/20201109223011_increase_identifier_length.php b/db/migrations/20201109223011_increase_identifier_length.php new file mode 100644 index 0000000000000000000000000000000000000000..882fb588a2d6a4f60ed3aeba62c1d0fe3a8723a1 --- /dev/null +++ b/db/migrations/20201109223011_increase_identifier_length.php @@ -0,0 +1,11 @@ +<?php + +use Phinx\Migration\AbstractMigration; + +class IncreaseIdentifierLength extends AbstractMigration +{ + public function up() + { + $this->adapter->execute("ALTER TABLE dons modify COLUMN identifier VARCHAR(255) NULL;"); + } +} diff --git a/src/LQDN/Exception/AddressAlreadyExistsException.php b/src/LQDN/Exception/AddressAlreadyExistsException.php index cccf05cf7c23dd3fbb336248f555bb653996bf8b..337919cffefadff19b18893df3bc2e16254273eb 100644 --- a/src/LQDN/Exception/AddressAlreadyExistsException.php +++ b/src/LQDN/Exception/AddressAlreadyExistsException.php @@ -2,6 +2,6 @@ namespace LQDN\Exception; -class AddressAlreadyExistsException extends \RuntimeException +class AddressAlreadyExistsException extends \LogicException { } diff --git a/src/LQDN/Exception/AddressUsedException.php b/src/LQDN/Exception/AddressUsedException.php index f1f87fe1609862e54d12ca7d061f52b0f3d8fbdc..81c0075b1090a2666513988d85ff0f522f36bfb4 100644 --- a/src/LQDN/Exception/AddressUsedException.php +++ b/src/LQDN/Exception/AddressUsedException.php @@ -2,6 +2,6 @@ namespace LQDN\Exception; -class AddressUsedException extends \RuntimeException +class AddressUsedException extends \LogicException { } diff --git a/src/LQDN/Exception/InvalidEmailException.php b/src/LQDN/Exception/InvalidEmailException.php index d24191ac929591dadf35051d4d206d55eae41120..64a38ae81f7b6e983aaa8a9ee874b651e31a01ea 100644 --- a/src/LQDN/Exception/InvalidEmailException.php +++ b/src/LQDN/Exception/InvalidEmailException.php @@ -2,6 +2,6 @@ namespace LQDN\Exception; -class InvalidEmailException extends \RuntimeException +class InvalidEmailException extends \LogicException { }