Skip to content

Added missing segments API calls (v11) #156

Added missing segments API calls (v11)

Added missing segments API calls (v11) #156

Triggered via pull request November 30, 2023 10:19
Status Failure
Total duration 51s
Artifacts

ci.yml

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

Annotations

9 errors and 2 warnings
PHP-CS-Fixer
Process completed with exit code 1.
PHPStan: src/Dto/Segments/CreateSegment.php#L26
Property OneSignal\Dto\Segments\CreateSegment::$name (non-empty-string) does not accept string.
PHPStan: src/Dto/Segments/CreateSegment.php#L33
PHPDoc tag @var above a method has no effect.
PHPStan: src/Dto/Segments/CreateSegment.php#L35
Property OneSignal\Dto\Segments\CreateSegment::$name (non-empty-string) does not accept string.
PHPStan: src/Dto/Segments/ListSegments.php#L23
Property OneSignal\Dto\Segments\ListSegments::$limit (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L24
Property OneSignal\Dto\Segments\ListSegments::$offset (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L29
Property OneSignal\Dto\Segments\ListSegments::$limit (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L36
Property OneSignal\Dto\Segments\ListSegments::$offset (int<0, 2147483648>) does not accept int.
PHPStan
Process completed with exit code 1.
PHP-CS-Fixer: src/Dto/Segments/ListSegments.php#L1
Found violation(s) of type: phpdoc_var_without_name
PHP-CS-Fixer: src/Dto/Segments/CreateSegment.php#L1
Found violation(s) of type: phpdoc_var_without_name