mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 04:28:47 +08:00
292 lines
10 KiB
Plaintext
292 lines
10 KiB
Plaintext
includes:
|
|
- vendor/phpstan/phpstan-php-parser/extension.neon
|
|
parameters:
|
|
stubFiles:
|
|
- stubs/Illuminate/Enumerable.stub
|
|
- stubs/Illuminate/Database/EloquentBuilder.stub
|
|
- stubs/Illuminate/Collection.stub
|
|
- stubs/Illuminate/Database/EloquentCollection.stub
|
|
- stubs/Illuminate/Database/Factory.stub
|
|
- stubs/Illuminate/Database/Model.stub
|
|
- stubs/Illuminate/Database/Gate.stub
|
|
- stubs/Illuminate/Database/Relation.stub
|
|
- stubs/Illuminate/Database/BelongsTo.stub
|
|
- stubs/Illuminate/Database/BelongsToMany.stub
|
|
- stubs/Illuminate/Database/HasOneOrMany.stub
|
|
- stubs/Illuminate/Database/HasMany.stub
|
|
- stubs/Illuminate/Database/HasOne.stub
|
|
- stubs/Illuminate/Database/HasOneThrough.stub
|
|
- stubs/Illuminate/Database/HasManyThrough.stub
|
|
- stubs/Illuminate/Database/MorphTo.stub
|
|
- stubs/Illuminate/Database/MorphToMany.stub
|
|
- stubs/Illuminate/Database/MorphMany.stub
|
|
- stubs/Illuminate/Database/MorphOne.stub
|
|
- stubs/Illuminate/Database/MorphOneOrMany.stub
|
|
- stubs/Illuminate/HigherOrderProxies.stub
|
|
- stubs/Illuminate/Database/QueryBuilder.stub
|
|
- stubs/Illuminate/EnumeratesValues.stub
|
|
- stubs/Contracts/Support.stub
|
|
universalObjectCratesClasses:
|
|
- Illuminate\Http\Request
|
|
mixinExcludeClasses:
|
|
- Eloquent
|
|
earlyTerminatingFunctionCalls:
|
|
- abort
|
|
- dd
|
|
excludePaths:
|
|
- *.blade.php
|
|
checkGenericClassInNonGenericObjectType: false
|
|
checkModelProperties: false
|
|
databaseMigrationsPath: []
|
|
|
|
parametersSchema:
|
|
databaseMigrationsPath: listOf(string())
|
|
checkModelProperties: bool()
|
|
|
|
services:
|
|
-
|
|
class: Flarum\PHPStan\Methods\RelationForwardsCallsExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\ModelForwardsCallsExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\EloquentBuilderForwardsCallsExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\HigherOrderTapProxyExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\HigherOrderCollectionProxyExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\StorageMethodsClassReflectionExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Methods\Extension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
-
|
|
class: Flarum\PHPStan\Methods\ModelFactoryMethodsClassReflectionExtension
|
|
tags:
|
|
- phpstan.broker.methodsClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Properties\ModelAccessorExtension
|
|
tags:
|
|
- phpstan.broker.propertiesClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Properties\ModelPropertyExtension
|
|
tags:
|
|
- phpstan.broker.propertiesClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Properties\HigherOrderCollectionProxyPropertyExtension
|
|
tags:
|
|
- phpstan.broker.propertiesClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\RelationDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\ModelRelationsDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\HigherOrderTapProxyExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ContainerArrayAccessDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
arguments:
|
|
className: Illuminate\Contracts\Container\Container
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ContainerArrayAccessDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
arguments:
|
|
className: Illuminate\Container\Container
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ContainerArrayAccessDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
arguments:
|
|
className: Illuminate\Foundation\Application
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ContainerArrayAccessDynamicMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
arguments:
|
|
className: Illuminate\Contracts\Foundation\Application
|
|
|
|
-
|
|
class: Flarum\PHPStan\Properties\ModelRelationsExtension
|
|
tags:
|
|
- phpstan.broker.propertiesClassReflectionExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ModelFactoryDynamicStaticMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ModelExtension
|
|
tags:
|
|
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\RequestExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\EloquentBuilderExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\RelationFindExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\RelationCollectionExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\ModelFindExtension
|
|
tags:
|
|
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\BuilderModelFindExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\TestCaseExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\CollectionMakeDynamicStaticMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Support\CollectionHelper
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\CollectExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\TransExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\ValidatorExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\CollectionFilterDynamicReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\AbortIfFunctionTypeSpecifyingExtension
|
|
tags:
|
|
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
|
|
arguments:
|
|
methodName: 'abort'
|
|
negate: false
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\AbortIfFunctionTypeSpecifyingExtension
|
|
tags:
|
|
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
|
|
arguments:
|
|
methodName: 'abort'
|
|
negate: true
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\AbortIfFunctionTypeSpecifyingExtension
|
|
tags:
|
|
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
|
|
arguments:
|
|
methodName: throw
|
|
negate: false
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\AbortIfFunctionTypeSpecifyingExtension
|
|
tags:
|
|
- phpstan.typeSpecifier.functionTypeSpecifyingExtension
|
|
arguments:
|
|
methodName: throw
|
|
negate: true
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\AppExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\ValueExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\Helpers\TapExtension
|
|
tags:
|
|
- phpstan.broker.dynamicFunctionReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\ReturnTypes\StorageDynamicStaticMethodReturnTypeExtension
|
|
tags:
|
|
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\GenericEloquentCollectionTypeNodeResolverExtension
|
|
tags:
|
|
- phpstan.phpDoc.typeNodeResolverExtension
|
|
|
|
-
|
|
class: Flarum\PHPStan\Types\ViewStringTypeNodeResolverExtension
|
|
tags:
|
|
- phpstan.phpDoc.typeNodeResolverExtension
|
|
-
|
|
class: Flarum\PHPStan\Methods\BuilderHelper
|
|
arguments:
|
|
checkProperties: %checkModelProperties%
|
|
-
|
|
class: Flarum\PHPStan\Properties\MigrationHelper
|
|
arguments:
|
|
databaseMigrationPath: %databaseMigrationsPath%
|
|
parser: @currentPhpVersionSimpleDirectParser
|
|
-
|
|
class: Flarum\PHPStan\Types\RelationParserHelper
|
|
arguments:
|
|
parser: @currentPhpVersionSimpleDirectParser
|