diff --git a/examples/index.php b/examples/index.php index abb073b..f2854dd 100644 --- a/examples/index.php +++ b/examples/index.php @@ -1,5 +1,5 @@ %s: %s

'; diff --git a/src/ICal/ICal.php b/src/ICal/ICal.php index c9d444c..0010845 100644 --- a/src/ICal/ICal.php +++ b/src/ICal/ICal.php @@ -16,7 +16,7 @@ class ICal { - // phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found + // phpcs:disable Generic.Arrays.DisallowLongArraySyntax const DATE_TIME_FORMAT = 'Ymd\THis'; const DATE_TIME_FORMAT_PRETTY = 'F Y H:i:s'; @@ -1414,7 +1414,7 @@ protected function processRecurrences() $until = intval($until); - // Decide how often to add events and do so + // phpcs:ignore Squiz.ControlStructures.SwitchDeclaration.MissingDefault switch ($frequency) { case 'DAILY': // Simply add a new event each interval of days until UNTIL is reached diff --git a/tests/RecurrencesTest.php b/tests/RecurrencesTest.php index b4b9e4c..dfd309f 100644 --- a/tests/RecurrencesTest.php +++ b/tests/RecurrencesTest.php @@ -5,7 +5,7 @@ class RecurrencesTest extends TestCase { - // phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found + // phpcs:disable Generic.Arrays.DisallowLongArraySyntax private $useTimeZoneWithRRules = false; private $originalTimeZone = null; diff --git a/tests/SingleEventsTest.php b/tests/SingleEventsTest.php index a122a01..8a15a4a 100644 --- a/tests/SingleEventsTest.php +++ b/tests/SingleEventsTest.php @@ -5,7 +5,7 @@ class SingleEventsTest extends TestCase { - // phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found + // phpcs:disable Generic.Arrays.DisallowLongArraySyntax private $originalTimeZone = null;