diff --git a/.gitignore b/.gitignore index 6942fdc7..27785457 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ vendor build/ Resources/auth.json .vagrant +.phpunit.* diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 5e1e21d9..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7f..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Resources/wsdl/types.xsd b/Resources/wsdl/types.xsd index 9aeb8353..14095161 100644 --- a/Resources/wsdl/types.xsd +++ b/Resources/wsdl/types.xsd @@ -2350,7 +2350,7 @@ - + @@ -2373,7 +2373,7 @@ - + diff --git a/src/API/Enumeration/ResponseCodeType.php b/src/API/Enumeration/ResponseCodeType.php index a6ac65af..7be8d674 100644 --- a/src/API/Enumeration/ResponseCodeType.php +++ b/src/API/Enumeration/ResponseCodeType.php @@ -5,6 +5,8 @@ namespace garethp\ews\API\Enumeration; +use garethp\ews\API\Enumeration; + /** * Provides status information about a request. * diff --git a/src/API/ExchangeWebServices.php b/src/API/ExchangeWebServices.php index d54f0d77..2350c99f 100644 --- a/src/API/ExchangeWebServices.php +++ b/src/API/ExchangeWebServices.php @@ -85,6 +85,7 @@ */ class ExchangeWebServices { + const VERSION_2007 = 'Exchange2007'; const VERSION_2007_SP1 = 'Exchange2007_SP1'; diff --git a/src/API/Type/RelativeMonthlyRecurrencePatternType.php b/src/API/Type/RelativeMonthlyRecurrencePatternType.php index 861e19a5..b2f6926a 100644 --- a/src/API/Type/RelativeMonthlyRecurrencePatternType.php +++ b/src/API/Type/RelativeMonthlyRecurrencePatternType.php @@ -8,8 +8,9 @@ * * XSD Type: RelativeMonthlyRecurrencePatternType * - * @method string getDaysOfWeek() - * @method RelativeMonthlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) + * @method RelativeMonthlyRecurrencePatternType addDaysOfWeek(string $daysOfWeek) + * @method string[] getDaysOfWeek() + * @method RelativeMonthlyRecurrencePatternType setDaysOfWeek(array $daysOfWeek) * @method string getDayOfWeekIndex() * @method RelativeMonthlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) */ @@ -17,7 +18,7 @@ class RelativeMonthlyRecurrencePatternType extends IntervalRecurrencePatternBase { /** - * @var string + * @var string[] */ protected $daysOfWeek = null; diff --git a/src/API/Type/RelativeYearlyRecurrencePatternType.php b/src/API/Type/RelativeYearlyRecurrencePatternType.php index 86f3059b..8eb724a0 100644 --- a/src/API/Type/RelativeYearlyRecurrencePatternType.php +++ b/src/API/Type/RelativeYearlyRecurrencePatternType.php @@ -8,8 +8,9 @@ * * XSD Type: RelativeYearlyRecurrencePatternType * - * @method string getDaysOfWeek() - * @method RelativeYearlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) + * @method RelativeYearlyRecurrencePatternType addDaysOfWeek(string $daysOfWeek) + * @method string[] getDaysOfWeek() + * @method RelativeYearlyRecurrencePatternType setDaysOfWeek(array $daysOfWeek) * @method string getDayOfWeekIndex() * @method RelativeYearlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) * @method string getMonth() @@ -19,7 +20,7 @@ class RelativeYearlyRecurrencePatternType extends RecurrencePatternBaseType { /** - * @var string + * @var array */ protected $daysOfWeek = null; diff --git a/src/Calendar/CalendarAPI.php b/src/Calendar/CalendarAPI.php deleted file mode 100644 index 6370a29d..00000000 --- a/src/Calendar/CalendarAPI.php +++ /dev/null @@ -1,16 +0,0 @@ -