Merge branch 'master' into 2.x #79
Annotations
10 errors and 1 warning
UndefinedInterfaceMethod:
src/Generators/BaseOutlook.php#L33
src/Generators/BaseOutlook.php:33:42: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
src/Generators/BaseOutlook.php#L34
src/Generators/BaseOutlook.php:34:38: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
src/Generators/Google.php#L24
src/Generators/Google.php:24:42: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
src/Generators/Google.php#L25
src/Generators/Google.php:25:38: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
MoreSpecificReturnType:
src/Generators/Ics.php#L40
src/Generators/Ics.php:40:43: MoreSpecificReturnType: The declared return type 'non-empty-string' for Spatie\CalendarLinks\Generators\Ics::generate is more specific than the inferred return type 'string' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
src/Generators/Ics.php#L83
src/Generators/Ics.php:83:16: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'non-empty-string' for Spatie\CalendarLinks\Generators\Ics::generate (see https://psalm.dev/129)
|
ArgumentTypeCoercion:
src/Generators/Ics.php#L85
src/Generators/Ics.php:85:41: ArgumentTypeCoercion: Argument 1 of Spatie\CalendarLinks\Generators\Ics::buildLink expects non-empty-list<non-empty-string>, but parent type list{0: string, 1?: string, 2?: string, 3?: string, 4?: string, 5?: string, 6?: string, 7?: string, 8?: string, 9?: string, 10?: string, 11?: string, ...<string>} provided (see https://psalm.dev/193)
|
UndefinedInterfaceMethod:
src/Generators/Yahoo.php#L31
src/Generators/Yahoo.php:31:46: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
UndefinedInterfaceMethod:
src/Generators/Yahoo.php#L32
src/Generators/Yahoo.php:32:42: UndefinedInterfaceMethod: Method DateTimeInterface::setTimezone does not exist (see https://psalm.dev/181)
|
LessSpecificReturnStatement:
src/Link.php#L58
src/Link.php:58:20: LessSpecificReturnStatement: The type 'Spatie\CalendarLinks\Link' is more general than the declared return type 'Spatie\CalendarLinks\Link&static' for Spatie\CalendarLinks\Link::create (see https://psalm.dev/129)
|
psalm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|