"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",
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
$this->database,
'-e', "show tables;"
]);
->withTimeout(300)
->withIdleTimeout(300)
->runCapturingStdErr([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
$this->database,
'-e', "source {$sqlFilePath}"
]);
->withIdleTimeout(300)
->withAdditionalPathLocation('C:\xampp\mysql\bin')
->runWithoutOutputCallbacks([
- "--defaults-file={$optionsFile}",
+ "--defaults-extra-file={$optionsFile}",
'--single-transaction',
'--no-tablespaces',
$this->database,
<?php declare(strict_types=1);
-namespace Commands;
+namespace Tests\Commands;
use Tests\TestCase;
$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");
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");
{
$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');