Commit c2d13c2b authored by Guinness's avatar Guinness
Browse files

Fix path for pi-billion

# Conflicts:
#   app/controller/cron.php
parents a5769117 0cbb27fc
......@@ -57,7 +57,7 @@ class Admin extends Controller
if (!$f3->get('SESSION.admin')) {
$mapper = new\DB\SQL\Mapper($f3->get('DB'), 'admins');
$auth = new \Auth($mapper, array('id'=>'user_id', 'pw'=>'password'));
$success = $auth->basic('Admin::hash_password');
$success = $auth->basic('\Controller\Admin::hash_password');
if (!$success) {
$f3->error(401);
} else {
......
......@@ -168,7 +168,7 @@ class Bank extends Controller
// Puis envoi du mail
if ($user["email"]) {
$mailer = new SMTP(SMTP_HOST, SMTP_PORT, SMTP_SECURITY, SMTP_USER, SMTP_PW);
$mailer = new \SMTP(SMTP_HOST, SMTP_PORT, SMTP_SECURITY, SMTP_USER, SMTP_PW);
$cb_log->write("Sending email for id: ".$id." at ".$user['email']);
$mailer->set('From', "contact@laquadrature.net");
$mailer->set('FromName', "La Quadrature du Net");
......
......@@ -41,7 +41,7 @@ class Cron extends Controller
// We do have our IDs
// We need to create a PDF
$lock = @fopen("tmp/piplomes.lock", "ab");
$lock = @fopen("../tmp/piplomes.lock", "ab");
if ($lock) {
flock($lock, LOCK_EX);
foreach ($pdfs as $pdf) {
......@@ -64,9 +64,9 @@ class Cron extends Controller
// Let's trash the garbage
foreach (array('tex', 'aux', 'pdf', 'log') as $ext) {
@unlink(dirname(__FILE__)."/../tmp/pplome.".$ext);
@unlink(dirname(__FILE__)."/../../tmp/pplome.".$ext);
}
// We now have only fr or en templates
if ($pdf['lang'] == 'fr') {
$pdf['lang'] = 'fr_FR';
......@@ -76,10 +76,11 @@ class Cron extends Controller
}
$logger->write("Language is ".$pdf['lang']."");
$template = file_get_contents(dirname(__FILE__)."/../locales/".$pdf['lang']."/LC_MESSAGES/plome.tex");
$template = file_get_contents(dirname(__FILE__)."/../../locales/".$pdf['lang']."/LC_MESSAGES/plome.tex");
// We will open the pi-decimals file
$pi = fopen(dirname(__FILE__)."/../static/pi-billion/pi-billion.txt", "rb");
$pi = fopen(dirname(__FILE__)."/../../www/static/pi-billion/pi-billion.txt", "rb");
if (!$pi) {
$logger->write("FATAL: Can't open decimals");
exit();
......@@ -100,7 +101,7 @@ class Cron extends Controller
// Let's replace the templates with values
file_put_contents(
dirname(__FILE__)."/../tmp/pplome.tex",
dirname(__FILE__)."/../../tmp/pplome.tex",
str_replace(
"%%DECIMALES%%",
$decimales,
......@@ -118,13 +119,13 @@ class Cron extends Controller
// Let's create the pdf from the template
$logger->write("Building the pdf from the tex template");
$command = 'TEXINPUTS='.dirname(__FILE__).'/tex/:$TEXINPUTS ';
$command = 'TEXINPUTS='.dirname(__FILE__).'/../../tex/:$TEXINPUTS ';
// We need to set an env variable first
putenv('TEXINPUTS='.dirname(__FILE__).'/../tex:'.getenv('TEXINPUTS'));
putenv('TEXINPUTS='.dirname(__FILE__).'/../../tex:'.getenv('TEXINPUTS'));
$command .= '/usr/bin/pdflatex ';
$command .= '-output-directory='.dirname(__FILE__)."/../tmp ";
$command .= dirname(__FILE__)."/../tmp/pplome.tex";
$command .= '-output-directory='.dirname(__FILE__)."/../../tmp ";
$command .= dirname(__FILE__)."/../../tmp/pplome.tex";
$logger->write($command);
exec($command, $output, $return);
foreach ($output as $line) {
......@@ -141,11 +142,11 @@ class Cron extends Controller
// Move the pdf to its position
@unlink(PIPLOME_PATH . $pdf['hash'] .".pdf");
$logger->write("Moving pdf to ".PIPLOME_PATH.$pdf['hash'].".pdf");
@rename(dirname(__FILE__)."/../tmp/pplome.pdf", PIPLOME_PATH . $pdf['hash'] . ".pdf");
@rename(dirname(__FILE__)."/../../tmp/pplome.pdf", PIPLOME_PATH . $pdf['hash'] . ".pdf");
// Let's trash the garbage
foreach (array('tex', 'aux', 'pdf', 'log') as $ext) {
@unlink(dirname(__FILE__)."/../tmp/pplome.".$ext);
@unlink(dirname(__FILE__)."/../../tmp/pplome.".$ext);
}
// Saving the pathin database
......@@ -167,17 +168,18 @@ class Cron extends Controller
$result = $db->query("SELECT dons.id as id,
decimale,
users.pseudo as nom,
lang
lang,
pdf
FROM dons
LEFT JOIN users ON dons.user_id = users.id
WHERE dons.status IN (1, 4, 101)
AND dons.id='".\Utils::asl($args['id'])."'");
$pdf = $result->fetch(\PDO::FETCH_ASSOC);
$fp = fopen(PIPLOME_PATH . $pdf['hash'] .".pdf", "rb");
$fp = fopen(PIPLOME_PATH . $pdf['pdf'] .".pdf", "rb");
if ($fp) {
$fsize = filesize(PIPLOME_PATH . $pdf['hash'] .".pdf");
$fsize = filesize(PIPLOME_PATH . $pdf['pdf'] .".pdf");
header("Content-Type: application/pdf");
header("Content-Disposition: attachment; filename=\"".$pdf['hash'].".pdf\"");
header("Content-Disposition: attachment; filename=\"".$pdf['pdf'].".pdf\"");
header("Content-Length: $fsize");
while (!feof($fp)) {
$buffer = fread($fp, 2048);
......
......@@ -179,7 +179,7 @@ class Perso extends Controller
// On le renvoie par email
// On utilise le système SMTP de fat free
$mailer = new SMTP(SMTP_HOST, SMTP_PORT, SMTP_SECURITY, SMTP_USER, SMTP_PW);
$mailer = new \SMTP(SMTP_HOST, SMTP_PORT, SMTP_SECURITY, SMTP_USER, SMTP_PW);
$mailer->set('From', $f3->get('mail.from'));
$mailer->set('To', $f3->get('email'));
$mailer->set('Subject', _("Renouvellement de mot de passe"));
......
......@@ -835,16 +835,16 @@
},
{
"name": "symfony/config",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
"reference": "1fffdeb349ff36a25184e5564c25289b1dbfc402"
"reference": "e5389132dc6320682de3643091121c048ff796b3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/1fffdeb349ff36a25184e5564c25289b1dbfc402",
"reference": "1fffdeb349ff36a25184e5564c25289b1dbfc402",
"url": "https://api.github.com/repos/symfony/config/zipball/e5389132dc6320682de3643091121c048ff796b3",
"reference": "e5389132dc6320682de3643091121c048ff796b3",
"shasum": ""
},
"require": {
......@@ -895,20 +895,20 @@
],
"description": "Symfony Config Component",
"homepage": "https://symfony.com",
"time": "2018-06-19 14:02:58"
"time": "2018-09-08 13:15:14"
},
{
"name": "symfony/console",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "1b97071a26d028c9bd4588264e101e14f6e7cd00"
"reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/1b97071a26d028c9bd4588264e101e14f6e7cd00",
"reference": "1b97071a26d028c9bd4588264e101e14f6e7cd00",
"url": "https://api.github.com/repos/symfony/console/zipball/3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b",
"reference": "3b2b415d4c48fbefca7dc742aa0a0171bfae4e0b",
"shasum": ""
},
"require": {
......@@ -964,20 +964,20 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2018-05-23 05:02:55"
"time": "2018-10-02 16:33:53"
},
{
"name": "symfony/debug",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/debug.git",
"reference": "47e6788c5b151cf0cfdf3329116bf33800632d75"
"reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/debug/zipball/47e6788c5b151cf0cfdf3329116bf33800632d75",
"reference": "47e6788c5b151cf0cfdf3329116bf33800632d75",
"url": "https://api.github.com/repos/symfony/debug/zipball/0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
"reference": "0a612e9dfbd2ccce03eb174365f31ecdca930ff6",
"shasum": ""
},
"require": {
......@@ -1020,20 +1020,20 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
"time": "2018-06-25 11:10:40"
"time": "2018-10-02 16:33:53"
},
{
"name": "symfony/filesystem",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
"reference": "8a721a5f2553c6c3482b1c5b22ed60fe94dd63ed"
"reference": "d69930fc337d767607267d57c20a7403d0a822a4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/8a721a5f2553c6c3482b1c5b22ed60fe94dd63ed",
"reference": "8a721a5f2553c6c3482b1c5b22ed60fe94dd63ed",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/d69930fc337d767607267d57c20a7403d0a822a4",
"reference": "d69930fc337d767607267d57c20a7403d0a822a4",
"shasum": ""
},
"require": {
......@@ -1070,20 +1070,20 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2018-06-21 11:10:19"
"time": "2018-10-02 12:28:39"
},
{
"name": "symfony/http-foundation",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "1c28679fcbb0d9b35e4fd49fbb74d2ca4ea17bce"
"reference": "3a4498236ade473c52b92d509303e5fd1b211ab1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/1c28679fcbb0d9b35e4fd49fbb74d2ca4ea17bce",
"reference": "1c28679fcbb0d9b35e4fd49fbb74d2ca4ea17bce",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/3a4498236ade473c52b92d509303e5fd1b211ab1",
"reference": "3a4498236ade473c52b92d509303e5fd1b211ab1",
"shasum": ""
},
"require": {
......@@ -1124,29 +1124,32 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"time": "2018-06-21 11:10:19"
"time": "2018-10-03 08:48:18"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.8.0",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae"
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae",
"reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-ctype": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
"dev-master": "1.9-dev"
}
},
"autoload": {
......@@ -1179,20 +1182,20 @@
"polyfill",
"portable"
],
"time": "2018-04-30 19:57:29"
"time": "2018-08-06 14:22:27"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.8.0",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "3296adf6a6454a050679cde90f95350ad604b171"
"reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171",
"reference": "3296adf6a6454a050679cde90f95350ad604b171",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8",
"reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8",
"shasum": ""
},
"require": {
......@@ -1204,7 +1207,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
"dev-master": "1.9-dev"
}
},
"autoload": {
......@@ -1238,30 +1241,30 @@
"portable",
"shim"
],
"time": "2018-04-26 10:06:28"
"time": "2018-08-06 14:22:27"
},
{
"name": "symfony/polyfill-php70",
"version": "v1.8.0",
"version": "v1.9.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php70.git",
"reference": "77454693d8f10dd23bb24955cffd2d82db1007a6"
"reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6",
"reference": "77454693d8f10dd23bb24955cffd2d82db1007a6",
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
"reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
"shasum": ""
},
"require": {
"paragonie/random_compat": "~1.0|~2.0",
"paragonie/random_compat": "~1.0|~2.0|~9.99",
"php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
"dev-master": "1.9-dev"
}
},
"autoload": {
......@@ -1297,20 +1300,20 @@
"portable",
"shim"
],
"time": "2018-04-26 10:06:28"
"time": "2018-08-06 14:22:27"
},
{
"name": "symfony/yaml",
"version": "v3.4.12",
"version": "v3.4.17",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0"
"reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/c5010cc1692ce1fa328b1fb666961eb3d4a85bb0",
"reference": "c5010cc1692ce1fa328b1fb666961eb3d4a85bb0",
"url": "https://api.github.com/repos/symfony/yaml/zipball/640b6c27fed4066d64b64d5903a86043f4a4de7f",
"reference": "640b6c27fed4066d64b64d5903a86043f4a4de7f",
"shasum": ""
},
"require": {
......@@ -1356,20 +1359,20 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2018-05-03 23:18:14"
"time": "2018-10-02 16:33:53"
},
{
"name": "vlucas/phpdotenv",
"version": "v2.5.0",
"version": "v2.5.1",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "6ae3e2e6494bb5e58c2decadafc3de7f1453f70a"
"reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/6ae3e2e6494bb5e58c2decadafc3de7f1453f70a",
"reference": "6ae3e2e6494bb5e58c2decadafc3de7f1453f70a",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
"reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e",
"shasum": ""
},
"require": {
......@@ -1406,7 +1409,7 @@
"env",
"environment"
],
"time": "2018-07-01 10:25:50"
"time": "2018-07-29 20:33:41"
}
],
"packages-dev": [
......@@ -1471,22 +1474,23 @@
},
{
"name": "codeception/codeception",
"version": "2.4.4",
"version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/Codeception/Codeception.git",
"reference": "2060fc1fe8ac2823ff3b8ece04616fc12aca968a"
"reference": "dee493561daf644134c95cf176fd2c25aff59ea9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/2060fc1fe8ac2823ff3b8ece04616fc12aca968a",
"reference": "2060fc1fe8ac2823ff3b8ece04616fc12aca968a",
"url": "https://api.github.com/repos/Codeception/Codeception/zipball/dee493561daf644134c95cf176fd2c25aff59ea9",
"reference": "dee493561daf644134c95cf176fd2c25aff59ea9",
"shasum": ""
},
"require": {
"behat/gherkin": "^4.4.0",
"codeception/phpunit-wrapper": "^6.0.9|^7.0.6",
"codeception/stub": "^2.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"facebook/webdriver": ">=1.1.3 <2.0",
......@@ -1534,7 +1538,7 @@
},
"autoload": {
"psr-4": {
"Codeception\\": "src\\Codeception",
"Codeception\\": "src/Codeception",
"Codeception\\Extension\\": "ext"
}
},
......@@ -1558,26 +1562,26 @@
"functional testing",
"unit testing"
],
"time": "2018-07-16 08:14:50"
"time": "2018-09-24 09:33:01"
},
{
"name": "codeception/phpunit-wrapper",
"version": "6.0.10",
"version": "6.0.12",
"source": {
"type": "git",
"url": "https://github.com/Codeception/phpunit-wrapper.git",
"reference": "7057e599d97b02b4efb009681a43b327dbce138a"
"reference": "de922c760dfddf8a33c4a066efcd0cd93576d957"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/7057e599d97b02b4efb009681a43b327dbce138a",
"reference": "7057e599d97b02b4efb009681a43b327dbce138a",
"url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/de922c760dfddf8a33c4a066efcd0cd93576d957",
"reference": "de922c760dfddf8a33c4a066efcd0cd93576d957",
"shasum": ""
},
"require": {
"phpunit/php-code-coverage": ">=2.2.4 <6.0",
"phpunit/phpunit": ">=4.8.28 <5.0.0 || >=5.6.3 <7.0",
"sebastian/comparator": ">1.1 <3.0",
"phpunit/php-code-coverage": ">=4.0.4 <6.0",
"phpunit/phpunit": ">=5.7.27 <7.0",
"sebastian/comparator": ">=1.2.4 <3.0",
"sebastian/diff": ">=1.4 <4.0"
},
"replace": {
......@@ -1604,26 +1608,23 @@
}
],
"description": "PHPUnit classes used by Codeception",
"time": "2018-06-20 20:08:14"
"time": "2018-09-12 20:19:47"
},
{
"name": "codeception/stub",
"version": "2.0.1",
"version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/Codeception/Stub.git",
"reference": "b2eff325d8ff0b824ff659048be7be4e5767d7d0"
"reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Codeception/Stub/zipball/b2eff325d8ff0b824ff659048be7be4e5767d7d0",
"reference": "b2eff325d8ff0b824ff659048be7be4e5767d7d0",
"url": "https://api.github.com/repos/Codeception/Stub/zipball/f50bc271f392a2836ff80690ce0c058efe1ae03e",
"reference": "f50bc271f392a2836ff80690ce0c058efe1ae03e",
"shasum": ""
},
"require": {
"phpunit/phpunit-mock-objects": ">2.3 <7.0"
},
"require-dev": {
"phpunit/phpunit": ">=4.8 <8.0"
},
"type": "library",
......@@ -1637,7 +1638,7 @@
"MIT"
],
"description": "Flexible Stub wrapper for PHPUnit's Mock Builder",
"time": "2018-05-18 14:33:08"
"time": "2018-07-26 11:55:37"
},
{
"name": "composer/semver",
......@@ -1703,16 +1704,16 @@
},
{
"name": "composer/xdebug-handler",
"version": "1.1.0",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://github.com/composer/xdebug-handler.git",
"reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08"
"reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/c919dc6c62e221fc6406f861ea13433c0aa24f08",
"reference": "c919dc6c62e221fc6406f861ea13433c0aa24f08",
"url": "https://api.github.com/repos/composer/xdebug-handler/zipball/b8e9745fb9b06ea6664d8872c4505fb16df4611c",
"reference": "b8e9745fb9b06ea6664d8872c4505fb16df4611c",
"shasum": ""
},
"require": {
......@@ -1743,7 +1744,7 @@
"Xdebug",
"performance"
],
"time": "2018-04-11 15:42:36"
"time": "2018-08-31 19:07:57"
},
{
"name": "doctrine/instantiator",
......@@ -1861,21 +1862,21 @@
},
{
"name": "friendsofphp/php-cs-fixer",
"version": "v2.12.2",
"version": "v2.13.0",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "dcc87d5414e9d0bd316fce81a5bedb9ce720b183"
"reference": "7136aa4e0c5f912e8af82383775460d906168a10"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/dcc87d5414e9d0bd316fce81a5bedb9ce720b183",
"reference": "dcc87d5414e9d0bd316fce81a5bedb9ce720b183",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/7136aa4e0c5f912e8af82383775460d906168a10",
"reference": "7136aa4e0c5f912e8af82383775460d906168a10",
"shasum": ""
},
"require": {
"composer/semver": "^1.4",
"composer/xdebug-handler": "^1.0",
"composer/xdebug-handler": "^1.2",
"doctrine/annotations": "^1.2",
"ext-json": "*",
"ext-tokenizer": "*",
......@@ -1917,6 +1918,11 @@
"php-cs-fixer"
],
"type": "application",
"extra": {
"branch-alias": {
"dev-master": "2.13-dev"
}
},
"autoload": {
"psr-4": {
"PhpCsFixer\\": "src/"
......@@ -1948,7 +1954,7 @@
}
],
"description": "A tool to automatically fix PHP code style",
"time": "2018-07-06 10:37:40"
"time": "2018-08-23 13:15:44"
},
{
"name": "guzzlehttp/guzzle",
......@@ -2375,16 +2381,16 @@
},
{
"name": "phpspec/prophecy",
"version": "1.7.6",
"version": "1.8.0",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
"reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712"
"reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712",
"reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712",
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
"reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
"shasum": ""
},
"require": {
......@@ -2396,12 +2402,12 @@
},
"require-dev": {
"phpspec/phpspec": "^2.5|^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5"
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.7.x-dev"
"dev-master": "1.8.x-dev"
}
},
"autoload": {
......@@ -2434,7 +2440,7 @@
"spy",
"stub"
],
"time": "2018-04-18 13:57:24"
"time": "2018-08-05 17:53:17"
},
{
"name": "phpunit/php-code-coverage",
......@@ -3391,16 +3397,16 @@
},
{
"name": "symfony/browser-kit",