Browse Source

Update the dependencies

Fix phinx migrations detection
pull/898/head
Timothée Jaussoin 6 years ago
parent
commit
a6e94f5a05
  1. 54
      composer.lock
  2. 2
      src/Movim/Console/DaemonCommand.php

54
composer.lock

@ -8,16 +8,16 @@
"packages": [
{
"name": "cakephp/cache",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/cache.git",
"reference": "855a920c479925262575ec5b404010e22049098c"
"reference": "c1153129d87e051acd6e09140c3139911b11ab79"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/cache/zipball/855a920c479925262575ec5b404010e22049098c",
"reference": "855a920c479925262575ec5b404010e22049098c",
"url": "https://api.github.com/repos/cakephp/cache/zipball/c1153129d87e051acd6e09140c3139911b11ab79",
"reference": "c1153129d87e051acd6e09140c3139911b11ab79",
"shasum": ""
},
"require": {
@ -48,11 +48,11 @@
"caching",
"cakephp"
],
"time": "2019-11-20T00:00:46+00:00"
"time": "2019-12-22T10:32:04+00:00"
},
{
"name": "cakephp/collection",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/collection.git",
@ -98,7 +98,7 @@
},
{
"name": "cakephp/core",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/core.git",
@ -148,16 +148,16 @@
},
{
"name": "cakephp/database",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/database.git",
"reference": "c8a9123e8a393ac122bb0b51b100cafb3d34cece"
"reference": "b0b76f9e5b5703e1d923b001d4ddba13d2392d2e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/database/zipball/c8a9123e8a393ac122bb0b51b100cafb3d34cece",
"reference": "c8a9123e8a393ac122bb0b51b100cafb3d34cece",
"url": "https://api.github.com/repos/cakephp/database/zipball/b0b76f9e5b5703e1d923b001d4ddba13d2392d2e",
"reference": "b0b76f9e5b5703e1d923b001d4ddba13d2392d2e",
"shasum": ""
},
"require": {
@ -192,11 +192,11 @@
"database abstraction",
"pdo"
],
"time": "2019-11-20T00:00:46+00:00"
"time": "2019-12-22T10:32:04+00:00"
},
{
"name": "cakephp/datasource",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/datasource.git",
@ -246,7 +246,7 @@
},
{
"name": "cakephp/log",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/log.git",
@ -291,16 +291,16 @@
},
{
"name": "cakephp/utility",
"version": "3.8.7",
"version": "3.8.8",
"source": {
"type": "git",
"url": "https://github.com/cakephp/utility.git",
"reference": "e60bf1dc7fbdbc0d717c950cbbeb3196d3bc0cf9"
"reference": "877801dfe21bbb4e1b80a5c623d6dc281824f9e1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/utility/zipball/e60bf1dc7fbdbc0d717c950cbbeb3196d3bc0cf9",
"reference": "e60bf1dc7fbdbc0d717c950cbbeb3196d3bc0cf9",
"url": "https://api.github.com/repos/cakephp/utility/zipball/877801dfe21bbb4e1b80a5c623d6dc281824f9e1",
"reference": "877801dfe21bbb4e1b80a5c623d6dc281824f9e1",
"shasum": ""
},
"require": {
@ -340,7 +340,7 @@
"string",
"utility"
],
"time": "2019-11-21T14:18:54+00:00"
"time": "2019-12-13T18:04:11+00:00"
},
{
"name": "cboden/ratchet",
@ -2645,23 +2645,21 @@
},
{
"name": "robmorgan/phinx",
"version": "0.11.3",
"version": "0.11.4",
"source": {
"type": "git",
"url": "https://github.com/cakephp/phinx.git",
"reference": "3c6a171b0455225cf42716dc4864feb620da716f"
"reference": "10e8c3f6b09111f4c0ef128d5a43375e15286cc5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cakephp/phinx/zipball/3c6a171b0455225cf42716dc4864feb620da716f",
"reference": "3c6a171b0455225cf42716dc4864feb620da716f",
"url": "https://api.github.com/repos/cakephp/phinx/zipball/10e8c3f6b09111f4c0ef128d5a43375e15286cc5",
"reference": "10e8c3f6b09111f4c0ef128d5a43375e15286cc5",
"shasum": ""
},
"require": {
"cakephp/collection": "^3.6",
"cakephp/core": "^3.6",
"cakephp/database": "^3.6",
"cakephp/datasource": "^3.6",
"cakephp/collection": "^3.7",
"cakephp/database": "^3.7",
"php": ">=5.6",
"symfony/config": "^3.4|^4.0|^5.0",
"symfony/console": "^3.4|^4.0|^5.0",
@ -2718,7 +2716,7 @@
"migrations",
"phinx"
],
"time": "2019-12-12T16:53:38+00:00"
"time": "2019-12-24T23:43:31+00:00"
},
{
"name": "symfony/config",

2
src/Movim/Console/DaemonCommand.php

@ -63,7 +63,7 @@ class DaemonCommand extends Command
$config = new Config(require(DOCUMENT_ROOT . '/phinx.php'));
$manager = new Manager($config, $input, new NullOutput);
if ($manager->printStatus('movim') > 0) {
if ($manager->printStatus('movim')['hasDownMigration']) {
$output->writeln('<comment>The database needs to be migrated before running the daemon</comment>');
$output->writeln('<info>To migrate the database run</info>');
$output->writeln('<info>php vendor/bin/phinx migrate</info>');

Loading…
Cancel
Save