Skip to content

Commit

Permalink
Initial commit on top of a5df355
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppe-arcuti committed Jun 27, 2024
1 parent a5df355 commit ac1421c
Show file tree
Hide file tree
Showing 63 changed files with 4,229 additions and 476 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs.dist export-ignore
/.travis.yml export-ignore
/CHANGELOG.md export-ignore
/phpstan.neon export-ignore
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ tests/temp
tests/.phpunit.result.cache

# Development stuff
.php-cs-fixer.cache
.php-cs-fixer.cache
159 changes: 159 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,165 @@
ChangeLog
=========

4.30.0 (2024-05-09)
* #103 Fix customized timezone guesser

4.29.0 (2023-12-29)
-------------------
* #98 Chore/merge upstream master 20231228

4.28.0 (2023-12-19)
-------------------
* #96 use dubai instead of muscat

4.27.0 (2023-12-18)
-------------------
* #94 Add support for gulf standard time

4.26.0 (2023-11-30)
-------------------
* #92 Drop malformed or illegal VALUE parameter

4.25.0 (2023-06-26)
-------------------
* #89 Move America/Yellowknife to deprecated

4.24.0 (2023-06-19)
-------------------
* #87 Added whitelist for illegal values in parameter

4.23.0 (2023-04-13)
-------------------
* #82 Modify TZID value for migration timezones

4.22.0 (2023-03-01)
-------------------
* #80 Allow newly deprecated timezones

4.21.0 (2022-12-28)
-------------------
* #76 Add mapping for PST timezone

4.20.0 (2022-12-23)
-------------------
* #74 Handle null tzid

4.19.0 (2022-12-21)
-------------------
* #72 Deprecate Enderbury timezone

4.18.0 (2022-09-01)
-------------------
* #69 Add mapping for CDT timezone

4.17.0 (2022-07-29)
-------------------
* #65 [Calendar] Replace Godthab timezone

4.16.0 (2022-07-06)
-------------------
* #63 Fix customized timezone guesser

4.15.0 (2022-06-23)
-------------------
* #57 Handle customized timezone

4.14.0 (2022-05-31)
-------------------
* #54 Add FindFromOffsetName

4.13.0 (2022-05-27)
-------------------
* #56 Merge upstream changes from sabre-io/vobject@a595790 into protonlabs/vobject
* #58 Handle version timezone

4.12.0 (2022-05-05)
-------------------
* #52 Add FindFromOutlookCities timezone finder

4.11.0 (2022-04-22)
-------------------
* #50 Add lowercase timezone finder

4.10.0 (2022-03-08)
-------------------
* #48 Block invalid combinations of FREQ with BY rules

4.9.0 (2022-02-15)
------------------
* #46 Add support UTC-05:00 timezone

4.8.0 (2022-02-10)
------------------
* #42 Add option to fix unfolding issues in ICS

4.7.2 (2022-01-21)
------------------
* #41 Add missing microsoft timezones and test with confluence file

4.7.1 (2022-01-10)
------------------
* #39 Add support for lowercase timezones

4.7.0 (2021-12-15)
------------------
* #34 Merge upstream changes from sabre-io/vobject:4.4.0 into protonlabs/vobject
* #36 Merge upstream changes from sabre-io/vobject:4.4.1 into protonlabs/vobject

4.6.1 (2021-11-04)
------------------
* #29 Fix timezone name prefixed with /
* #30 Missing EDT TZID conversion

4.5.1 (2021-10-11)
------------------
* #25 Fix duplicate value
* #26 Add php unsupport timezone

4.4.2 (2021-07-15)
------------------
* #23 Add microsoft timezone map

4.4.1 (2021-01-18)
------------------
* #19 Validate count and until property

4.4.0 (2020-11-23)
------------------

* #18 Merge upstream changes from sabre-io/vobject:4.3.3 into protonlabs/vobject
* #17 Throw exception when getting invalid timezone

4.3.4 (2020-07-27)
------------------

* #16 Merge upstream changes from sabre-io/vobject:4.3.1 into protonlabs/vobject

