Skip to content

Integrate Twingle Shop #22

Integrate Twingle Shop

Integrate Twingle Shop #22

Triggered via pull request May 8, 2024 15:29
Status Failure
Total duration 57s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

47 errors and 1 warning
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L152
Parameter #1 $id of static method CRM_Twingle_Profile::getProfile() expects int|null, mixed given.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L220
Caught class Civi\Core\Exception\DBQueryException not found.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L221
Call to method getMessage() on an unknown class Civi\Core\Exception\DBQueryException.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L506
Only booleans are allowed in an if condition, mixed given.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L564
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L578
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L615
Cannot access offset 'required' on bool|string.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L627
Method CRM_Twingle_Form_Profile::setDefaultValues() should return array<string, mixed> but returns array|null.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L634
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L152
Parameter #1 $id of static method CRM_Twingle_Profile::getProfile() expects int|null, mixed given.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L220
Caught class Civi\Core\Exception\DBQueryException not found.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L221
Call to method getMessage() on an unknown class Civi\Core\Exception\DBQueryException.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L506
Only booleans are allowed in an if condition, mixed given.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L564
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L578
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L615
Cannot access offset 'required' on bool|string.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L627
Method CRM_Twingle_Form_Profile::setDefaultValues() should return array<string, mixed> but returns array|null.
PHPStan with PHP 8.0 prefer-lowest: CRM/Twingle/Form/Profile.php#L634
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-lowest
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L152
Parameter #1 $id of static method CRM_Twingle_Profile::getProfile() expects int|null, mixed given.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L220
Caught class Civi\Core\Exception\DBQueryException not found.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L221
Call to method getMessage() on an unknown class Civi\Core\Exception\DBQueryException.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L506
Only booleans are allowed in an if condition, mixed given.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L564
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L578
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L615
Cannot access offset 'required' on bool|string.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L627
Method CRM_Twingle_Form_Profile::setDefaultValues() should return array<string, mixed> but returns array|null.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L634
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L151
Property CRM_Twingle_Form_Profile::$profile_id (int|null) does not accept mixed.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L152
Parameter #1 $id of static method CRM_Twingle_Profile::getProfile() expects int|null, mixed given.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L250
Cannot call method is_default() on CRM_Twingle_Profile|null.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L471
Call to an undefined method CRM_Twingle_Form_Profile::addRule().
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L506
Only booleans are allowed in an if condition, mixed given.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L511
Parameter #4 $attributes of method CRM_Core_Form::add() expects array|null, false given.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L512
Parameter #5 $required of method CRM_Core_Form::add() expects bool, array given.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L537
Parameter #4 $attributes of method CRM_Core_Form::add() expects array|null, false given.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L538
Parameter #5 $required of method CRM_Core_Form::add() expects bool, array given.
PHPStan with PHP 7.4 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 7.4 prefer-stable
The operation was canceled.
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-stable
The operation was canceled.
PHPStan with PHP 8.1 prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.