diff --git a/composer.json b/composer.json index 0b5a5bf..78217d1 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,10 @@ "php": "^8.1" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.48", - "phpunit/phpunit": "^10.1", + "friendsofphp/php-cs-fixer": "^3.49", + "phpunit/phpunit": "^10.5", "spatie/phpunit-snapshot-assertions": "^5.1", - "vimeo/psalm": "^5.20" + "vimeo/psalm": "^5.22" }, "autoload": { "psr-4": { @@ -39,8 +39,8 @@ }, "scripts": { "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes", - "psalm": "vendor/bin/psalm --find-unused-psalm-suppress --output-format=phpstorm", - "psalm:ci": "vendor/bin/psalm --find-unused-psalm-suppress --output-format=github --shepherd", + "psalm": "vendor/bin/psalm", + "psalm:ci": "vendor/bin/psalm --shepherd", "test": "vendor/bin/phpunit", "test:update-snapshots": "vendor/bin/phpunit -d --update-snapshots" } diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 6eaa7cc..795364c 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,17 +1,17 @@ - + - $dateFormat - $dateTimeFormat + + - setTimezone - setTimezone + + @@ -19,19 +19,15 @@ - $dateFormat + - - setTimezone - setTimezone - - $dateFormat + @@ -39,34 +35,29 @@ - $dateFormat + - setTimezone - setTimezone + + - - self::createAllDay($title, $startDate, $numberOfDays) - - $property + - clone $from - clone $to + + - modify + - - new static($title, $from, $to, $allDay) - + - $presentationOptions +