Skip to content

Commit d6e1bd9

Browse files
committed
Merge branch '5.x' into 5.next
2 parents 8c6bd6c + cda21f6 commit d6e1bd9

File tree

16 files changed

+114
-52
lines changed

16 files changed

+114
-52
lines changed

.github/workflows/deploy_docs_4x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Cloning repo
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

.github/workflows/deploy_docs_5x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Cloning repo
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

.phive/phars.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="2.1.0" installed="2.1.0" location="./tools/phpstan" copy="false"/>
4-
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
3+
<phar name="phpstan" version="2.1.17" installed="2.1.17" location="./tools/phpstan" copy="false"/>
54
</phive>

composer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,7 @@
6363
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
6464
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
6565
"phpstan": "tools/phpstan analyse",
66-
"psalm": "tools/psalm --show-info=false",
67-
"psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
68-
"stan": [
69-
"@phpstan",
70-
"@psalm"
71-
],
66+
"stan": "@phpstan",
7267
"stan-baseline": "tools/phpstan --generate-baseline",
7368
"stan-setup": "phive install",
7469
"test": "phpunit"

docs/en/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Configuration
4141
* ``DebugKit.safeTld`` - Set an array of whitelisted TLDs for local development.
4242
This can be used to make sure DebugKit displays on hosts it otherwise determines unsafe. ::
4343

44-
// Allow e.g. http://foo.bar.dev or http://my-shop.local domains locally
45-
Configure::write('DebugKit.safeTld', ['dev', 'local', 'example']);
44+
// Allow e.g. http://foo.bar.test or http://my-shop.local domains locally
45+
Configure::write('DebugKit.safeTld', ['test', 'local', 'example']);
4646

4747
* ``DebugKit.forceEnable`` - Force DebugKit to display. Careful with this, it is usually
4848
safer to simply whitelist your local TLDs. Example usage::

src/Cache/Engine/DebugEngine.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public function __construct(CacheEngine|array $config, string $name, LoggerInter
8282
*/
8383
public function init(array $config = []): bool
8484
{
85-
/** @psalm-suppress RedundantPropertyInitializationCheck */
8685
if (!isset($this->_engine)) {
8786
$registry = new CacheRegistry();
8887
$this->_engine = $registry->load('spies', $this->_config);
@@ -335,7 +334,6 @@ public function clearGroup(string $group): bool
335334
*/
336335
public function __toString(): string
337336
{
338-
/** @psalm-suppress RedundantPropertyInitializationCheck */
339337
if (isset($this->_engine)) {
340338
// phpcs:ignore SlevomatCodingStandard.Variables.UnusedVariable.UnusedVariable
341339
[$ns, $class] = namespaceSplit(get_class($this->_engine));

src/Database/Log/DebugLog.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ public function log($level, string|Stringable $message, array $context = []): vo
203203
*/
204204
protected function isSchemaQuery(LoggedQuery $query): bool
205205
{
206-
/** @psalm-suppress InternalMethod */
207206
$querystring = $query->jsonSerialize()['query'];
208207

209208
return // Multiple engines

src/DebugInclude.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public function __construct()
8282
*/
8383
public function includePaths(): array
8484
{
85-
/** @psalm-suppress RedundantCast */
8685
$paths = explode(PATH_SEPARATOR, (string)get_include_path());
8786
$paths = array_filter($paths, function ($path) {
8887
if ($path === '.' || strlen($path) === 0) {

src/Mailer/Transport/DebugKitTransport.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public function __construct(array $config = [], ?AbstractTransport $originalTran
5757

5858
if ($className) {
5959
unset($config['originalClassName'], $config['debugKitLog']);
60-
/** @psalm-suppress UnsafeInstantiation */
6160
$this->originalTransport = new $className($config);
6261
}
6362
}

src/Middleware/DebugKitMiddleware.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
6363
return $response;
6464
}
6565

66-
/** @psalm-suppress ArgumentTypeCoercion */
6766
$row = $this->service->saveData($request, $response);
6867
if (!$row) {
6968
return $response;

0 commit comments

Comments
 (0)