Skip to content

Reduce "Cannot access property" errors detected by PHPStan #134

Reduce "Cannot access property" errors detected by PHPStan

Reduce "Cannot access property" errors detected by PHPStan #134

Triggered via pull request November 24, 2024 03:52
@msykmsyk
closed #111
Status Success
Total duration 35s
Artifacts

phpstan.yml

on: pull_request_target
Matrix: Run PHPStan
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Run PHPStan (2): src/Supporting/FileMakerRelation.php#L15
PHPDoc tag @Property has invalid value (string $<<field_name>> The field value named as the property name.): Unexpected token "$<<field_name>>", expected variable at offset 383 on line 8
Run PHPStan (2): src/Supporting/FileMakerRelation.php#L16
PHPDoc tag @Property has invalid value (FileMakerRelation $<<portal_name>> FileMakerRelation object associated with the property name. The table occurrence name of the portal can be the 'portal_name,' and also the object name of the portal.): Unexpected token "$<<portal_name>>", expected variable at offset 474 on line 9
Run PHPStan (2): src/Supporting/FileMakerRelation.php#L364
Cannot access property $portalData on array|object.
Run PHPStan (2)
Process completed with exit code 1.