Skip to content

Merge pull request #139 from matsuo/phpstan #3

Merge pull request #139 from matsuo/phpstan

Merge pull request #139 from matsuo/phpstan #3

Triggered via push January 12, 2026 14:44
Status Success
Total duration 19s
Artifacts

phan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run Phan: src/Supporting/FileMakerRelation.php#L273
PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
Run Phan: src/Supporting/FileMakerRelation.php#L155
PhanTypeMismatchPropertyProbablyReal Assigning $name of type string to property but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation->portalName is \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
Run Phan: src/Supporting/FileMakerRelation.php#L83
PhanTypeMismatchPropertyProbablyReal Assigning $portalName of type null|string to property but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation->portalName is \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
Run Phan: src/Supporting/FileMakerLayout.php#L271
PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
Run Phan: src/Supporting/FileMakerLayout.php#L221
PhanTypeMismatchArgumentReal Argument 2 ($infoData) is null of type null but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72
Run Phan: src/Supporting/CommunicationProvider.php#L792
PhanTypeArraySuspiciousNullable Suspicious array access to $this->curlInfo of nullable type ?array|array|null
Run Phan: src/Supporting/CommunicationProvider.php#L374
PhanTypeMismatchReturnNullable Returning $result of type ?array|?array{sort?:array{}|non-empty-list<array{fieldName:mixed,sortOrder:'ascend'|string}>|null,query?:mixed|null|string[][],fieldData:string[]}|?non-empty-array<mixed,mixed> but justifyRequest() is declared to return array (expected returned value to be non-nullable)
Run Phan: src/FMDataAPI.php#L77
PhanUndeclaredClassMethod Call to method __construct from undeclared class \INTERMediator\FileMakerServer\RESTAPI\Supporting\TestProvider
Run Phan: src/FMDataAPI.php#L77
PhanTypeMismatchPropertyReal Assigning new Supporting\TestProvider($solution, $user, $password, $host, $port, $protocol, $fmDataSource) of type \INTERMediator\FileMakerServer\RESTAPI\Supporting\TestProvider to property but \INTERMediator\FileMakerServer\RESTAPI\FMDataAPI->provider is \INTERMediator\FileMakerServer\RESTAPI\Supporting\CommunicationProvider|null (no real type)
Run Phan: src/FMDataAPI.php#L6
PhanUnreferencedUseNormal Possibly zero references to use statement for classlike/namespace FileMakerRelation (\INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation)