Skip to content

HTTP API to configure contacts and contactgroups #340

HTTP API to configure contacts and contactgroups

HTTP API to configure contacts and contactgroups #340

Triggered via pull request June 12, 2024 12:07
Status Success
Total duration 1m 13s
Artifacts

phpstan.yml

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

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L38
Parameter #2 $subject of function preg_match expects string, string|false given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L113
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L122
Cannot access property $contactgroup_id on array<int|string, mixed>.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L146
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L147
Parameter #1 $statusCode of class Icinga\Exception\Http\HttpException constructor expects int, string given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ApiV1ContactgroupsController.php#L154
Parameter #1 $identifier of method Icinga\Module\Notifications\Controllers\ApiV1ContactgroupsController::getContactgroupId() expects string, mixed given.