Skip to content

Improve profile options for note creation #18

Improve profile options for note creation

Improve profile options for note creation #18

Triggered via pull request April 30, 2024 14:03
Status Failure
Total duration 1m 1s
Artifacts

phpstan.yml

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

Annotations

56 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#L548
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L562
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L599
Cannot access offset 'required' on bool|string.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L611
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#L618
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L666
Function civicrm_api3 not found.
PHPStan with PHP 8.1 prefer-lowest: CRM/Twingle/Form/Profile.php#L671
Static property CRM_Twingle_Form_Profile::$_locationTypes (array<string, string>) does not accept array<int|string, string>.
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.0 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.0 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.0 prefer-stable: CRM/Twingle/Form/Profile.php#L250
Cannot call method is_default() on CRM_Twingle_Profile|null.
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L466
Call to an undefined method CRM_Twingle_Form_Profile::addRule().
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L548
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L562
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L599
Cannot access offset 'required' on bool|string.
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L618
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L666
Function civicrm_api3 not found.
PHPStan with PHP 8.1 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-stable: CRM/Twingle/Form/Profile.php#L671
Static property CRM_Twingle_Form_Profile::$_locationTypes (array<string, string>) does not accept array<int|string, string>.
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#L466
Call to an undefined method CRM_Twingle_Form_Profile::addRule().
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L548
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L562
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L599
Cannot access offset 'required' on bool|string.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L618
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L666
Function civicrm_api3 not found.
PHPStan with PHP 8.1 prefer-stable: CRM/Twingle/Form/Profile.php#L671
Static property CRM_Twingle_Form_Profile::$_locationTypes (array<string, string>) does not accept array<int|string, string>.
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#L548
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L562
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L599
Cannot access offset 'required' on bool|string.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L611
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#L618
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L666
Function civicrm_api3 not found.
PHPStan with PHP 7.4 prefer-lowest: CRM/Twingle/Form/Profile.php#L671
Static property CRM_Twingle_Form_Profile::$_locationTypes (array<string, string>) does not accept array<int|string, string>.
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 8.0 prefer-lowest
The operation was canceled.
PHPStan with PHP 7.4 prefer-stable
The job was canceled because "_8_1_prefer-lowest" failed.
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L151
Property CRM_Twingle_Form_Profile::$profile_id (int|null) does not accept mixed.
PHPStan with PHP 7.4 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 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L250
Cannot call method is_default() on CRM_Twingle_Profile|null.
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L466
Call to an undefined method CRM_Twingle_Form_Profile::addRule().
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L548
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L562
Call to an undefined method CRM_Twingle_Form_Profile::setElementError().
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L599
Cannot access offset 'required' on bool|string.
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L618
Call to an undefined method CRM_Twingle_Form_Profile::exportValues().
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L666
Function civicrm_api3 not found.
PHPStan with PHP 7.4 prefer-stable: CRM/Twingle/Form/Profile.php#L671
Static property CRM_Twingle_Form_Profile::$_locationTypes (array<string, string>) does not accept array<int|string, string>.
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/.