File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` Period ` will be documented in this file
4
4
5
- ## [ Next ] - TBD
5
+ ## [ 5.2.1 ] - 2023-02-25
6
6
7
7
### Added
8
8
@@ -943,7 +943,8 @@ you can feed:
943
943
944
944
## 0.1.0 - 2014-09-19
945
945
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
947
948
[ 5.2.0 ] : https://github.com/thephpleague/period/compare/5.1.0...5.2.0
948
949
[ 5.1.0 ] : https://github.com/thephpleague/period/compare/5.0.0...5.1.0
949
950
[ 5.1.0 ] : https://github.com/thephpleague/period/compare/5.0.0...5.1.0
Original file line number Diff line number Diff line change 48
48
},
49
49
"require-dev" : {
50
50
"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 "
56
56
},
57
57
"autoload" : {
58
58
"psr-4" : {
Original file line number Diff line number Diff line change @@ -185,11 +185,9 @@ public function testSort(): void
185
185
$ day2 = DatePoint::fromDateString ('2012-06-12 ' )->day ();
186
186
$ sequence = new Sequence ($ day1 , $ day2 );
187
187
self ::assertSame ([0 => $ day1 , 1 => $ day2 ], $ sequence ->toList ());
188
- self ::assertTrue (array_is_list ($ sequence ->toList ()));
189
188
190
189
$ sequence ->sort (fn (Period $ period1 , Period $ period2 ): int => $ period1 ->startDate <=> $ period2 ->startDate );
191
190
self ::assertSame ([0 => $ day2 , 1 => $ day1 ], $ sequence ->toList ());
192
- self ::assertTrue (array_is_list ($ sequence ->toList ()));
193
191
}
194
192
195
193
public function testSome (): void
You can’t perform that action at this time.
0 commit comments