4.3.3 (2020-07-22)
------------------

* #15 Expose RRULE properties

4.3.2 (2020-05-20)
------------------

* #14 Add timezones data mapping.

4.3.1 (2020-01-27)
------------------

* #6 Add FastForward Before
* #7 Add FastForward to end
* #11 FREQ is mandatory in the RRule
* #12 Validate BYMONTHDAY

4.2.1 (2019-09-10)
------------------

* #2 Fix bug in by year day
* #3 Add daily occurrences to nextMonth and NextYear
* #4 Enhance fast forward speed if no count value has been given

4.5.2 (2023-01-20)
------------------

Expand Down
25 changes: 7 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
sabre/vobject
protonlabs/vobject
=============
![Build Status](https://github.com/ProtonMail/vobject/actions/workflows/actions.yml/badge.svg)
[![codecov](https://codecov.io/gh/ProtonMail/vobject/branch/master/graph/badge.svg?token=ARcwkxCKZn)](https://codecov.io/gh/ProtonMail/vobject)

Forked from [sabre/vobject](https://github.com/sabre-io/vobject).

The VObject library allows you to easily parse and manipulate [iCalendar](https://tools.ietf.org/html/rfc5545)
and [vCard](https://tools.ietf.org/html/rfc6350) objects using PHP.
Expand All @@ -12,12 +16,12 @@ Installation

Make sure you have [Composer][1] installed, and then run:

composer require sabre/vobject "^4.0"
composer require protonlabs/vobject "^4.0"

This package requires PHP 5.5. If you need the PHP 5.3/5.4 version of this package instead, use:


composer require sabre/vobject "^3.4"
composer require protonlabs/vobject "^3.4"


Usage
Expand All @@ -27,21 +31,6 @@ Usage
* [Working with iCalendar](http://sabre.io/vobject/icalendar/)



Build status
------------

| branch | status |
| ------ | ------ |
| master | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=master)](https://travis-ci.org/sabre-io/vobject) |
| 3.5 | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=3.5)](https://travis-ci.org/sabre-io/vobject) |
| 3.4 | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=3.4)](https://travis-ci.org/sabre-io/vobject) |
| 3.1 | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=3.1)](https://travis-ci.org/sabre-io/vobject) |
| 2.1 | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=2.1)](https://travis-ci.org/sabre-io/vobject) |
| 2.0 | [![Build Status](https://travis-ci.org/sabre-io/vobject.svg?branch=2.0)](https://travis-ci.org/sabre-io/vobject) |



Support
-------

Expand Down
6 changes: 3 additions & 3 deletions bin/bench_freebusygenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
$bench->parse->stop();

$repeat = 100;
$start = new \DateTime('2000-01-01');
$end = new \DateTime('2020-01-01');
$timeZone = new \DateTimeZone('America/Toronto');
$start = new DateTime('2000-01-01');
$end = new DateTime('2020-01-01');
$timeZone = new DateTimeZone('America/Toronto');

$bench->fb->start();

Expand Down
19 changes: 19 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false

coverage:
range: "70..100"
round: down
precision: 2
status:
project:
default:
# basic
target: 95%
threshold: 0%
# advanced settings
if_ci_failed: error
informational: false
only_pulls: false
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "sabre/vobject",
"name": "protonlabs/vobject",
"description" : "The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects",
"keywords" : [
"iCalendar",
Expand Down
5 changes: 2 additions & 3 deletions lib/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Sabre\VObject;

use Sabre\VObject;
use Sabre\Xml;

/**
Expand All @@ -15,7 +14,7 @@
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*
* @property VObject\Property\FlatText UID
* @property Property\FlatText UID
*/
class Component extends Node
{
Expand Down Expand Up @@ -412,7 +411,7 @@ protected function getDefaults(): array
*
* $event = $calendar->VEVENT;
*
* @return Property|Component
* @return Property|Component|null
*/
public function __get(string $name): ?Node
{
Expand Down
Loading

0 comments on commit ac1421c

Please sign in to comment.