Skip to content

Commit 8535c6d

Browse files
committed
Updated dependencies (symfony/console: 5.0).
1 parent 0b2501c commit 8535c6d

File tree

6 files changed

+25
-19
lines changed

6 files changed

+25
-19
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: php
22
php:
3-
- '7.1'
43
- '7.2'
54
- '7.3'
6-
7-
sudo: true
5+
- '7.4'
6+
7+
sudo: true
88

99
addons:
1010
mariadb: '10.2'
@@ -14,12 +14,12 @@ before_install:
1414
- mysql -u root -e "set global binlog_format = 'row';"
1515
- mysql -u root -e "set global log_bin_trust_function_creators = 1;"
1616
- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
17-
17+
1818
install:
1919
- composer self-update
2020
- composer update
21-
22-
script:
21+
22+
script:
2323
- ./bin/phing unit
2424

2525

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
"type": "tool",
1010
"license": "MIT",
1111
"require": {
12-
"php": ">=7.1.0",
12+
"php": ">=7.2.0",
1313
"ext-json": "*",
14-
"setbased/error-handler": "^1.0.0",
15-
"setbased/exception": "^2.0.0",
16-
"setbased/helper-code-store-mysql": "^2.0.0",
17-
"setbased/php-stratum-middle": "^5.0.0",
18-
"setbased/php-stratum-mysql": "^4.0.0",
19-
"setbased/typed-config": "^1.0.0",
20-
"symfony/console": "^4.0.0"
14+
"setbased/error-handler": "^1.0",
15+
"setbased/exception": "^2.0",
16+
"setbased/helper-code-store-mysql": "^2.0",
17+
"setbased/php-stratum-middle": "^5.0",
18+
"setbased/php-stratum-mysql": "^4.0",
19+
"setbased/typed-config": "^1.0",
20+
"symfony/console": "^4.0 || ^5.0"
2121
},
2222
"require-dev": {
2323
"ext-pcntl": "*",
2424
"ext-posix": "*",
25-
"phpunit/phpunit": "^7.0.0 || ^8.0.0",
26-
"phing/phing": "^2.0.0",
27-
"setbased/phing-extensions": "^2.1.0"
25+
"phpunit/phpunit": "^8.0 || ^9.0",
26+
"phing/phing": "^2.0",
27+
"setbased/phing-extensions": "^2.1"
2828
},
2929
"autoload": {
3030
"psr-4": {

src/Command/AlterAuditTableCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
6969
{
7070
$this->io->write($sql);
7171
}
72+
73+
return 0;
7274
}
7375

7476
//--------------------------------------------------------------------------------------------------------------------

src/Command/AuditCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
4141
$this->configFileName = $input->getArgument('config file');
4242
$this->readConfigFile();
4343

44-
// Create database connection with params from config file
4544
$this->connect();
4645

4746
$audit = new Audit($this->config, $this->io);
@@ -50,6 +49,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
5049
AuditDataLayer::disconnect();
5150

5251
$this->rewriteConfig();
52+
53+
return 0;
5354
}
5455

5556
//--------------------------------------------------------------------------------------------------------------------

src/Command/DiffCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
4242

4343
$diff = new Diff($this->config, $this->io, $input, $output);
4444
$diff->main();
45+
46+
return 0;
4547
}
4648

4749
//--------------------------------------------------------------------------------------------------------------------

src/Command/DropTriggersCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,15 @@ protected function execute(InputInterface $input, OutputInterface $output)
3838
$this->configFileName = $input->getArgument('config file');
3939
$this->readConfigFile();
4040

41-
// Create database connection with params from config file
4241
$this->connect();
4342

4443
$this->dropTriggers();
4544

4645
AuditDataLayer::disconnect();
4746

4847
$this->rewriteConfig();
48+
49+
return 0;
4950
}
5051

5152
//--------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)