Skip to content

Added missing segments API calls (v11) #159

Added missing segments API calls (v11)

Added missing segments API calls (v11) #159

Triggered via pull request November 30, 2023 10:20
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

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

Annotations

11 errors and 3 warnings
PHP-CS-Fixer
Process completed with exit code 1.
PHPStan: src/Dto/Segments/CreateSegment.php#L25
PHPDoc tag @var above a method has no effect.
PHPStan: src/Dto/Segments/CreateSegment.php#L27
Property OneSignal\Dto\Segments\CreateSegment::$name (non-empty-string) does not accept string.
PHPStan: src/Dto/Segments/CreateSegment.php#L34
PHPDoc tag @var above a method has no effect.
PHPStan: src/Dto/Segments/CreateSegment.php#L36
Property OneSignal\Dto\Segments\CreateSegment::$name (non-empty-string) does not accept string.
PHPStan: src/Dto/Segments/ListSegments.php#L25
PHPDoc tag @var above a method has no effect.
PHPStan: src/Dto/Segments/ListSegments.php#L27
Property OneSignal\Dto\Segments\ListSegments::$limit (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L28
Property OneSignal\Dto\Segments\ListSegments::$offset (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L34
PHPDoc tag @var above a method has no effect.
PHPStan: src/Dto/Segments/ListSegments.php#L36
Property OneSignal\Dto\Segments\ListSegments::$limit (int<0, 2147483648>) does not accept int.
PHPStan: src/Dto/Segments/ListSegments.php#L44
PHPDoc tag @var above a method has no effect.
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
PHP-CS-Fixer: src/Dto/Segments/CreateSegment.php#L1
Found violation(s) of type: phpdoc_separation