Add reproducible builds by building through GitHub actions #262
static-analysis.yml
on: pull_request
PHPStan
1m 18s
Psalm
51s
Annotations
10 errors and 2 warnings
PossiblyUndefinedArrayOffset:
module/Checker/src/Model/TueData.php#L165
module/Checker/src/Model/TueData.php:165:25: PossiblyUndefinedArrayOffset: Possibly undefined array key $this->data['registrations'] on array{lastupdated?: null|string, mail?: string, name?: array{given?: string, initials?: string, last?: string}, registrations?: array<array-key, array{dept: string, generation: int, study: string}>, sAMAccountName?: string} (see https://psalm.dev/167)
|
InvalidReturnType:
module/Database/src/Controller/QueryController.php#L21
module/Database/src/Controller/QueryController.php:21:36: InvalidReturnType: The declared return type 'Laminas\View\Model\ViewModel' for Database\Controller\QueryController::indexAction is incorrect, got 'Laminas\Http\Response|Laminas\View\Model\ViewModel' (see https://psalm.dev/011)
|
InvalidReturnStatement:
module/Database/src/Controller/QueryController.php#L43
module/Database/src/Controller/QueryController.php:43:24: InvalidReturnStatement: The inferred type 'Laminas\Http\Response' does not match the declared return type 'Laminas\View\Model\ViewModel' for Database\Controller\QueryController::indexAction (see https://psalm.dev/128)
|
PossiblyInvalidArrayOffset:
module/Database/src/Form/OrganRegulation.php#L200
module/Database/src/Form/OrganRegulation.php:200:17: PossiblyInvalidArrayOffset: Cannot access value on variable $option using offset value of 'value', expecting int (see https://psalm.dev/116)
|
PossiblyUndefinedArrayOffset:
module/Database/src/Service/Meeting.php#L599
module/Database/src/Service/Meeting.php:599:24: PossiblyUndefinedArrayOffset: Possibly undefined array key $decision[$subDecisionType] on array{discharges?: list<Database\Model\SubDecision\Installation>|mixed, installations: list<array{function: mixed, member: Database\Model\Member}>, meeting: Database\Model\Meeting, reappointments?: list<Database\Model\SubDecision\Installation>|mixed, subdecision: Database\Model\SubDecision\Foundation, ...<array-key, mixed>} (see https://psalm.dev/167)
|
UndefinedMagicPropertyFetch:
module/Database/src/Service/Stripe.php#L293
module/Database/src/Service/Stripe.php:293:23: UndefinedMagicPropertyFetch: Magic instance property Stripe\StripeObject::$object is not defined (see https://psalm.dev/218)
|
UndefinedMagicPropertyFetch:
module/Database/src/Service/Stripe.php#L311
module/Database/src/Service/Stripe.php:311:20: UndefinedMagicPropertyFetch: Magic instance property Stripe\StripeObject::$object is not defined (see https://psalm.dev/218)
|
UndefinedMagicPropertyFetch:
module/Database/src/Service/Stripe.php#L379
module/Database/src/Service/Stripe.php:379:34: UndefinedMagicPropertyFetch: Magic instance property Stripe\StripeObject::$recovery is not defined (see https://psalm.dev/218)
|
NoValue:
module/Report/src/Listener/DatabaseUpdateListener.php#L88
module/Report/src/Listener/DatabaseUpdateListener.php:88:17: NoValue: All possible types for this assignment were invalidated - This may be dead code (see https://psalm.dev/179)
|
InvalidNullableReturnType:
module/Report/src/Service/Meeting.php#L414
module/Report/src/Service/Meeting.php:414:62: InvalidNullableReturnType: The declared return type 'Report\Model\Member' for Report\Service\Meeting::findMember is not nullable, but 'Report\Model\Member|null' contains null (see https://psalm.dev/144)
|
Psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPStan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|