Skip to content

Commit 82dcf4a

Browse files
committed
Prepare version 5.2.1 release
1 parent 1af09df commit 82dcf4a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to `Period` will be documented in this file
44

5-
## [Next] - TBD
5+
## [5.2.1] - 2023-02-25
66

77
### Added
88

@@ -943,7 +943,8 @@ you can feed:
943943

944944
## 0.1.0 - 2014-09-19
945945

946-
[Next]: https://github.com/thephpleague/period/compare/5.2.0...master
946+
[Next]: https://github.com/thephpleague/period/compare/5.2.1...master
947+
[5.2.1]: https://github.com/thephpleague/period/compare/5.2.0...5.2.1
947948
[5.2.0]: https://github.com/thephpleague/period/compare/5.1.0...5.2.0
948949
[5.1.0]: https://github.com/thephpleague/period/compare/5.0.0...5.1.0
949950
[5.1.0]: https://github.com/thephpleague/period/compare/5.0.0...5.1.0

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
},
4949
"require-dev": {
5050
"friendsofphp/php-cs-fixer": "^v3.13.1",
51-
"phpstan/phpstan": "^1.9.18",
52-
"phpstan/phpstan-deprecation-rules": "^1.1.1",
53-
"phpstan/phpstan-phpunit": "^1.3.4",
54-
"phpstan/phpstan-strict-rules": "^1.4.5",
55-
"phpunit/phpunit": "^10.0.7"
51+
"phpstan/phpstan": "^1.10.2",
52+
"phpstan/phpstan-deprecation-rules": "^1.1.2",
53+
"phpstan/phpstan-phpunit": "^1.3.7",
54+
"phpstan/phpstan-strict-rules": "^1.5.0",
55+
"phpunit/phpunit": "^10.0.12"
5656
},
5757
"autoload": {
5858
"psr-4": {

src/SequenceTest.php

-2
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,9 @@ public function testSort(): void
185185
$day2 = DatePoint::fromDateString('2012-06-12')->day();
186186
$sequence = new Sequence($day1, $day2);
187187
self::assertSame([0 => $day1, 1 => $day2], $sequence->toList());
188-
self::assertTrue(array_is_list($sequence->toList()));
189188

190189
$sequence->sort(fn (Period $period1, Period $period2): int => $period1->startDate <=> $period2->startDate);
191190
self::assertSame([0 => $day2, 1 => $day1], $sequence->toList());
192-
self::assertTrue(array_is_list($sequence->toList()));
193191
}
194192

195193
public function testSome(): void

0 commit comments

Comments
 (0)