1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Deps: Updated PHP composer dependancy versions, fixed test namespaces

This commit is contained in:
Dan Brown
2025-07-27 11:24:54 +01:00
parent c8cfec96dc
commit 6d7ffab115
3 changed files with 36 additions and 38 deletions

68
composer.lock generated
View File

@@ -62,16 +62,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.349.3", "version": "3.351.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "b2d4718786398f47626add9c29840fc416175ef2" "reference": "9506d7fdb3cb84f8d7b175c594db9993264814be"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b2d4718786398f47626add9c29840fc416175ef2", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/9506d7fdb3cb84f8d7b175c594db9993264814be",
"reference": "b2d4718786398f47626add9c29840fc416175ef2", "reference": "9506d7fdb3cb84f8d7b175c594db9993264814be",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -153,9 +153,9 @@
"support": { "support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.349.3" "source": "https://github.com/aws/aws-sdk-php/tree/3.351.7"
}, },
"time": "2025-07-09T18:10:17+00:00" "time": "2025-07-25T18:06:34+00:00"
}, },
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
@@ -2075,16 +2075,16 @@
}, },
{ {
"name": "laravel/socialite", "name": "laravel/socialite",
"version": "v5.21.0", "version": "v5.23.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/socialite.git", "url": "https://github.com/laravel/socialite.git",
"reference": "d83639499ad14985c9a6a9713b70073300ce998d" "reference": "e9e0fc83b9d8d71c8385a5da20e5b95ca6234cf5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/socialite/zipball/d83639499ad14985c9a6a9713b70073300ce998d", "url": "https://api.github.com/repos/laravel/socialite/zipball/e9e0fc83b9d8d71c8385a5da20e5b95ca6234cf5",
"reference": "d83639499ad14985c9a6a9713b70073300ce998d", "reference": "e9e0fc83b9d8d71c8385a5da20e5b95ca6234cf5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2143,7 +2143,7 @@
"issues": "https://github.com/laravel/socialite/issues", "issues": "https://github.com/laravel/socialite/issues",
"source": "https://github.com/laravel/socialite" "source": "https://github.com/laravel/socialite"
}, },
"time": "2025-05-19T12:56:37+00:00" "time": "2025-07-23T14:16:08+00:00"
}, },
{ {
"name": "laravel/tinker", "name": "laravel/tinker",
@@ -2213,16 +2213,16 @@
}, },
{ {
"name": "league/commonmark", "name": "league/commonmark",
"version": "2.7.0", "version": "2.7.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/commonmark.git", "url": "https://github.com/thephpleague/commonmark.git",
"reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405" "reference": "10732241927d3971d28e7ea7b5712721fa2296ca"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca",
"reference": "6fbb36d44824ed4091adbcf4c7d4a3923cdb3405", "reference": "10732241927d3971d28e7ea7b5712721fa2296ca",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -2251,7 +2251,7 @@
"symfony/process": "^5.4 | ^6.0 | ^7.0", "symfony/process": "^5.4 | ^6.0 | ^7.0",
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0", "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0",
"unleashedtech/php-coding-standard": "^3.1.1", "unleashedtech/php-coding-standard": "^3.1.1",
"vimeo/psalm": "^4.24.0 || ^5.0.0" "vimeo/psalm": "^4.24.0 || ^5.0.0 || ^6.0.0"
}, },
"suggest": { "suggest": {
"symfony/yaml": "v2.3+ required if using the Front Matter extension" "symfony/yaml": "v2.3+ required if using the Front Matter extension"
@@ -2316,7 +2316,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-05-05T12:20:28+00:00" "time": "2025-07-20T12:47:49+00:00"
}, },
{ {
"name": "league/config", "name": "league/config",
@@ -3049,16 +3049,16 @@
}, },
{ {
"name": "masterminds/html5", "name": "masterminds/html5",
"version": "2.9.0", "version": "2.10.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Masterminds/html5-php.git", "url": "https://github.com/Masterminds/html5-php.git",
"reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" "reference": "fcf91eb64359852f00d921887b219479b4f21251"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/fcf91eb64359852f00d921887b219479b4f21251",
"reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", "reference": "fcf91eb64359852f00d921887b219479b4f21251",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3110,9 +3110,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Masterminds/html5-php/issues", "issues": "https://github.com/Masterminds/html5-php/issues",
"source": "https://github.com/Masterminds/html5-php/tree/2.9.0" "source": "https://github.com/Masterminds/html5-php/tree/2.10.0"
}, },
"time": "2024-03-31T07:05:07+00:00" "time": "2025-07-25T09:04:22+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
@@ -8138,16 +8138,16 @@
}, },
{ {
"name": "larastan/larastan", "name": "larastan/larastan",
"version": "v3.5.0", "version": "v3.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/larastan/larastan.git", "url": "https://github.com/larastan/larastan.git",
"reference": "e8ccd73008487ba91da9877b373f8c447743f1ce" "reference": "6431d010dd383a9279eb8874a76ddb571738564a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/larastan/larastan/zipball/e8ccd73008487ba91da9877b373f8c447743f1ce", "url": "https://api.github.com/repos/larastan/larastan/zipball/6431d010dd383a9279eb8874a76ddb571738564a",
"reference": "e8ccd73008487ba91da9877b373f8c447743f1ce", "reference": "6431d010dd383a9279eb8874a76ddb571738564a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -8215,7 +8215,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/larastan/larastan/issues", "issues": "https://github.com/larastan/larastan/issues",
"source": "https://github.com/larastan/larastan/tree/v3.5.0" "source": "https://github.com/larastan/larastan/tree/v3.6.0"
}, },
"funding": [ "funding": [
{ {
@@ -8223,7 +8223,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-06-19T22:41:50+00:00" "time": "2025-07-11T06:52:52+00:00"
}, },
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
@@ -8587,16 +8587,16 @@
}, },
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "2.1.17", "version": "2.1.20",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053" "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/89b5ef665716fa2a52ecd2633f21007a6a349053", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a9ccfef95210f92ba6feea6e8d1eef42b5605499",
"reference": "89b5ef665716fa2a52ecd2633f21007a6a349053", "reference": "a9ccfef95210f92ba6feea6e8d1eef42b5605499",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -8641,7 +8641,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-05-21T20:55:28+00:00" "time": "2025-07-26T20:45:26+00:00"
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",

View File

@@ -1,10 +1,9 @@
<?php <?php
namespace Api; namespace Tests\Api;
use BookStack\Entities\Models\Book; use BookStack\Entities\Models\Book;
use BookStack\Entities\Models\Chapter; use BookStack\Entities\Models\Chapter;
use Tests\Api\TestsApi;
use Tests\Exports\ZipTestHelper; use Tests\Exports\ZipTestHelper;
use Tests\TestCase; use Tests\TestCase;

View File

@@ -1,10 +1,9 @@
<?php <?php
namespace Api; namespace Tests\Api;
use BookStack\Entities\Models\Page; use BookStack\Entities\Models\Page;
use BookStack\Exports\Import; use BookStack\Exports\Import;
use Tests\Api\TestsApi;
use Tests\Exports\ZipTestHelper; use Tests\Exports\ZipTestHelper;
use Tests\TestCase; use Tests\TestCase;