mirror of
https://github.com/rlanvin/php-rrule.git
synced 2025-02-20 09:54:16 +01:00
More PHP 5.3 compatibility fixes
This commit is contained in:
parent
3cf95e57ef
commit
783a9b5c97
@ -48,7 +48,7 @@ Just add this to your `composer.json` file:
|
||||
```JSON
|
||||
{
|
||||
"require": {
|
||||
"rlanvin/php-rrule": "dev-master*"
|
||||
"rlanvin/php-rrule": "dev-master"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -900,8 +900,9 @@ class RRuleTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testDoesNotOccursAt($rule, $not_occurences)
|
||||
{
|
||||
$rule = new RRule($rule);
|
||||
foreach ( $not_occurences as $date ) {
|
||||
$this->assertFalse((new RRule($rule))->occursAt($date), $date);
|
||||
$this->assertFalse($rule->occursAt($date), $date);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user