-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/4.6'
# Conflicts: # composer.json # src/bundle/Controller/QueryFieldRestController.php # src/lib/Persistence/Legacy/Content/FieldValue/Converter/QueryConverter.php # src/lib/QueryFieldPaginationService.php
- Loading branch information
Showing
22 changed files
with
258 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: '#^Parameter \#1 \$href of method Ibexa\\Rest\\RequestParser\:\:parseHref\(\) expects string, string\|null given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/bundle/Controller/QueryFieldRestController.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$locationId of method Ibexa\\Contracts\\Core\\Repository\\LocationService\:\:loadLocation\(\) expects int, int\|null given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/bundle/Controller/QueryFieldRestController.php | ||
|
||
- | ||
message: '#^Argument of an invalid type array\|bool\|float\|int\|string\|null supplied for foreach, only iterables are supported\.$#' | ||
identifier: foreach.nonIterable | ||
count: 1 | ||
path: src/bundle/DependencyInjection/Compiler/FieldDefinitionIdentifierViewMatcherPass.php | ||
|
||
- | ||
message: '#^Cannot access offset \(int\|string\) on non\-empty\-array\|bool\|float\|int\|string\|null\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 1 | ||
path: src/bundle/DependencyInjection/Compiler/FieldDefinitionIdentifierViewMatcherPass.php | ||
|
||
- | ||
message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(int\|string\)\: bool\)\|null, Closure\(mixed\)\: \(0\|1\|false\) given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/bundle/DependencyInjection/Compiler/FieldDefinitionIdentifierViewMatcherPass.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$queryTypeIdentifier of method Ibexa\\Bundle\\FieldTypeQuery\\DependencyInjection\\Compiler\\QueryTypesListPass\:\:buildQueryTypeName\(\) expects string, int\|string given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/bundle/DependencyInjection/Compiler/QueryTypesListPass.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$input of static method Symfony\\Component\\Yaml\\Yaml\:\:parse\(\) expects string, string\|false given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/bundle/DependencyInjection/IbexaFieldTypeQueryExtension.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\ContentView\\QueryResultsInjector\:\:__construct\(\) has parameter \$views with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/ContentView/QueryResultsInjector.php | ||
|
||
- | ||
message: '#^Property Ibexa\\FieldTypeQuery\\ContentView\\QueryResultsInjector\:\:\$queryFieldService \(Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldLocationService&Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldServiceInterface\) does not accept Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldServiceInterface\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/lib/ContentView/QueryResultsInjector.php | ||
|
||
- | ||
message: '#^Property Ibexa\\FieldTypeQuery\\ContentView\\QueryResultsInjector\:\:\$views type has no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/ContentView/QueryResultsInjector.php | ||
|
||
- | ||
message: '#^Property Ibexa\\FieldTypeQuery\\ExceptionSafeQueryFieldService\:\:\$inner \(Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldLocationService&Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldServiceInterface\) does not accept Ibexa\\Contracts\\FieldTypeQuery\\QueryFieldServiceInterface\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/lib/ExceptionSafeQueryFieldService.php | ||
|
||
- | ||
message: '#^Class Ibexa\\FieldTypeQuery\\FieldType\\Form\\QueryFieldFormType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/lib/FieldType/Form/QueryFieldFormType.php | ||
|
||
- | ||
message: '#^Generator expects key type string, string\|null given\.$#' | ||
identifier: generator.keyType | ||
count: 1 | ||
path: src/lib/FieldType/Mapper/QueryFormMapper.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\FieldType\\Mapper\\QueryFormMapper\:\:mapFieldDefinitionForm\(\) has parameter \$fieldDefinitionForm with generic interface Symfony\\Component\\Form\\FormInterface but does not specify its types\: TData$#' | ||
identifier: missingType.generics | ||
count: 1 | ||
path: src/lib/FieldType/Mapper/QueryFormMapper.php | ||
|
||
- | ||
message: '#^Property Ibexa\\Core\\Persistence\\Legacy\\Content\\StorageFieldValue\:\:\$dataText \(string\) does not accept array\|bool\|float\|int\|string\|null\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/QueryConverter.php | ||
|
||
- | ||
message: '#^Anonymous function should return Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Content but returns Ibexa\\Contracts\\Core\\Repository\\Values\\ValueObject\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:isExpression\(\) has parameter \$expression with no type specified\.$#' | ||
identifier: missingType.parameter | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:prepareQuery\(\) has parameter \$extraParameters with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:resolveExpression\(\) has no return type specified\.$#' | ||
identifier: missingType.return | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:resolveExpression\(\) has parameter \$variables with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:resolveParameters\(\) has parameter \$expressions with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:resolveParameters\(\) has parameter \$variables with no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/QueryFieldService.php | ||
|
||
- | ||
message: '#^Method Ibexa\\FieldTypeQuery\\QueryFieldService\:\:resolveParameters\(\) return type has no value type specified in iterable type array\.$#' | ||
identifier: missingType.iterableValue | ||
count: 1 | ||
path: src/lib/QueryFieldService.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
- vendor/phpstan/phpstan-phpunit/extension.neon | ||
- vendor/phpstan/phpstan-symfony/extension.neon | ||
- vendor/ibexa/phpstan/extension.neon | ||
|
||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Cannot call method (log|debug|info|notice|warning|error|critical|alert|emergency)\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#" | ||
level: 8 | ||
paths: | ||
- src | ||
treatPhpDocTypesAsCertain: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.