Skip to content

Commit 6f429fa

Browse files
[2026-06-05] - Sync content (27023424975) (#75)
> [!NOTE] > This PR copies content from the source repo. > Source repo commit [5545251](shoptet/cms4@5545251) **List of changes:** - Temporarily disable `treatPhpDocTypesAsCertain` in API SDK PHPstan due to err in PHPdoc when return type of `mb_strlen()` is set as `int<1, max>` but it can also be set to 0 for empty strings Co-authored-by: xmalda <24293733+xmalda@users.noreply.github.com>
1 parent f3be7c1 commit 6f429fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ parameters:
1010
reportAlwaysTrueInLastCondition: true
1111
checkMissingCallableSignature: true
1212
checkTooWideReturnTypesInProtectedAndPublicMethods: true
13+
treatPhpDocTypesAsCertain: false
1314

1415
bootstrapFiles:
1516
- build/phpstan.bootstrap.php

0 commit comments

Comments
 (0)