Skip to content

Add civicrm-extension-template (PHPStan, PHPCS, PHPUnit configuration) #3

Add civicrm-extension-template (PHPStan, PHPCS, PHPUnit configuration)

Add civicrm-extension-template (PHPStan, PHPCS, PHPUnit configuration) #3

Triggered via pull request December 4, 2024 11:55
@jensschuppejensschuppe
synchronize #2
tools
Status Failure
Total duration 20s
Artifacts

phpcs.yml

on: pull_request
PHP_CodeSniffer
10s
PHP_CodeSniffer
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/HiorgClient.php#L1
Missing required strict_types declaration
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgUserDTO.php#L1
Missing required strict_types declaration
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgVerificationDTO.php#L1
Missing required strict_types declaration
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgVerificationDTO.php#L42
Case breaking statements must be followed by a single blank line
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/AbstractDTO.php#L1
Missing required strict_types declaration
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/AbstractDTO.php#L46
Case breaking statements must be followed by a single blank line
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/AbstractDTO.php#L56
Case breaking statements must be followed by a single blank line
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgVolunteerHoursDTO.php#L1
Missing required strict_types declaration
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgVolunteerHoursDTO.php#L52
Case breaking statements must be followed by a single blank line
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/DTO/HiorgVolunteerHoursDTO.php#L55
Case breaking statements must be followed by a single blank line
PHP_CodeSniffer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/HiorgClient.php#L28
Visibility must be declared on all constants if your project supports PHP 7.1 or later
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/HiorgClient.php#L30
Visibility must be declared on all constants if your project supports PHP 7.1 or later
PHP_CodeSniffer: Civi/Hiorg/HiorgApi/HiorgClient.php#L216
Line exceeds 120 characters; contains 165 characters
PHP_CodeSniffer: Civi/Hiorg/ConfigProfiles/ConfigProfile.php#L26
Visibility must be declared on all constants if your project supports PHP 7.1 or later
PHP_CodeSniffer: Civi/Hiorg/ConfigProfiles/ConfigProfile.php#L47
Line exceeds 120 characters; contains 128 characters
PHP_CodeSniffer: Civi/Hiorg/ConfigProfiles/ConfigProfile.php#L58
Line exceeds 120 characters; contains 121 characters
PHP_CodeSniffer: Civi/Hiorg/ConfigProfiles/ConfigProfile.php#L61
Line exceeds 120 characters; contains 122 characters
PHP_CodeSniffer: Civi/Hiorg/Synchronize/Synchronize.php#L25
Unused use statement
PHP_CodeSniffer: Civi/Hiorg/Synchronize/Synchronize.php#L26
Unused use statement
PHP_CodeSniffer: Civi/Hiorg/Synchronize/Synchronize.php#L29
Unused use statement