Switched mysql config file use to be an extra file, so that existing
system config files can be considered instead of being ignored.
Does mean that user config files could take precedance, but hopefully
that should not be a big concern.
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "4f9274d16374a47807601a331304aaae",
+ "content-hash": "dfedeb5644f1db57e37ec243b28033ee",
"packages": [
{
"name": "graham-campbell/result-type",
"packages": [
{
"name": "graham-campbell/result-type",
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
$this->database,
'-e', "show tables;"
]);
$this->database,
'-e', "show tables;"
]);
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
$this->database,
'-e', "source {$sqlFilePath}"
]);
$this->database,
'-e', "source {$sqlFilePath}"
]);
->withIdleTimeout(300)
->withAdditionalPathLocation('C:\xampp\mysql\bin')
->runWithoutOutputCallbacks([
->withIdleTimeout(300)
->withAdditionalPathLocation('C:\xampp\mysql\bin')
->runWithoutOutputCallbacks([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
'--single-transaction',
'--no-tablespaces',
$this->database,
'--single-transaction',
'--no-tablespaces',
$this->database,
<?php declare(strict_types=1);
<?php declare(strict_types=1);
+namespace Tests\Commands;
$this->withOwnBookStackFolder(function (string $basePath) {
exec("rm -rf $basePath/vendor");
file_put_contents("$basePath/version", 'v25.02');
$this->withOwnBookStackFolder(function (string $basePath) {
exec("rm -rf $basePath/vendor");
file_put_contents("$basePath/version", 'v25.02');
- mkdir("$basePath/dev/checksums", '0777', true);
+ mkdir("$basePath/dev/checksums", 0777, true);
file_put_contents("$basePath/dev/checksums/vendor", '22e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$this->assertDirectoryDoesNotExist("$basePath/vendor");
file_put_contents("$basePath/dev/checksums/vendor", '22e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$this->assertDirectoryDoesNotExist("$basePath/vendor");
exec("rm -rf $basePath/vendor");
file_put_contents("$basePath/version", 'v25.02');
exec("rm -rf $basePath/vendor");
file_put_contents("$basePath/version", 'v25.02');
- mkdir("$basePath/dev/checksums", '0777', true);
+ mkdir("$basePath/dev/checksums", 0777, true);
file_put_contents("$basePath/dev/checksums/vendor", '22e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$this->assertDirectoryDoesNotExist("$basePath/vendor");
file_put_contents("$basePath/dev/checksums/vendor", '22e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$this->assertDirectoryDoesNotExist("$basePath/vendor");
{
$this->withOwnBookStackFolder(function (string $basePath) {
file_put_contents("$basePath/version", 'v25.02');
{
$this->withOwnBookStackFolder(function (string $basePath) {
file_put_contents("$basePath/version", 'v25.02');
- mkdir("$basePath/dev/checksums", '0777', true);
+ mkdir("$basePath/dev/checksums", 0777, true);
file_put_contents("$basePath/dev/checksums/vendor", '42e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$result = $this->runCommand('download-vendor');
file_put_contents("$basePath/dev/checksums/vendor", '42e02ee72d21ff719c1073abbec8302f8e2096ba6d072e133051064ed24b45b1');
$result = $this->runCommand('download-vendor');