Skip to content

Commit d61beb5

Browse files
committed
updated psalm github ci
1 parent d37cb59 commit d61beb5

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
args: --dry-run
1313
- name: "PSalm"
14-
uses: docker://vimeo/psalm-github-actions:4.23.0
14+
uses: docker://vimeo/psalm-github-actions:4.29.0
1515
with:
1616
composer_require_dev: true
1717
composer_ignore_platform_reqs: false

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"nyholm/psr7": "^1.3",
5050
"nyholm/psr7-server": "^1.0",
5151
"kriswallsmith/buzz": "^1.2",
52-
"vimeo/psalm": "^4.27",
52+
"vimeo/psalm": "4.29.0",
5353
"friendsofphp/php-cs-fixer": "3.8.0",
5454
"psalm/plugin-phpunit": "^0.15.1",
5555
"monolog/monolog": "^2.2",

src/Types/Date.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
* @psalm-immutable
2626
*
2727
* @extends AbstractPropertyObject<int, int>
28+
*
29+
* @psalm-suppress TypeDoesNotContainType
2830
*/
2931
final class Date extends AbstractPropertyObject implements BoltConvertibleInterface
3032
{

src/Types/DateTimeZoneId.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* @psalm-immutable
2727
*
2828
* @extends AbstractPropertyObject<int|string, int|string>
29+
*
30+
* @psalm-suppress TypeDoesNotContainType
2931
*/
3032
final class DateTimeZoneId extends AbstractPropertyObject implements BoltConvertibleInterface
3133
{

src/Types/LocalDateTime.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
* @psalm-immutable
2727
*
2828
* @extends AbstractPropertyObject<int, int>
29+
*
30+
* @psalm-suppress TypeDoesNotContainType
2931
*/
3032
final class LocalDateTime extends AbstractPropertyObject implements BoltConvertibleInterface
3133
{

tests/Integration/OIDCTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class OIDCTest extends TestCase
2626
public function testConnect(): void
2727
{
2828
$this->expectNotToPerformAssertions();
29-
if (!array_key_exists('ACCESS_TOKEN_BEARER', $_ENV) || $_ENV['ACCESS_TOKEN_BEARER')) {
29+
if (!array_key_exists('ACCESS_TOKEN_BEARER', $_ENV)) {
3030
$this->markTestSkipped('No OIDC token provided');
3131
}
3232

0 commit comments

Comments
 (0)