Merge pull request #157 from matsuo/update-composer #4
Annotations
10 errors and 1 warning
|
Run Phan:
src/Supporting/FileMakerRelation.php#L510
PhanTypeMismatchReturn Returning $value of type null but getModId() is declared to return int
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L426
PhanTypeSuspiciousStringExpression Suspicious type \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation of a variable or expression $this->portalName used to build a string. (Expected type to be able to cast to a string)
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L275
PhanTypeMismatchArgument Argument 5 ($portalName) is $this->portalName of type \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation|\Iterator|\Traversable|iterable but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes null|string defined at src/Supporting/FileMakerRelation.php:73
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L156
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#L84
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/CommunicationProvider.php#L979
PhanTypeArraySuspiciousNullable Suspicious array access to $this->curlInfo of nullable type ?array|array|null
|
|
Run Phan:
src/Supporting/CommunicationProvider.php#L461
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#L88
PhanUndeclaredClassMethod Call to method __construct from undeclared class \INTERMediator\FileMakerServer\RESTAPI\Supporting\TestProvider
|
|
Run Phan:
src/FMDataAPI.php#L88
PhanTypeMismatchPropertyReal Assigning new Supporting\TestProvider($solution, $user, $password, $host, $port, $protocol, $fmDataSource, $sessionCache) 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#L7
PhanUnreferencedUseNormal Possibly zero references to use statement for classlike/namespace FileMakerRelation (\INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation)
|
|
Run Phan
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache/restore@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|