Skip to content

Commit

Permalink
PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
phpfui committed Nov 23, 2023
1 parent 1c4bae8 commit 80bd29b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.2, 8.1, 8.0]
php: [8.3, 8.2, 8.1, 8.0]
dependency-version: [prefer-stable]
os: [ubuntu-latest, windows-latest]

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"psr-4": {"ICalendarOrg\\": "src/ICalendarOrg/"}
},
"require": {
"php": ">=7.4 <8.3"
"php": ">=7.4 <8.4"
},
"require-dev": {
"phpunit/phpunit": "<11.0",
Expand Down
4 changes: 0 additions & 4 deletions src/ICalendarOrg/ZCRecurringDate.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class ZCRecurringDate
/**
* repeating frequency type (i.e. 'y' for yearly, 'm' for monthly)
*
* @var string
*/
public ?string $freq = null;

Expand All @@ -93,7 +92,6 @@ class ZCRecurringDate
/**
* repeat mode ('c': count, 'u': until)
*
* @var string
*/
public ?string $repeatmode = null;

Expand All @@ -106,14 +104,12 @@ class ZCRecurringDate
/**
* start date in Unix Timestamp format (local timezone)
*
* @var int
*/
public ?int $startdate = null;

/**
* timezone of event (using PHP timezones)
*
* @var string
*/
public ?string $tzid = null;

Expand Down
1 change: 1 addition & 0 deletions src/ICalendarOrg/ZDateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public static function getAbsDate(string $date, string $rdate = '') : string

break;
}

// for '-' values, move to start of day , otherwise, move to end of day
if ('-' == $rvalue[0])
{
Expand Down

0 comments on commit 80bd29b

Please sign in to comment.