diff --git a/CHANGELOG.md b/CHANGELOG.md index 4940bb2..7bf3f3a 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ ## [Unreleased] +### Fixed + +- Exclude files from dist packages [#110](https://github.com/rlanvin/php-rrule/pull/110) + +### Added + +- Added Portugese translation [#108](https://github.com/rlanvin/php-rrule/pull/108) +- Added Polish translation [#106](https://github.com/rlanvin/php-rrule/pull/106) ## [2.3.2] - 2022-05-03 diff --git a/tests/RRuleTest.php b/tests/RRuleTest.php index f91071b..c9a750f 100755 --- a/tests/RRuleTest.php +++ b/tests/RRuleTest.php @@ -2783,11 +2783,10 @@ class RRuleTest extends TestCase 'DTSTART' => '2016-01-01' ); $rrule = new RRule($array); - $this->assertIsArray($rrule->getRule()); - + $this->assertInternalType('array', $rrule->getRule()); $rule = $rrule->getRule(); $this->assertEquals('YEARLY', $rule['FREQ']); - $this->assertIsString($rule['DTSTART']); + $this->assertInternalType('string', $rule['DTSTART']); $rrule = new RRule("DTSTART;TZID=America/New_York:19970901T090000\nRRULE:FREQ=HOURLY;UNTIL=19971224T000000Z;WKST=SU;BYDAY=MO,WE,FR;BYMONTH=1;BYHOUR=1"); $rule = $rrule->getRule();