Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
u01jmg3 committed Jul 18, 2019
1 parent 6394837 commit 96989b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax

require_once '../vendor/autoload.php';

Expand Down
2 changes: 1 addition & 1 deletion src/ICal/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Event
{
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax

const HTML_TEMPLATE = '<p>%s: %s</p>';

Expand Down
4 changes: 2 additions & 2 deletions src/ICal/ICal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/RecurrencesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/SingleEventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class SingleEventsTest extends TestCase
{
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax.Found
// phpcs:disable Generic.Arrays.DisallowLongArraySyntax

private $originalTimeZone = null;

Expand Down

0 comments on commit 96989b6

Please sign in to comment.