Skip to content

Commit 08e069f

Browse files
Merge pull request #83 from mirko-pagliai/develop
Develop
2 parents 0aeb4e6 + 68be176 commit 08e069f

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# 2.x branch
22
## 2.10 branch
33
### 2.10.1
4-
* stable version.
4+
* stable version;
5+
* updated for `php-tools` 1.5.8.
56

67
### 2.10.0-beta1
78
* now allows to configure and customize via bootstrap the executable commands to

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"require": {
1414
"php": ">=7.2",
1515
"cakephp/cakephp": "^4.0",
16-
"mirko-pagliai/php-tools": "^1.5.5"
16+
"mirko-pagliai/php-tools": "^1.5.8"
1717
},
1818
"require-dev": {
1919
"cakephp/cakephp-codesniffer": "^4.4",

src/Driver/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function _exec(string $command): Process
9696
*/
9797
protected function _getExecutable(string $type): string
9898
{
99-
Exceptionist::inArray([$type, ['export', 'import']]);
99+
Exceptionist::inArray($type, ['export', 'import']);
100100
$driver = strtolower($this->getDriverName());
101101
$replacements = [
102102
'{{BINARY}}' => escapeshellarg($this->getBinary(DATABASE_BACKUP_EXECUTABLES[$driver][$type])),

tests/TestCase/BackupTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public function testGetDriver(): void
102102
}
103103

104104
//With a no existing driver
105-
$connection = @$this->getMockBuilder(Connection::class)
106-
->setMethods(['getDriver'])
105+
$connection = $this->getMockBuilder(Connection::class)
106+
->setMethods(['__debuginfo', 'getDriver'])
107107
->disableOriginalConstructor()
108108
->getMock();
109109
$connection->method('getDriver')->will($this->returnValue(new Sqlserver()));

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
/**
7373
* @todo Upgrade fixtures: https://book.cakephp.org/4/en/appendices/fixture-upgrade.html
7474
*/
75-
Configure::write('Error.ignoredDeprecationPaths', ['*/cakephp/src/TestSuite/Fixture/FixtureInjector.php']);
75+
Configure::write('Error.ignoredDeprecationPaths', ['tureInjector.php', '*/cakephp/src/TestSuite/Fixture/FixtureInjector.php']);
7676

7777
Cache::setConfig([
7878
'_cake_core_' => [

0 commit comments

Comments
 (0)