Skip to content

Commit 1021964

Browse files
committed
Prepare 5.3.0 release
1 parent 78cd6c2 commit 1021964

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CHANGELOG.md

+1-1
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.3.0](https://github.com/thephpleague/period/compare/5.2.1...5.3.0) - 2023-11-28
66

77
### Added
88

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
},
4949
"require-dev": {
5050
"friendsofphp/php-cs-fixer": "^v3.35.1",
51-
"phpstan/phpstan": "^1.10.39",
51+
"phpstan/phpstan": "^1.10.45",
5252
"phpstan/phpstan-deprecation-rules": "^1.1.4",
5353
"phpstan/phpstan-phpunit": "^1.3.15",
54-
"phpstan/phpstan-strict-rules": "^1.5.1",
55-
"phpunit/phpunit": "^10.4.1"
54+
"phpstan/phpstan-strict-rules": "^1.5.2",
55+
"phpunit/phpunit": "^10.4.2"
5656
},
5757
"autoload": {
5858
"psr-4": {

src/Period.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ public function isAfter(Period|DatePoint|DateTimeInterface|string $timeSlot): bo
698698
$datePoint = self::filterDatePoint($timeSlot);
699699

700700
return $this->startDate > $datePoint
701-
|| ($this->startDate == $datePoint && ! $this->bounds->isStartIncluded());
701+
|| ($this->startDate == $datePoint && !$this->bounds->isStartIncluded());
702702
}
703703

704704
/**

0 commit comments

Comments
 (0)