From 9f3d36b95fceb169793a54e7b16dcfd1bc80623a Mon Sep 17 00:00:00 2001 From: Arhell Date: Fri, 9 Dec 2022 00:02:59 +0200 Subject: [PATCH 1/9] update src folder links --- src/Chronos.php | 8 ++++---- src/ChronosInterface.php | 8 ++++---- src/ChronosInterval.php | 8 ++++---- src/Date.php | 8 ++++---- src/DifferenceFormatter.php | 8 ++++---- src/DifferenceFormatterInterface.php | 8 ++++---- src/MutableDate.php | 8 ++++---- src/MutableDateTime.php | 8 ++++---- src/Traits/ComparisonTrait.php | 8 ++++---- src/Traits/CopyTrait.php | 8 ++++---- src/Traits/DifferenceTrait.php | 8 ++++---- src/Traits/FactoryTrait.php | 8 ++++---- src/Traits/FormattingTrait.php | 8 ++++---- src/Traits/FrozenTimeTrait.php | 8 ++++---- src/Traits/MagicPropertyTrait.php | 8 ++++---- src/Traits/ModifierTrait.php | 8 ++++---- src/Traits/RelativeKeywordTrait.php | 8 ++++---- src/Traits/TestingAidTrait.php | 8 ++++---- src/Traits/TimezoneTrait.php | 8 ++++---- src/Translator.php | 8 ++++---- src/carbon_compat.php | 8 ++++---- 21 files changed, 84 insertions(+), 84 deletions(-) diff --git a/src/Chronos.php b/src/Chronos.php index f8ddf738..25d671f6 100644 --- a/src/Chronos.php +++ b/src/Chronos.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/ChronosInterface.php b/src/ChronosInterface.php index f074b4c1..8e8b5d13 100644 --- a/src/ChronosInterface.php +++ b/src/ChronosInterface.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/ChronosInterval.php b/src/ChronosInterval.php index 4f446432..94b60a54 100644 --- a/src/ChronosInterval.php +++ b/src/ChronosInterval.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/Date.php b/src/Date.php index 67b44a24..6bbd05ee 100644 --- a/src/Date.php +++ b/src/Date.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/DifferenceFormatter.php b/src/DifferenceFormatter.php index ad10c958..c627dd9c 100644 --- a/src/DifferenceFormatter.php +++ b/src/DifferenceFormatter.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/DifferenceFormatterInterface.php b/src/DifferenceFormatterInterface.php index e9489260..875a2298 100644 --- a/src/DifferenceFormatterInterface.php +++ b/src/DifferenceFormatterInterface.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/MutableDate.php b/src/MutableDate.php index 7cbac3cb..6ad696eb 100644 --- a/src/MutableDate.php +++ b/src/MutableDate.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/MutableDateTime.php b/src/MutableDateTime.php index a0186573..75e552bf 100644 --- a/src/MutableDateTime.php +++ b/src/MutableDateTime.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/Traits/ComparisonTrait.php b/src/Traits/ComparisonTrait.php index 5f076d54..ffc198e5 100644 --- a/src/Traits/ComparisonTrait.php +++ b/src/Traits/ComparisonTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/CopyTrait.php b/src/Traits/CopyTrait.php index 1bd8ede4..d026ed83 100644 --- a/src/Traits/CopyTrait.php +++ b/src/Traits/CopyTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/DifferenceTrait.php b/src/Traits/DifferenceTrait.php index 7d4c74e5..45d10ddc 100644 --- a/src/Traits/DifferenceTrait.php +++ b/src/Traits/DifferenceTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/FactoryTrait.php b/src/Traits/FactoryTrait.php index 96362434..b962c6af 100644 --- a/src/Traits/FactoryTrait.php +++ b/src/Traits/FactoryTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/FormattingTrait.php b/src/Traits/FormattingTrait.php index 61e3ba39..312eaf08 100644 --- a/src/Traits/FormattingTrait.php +++ b/src/Traits/FormattingTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/FrozenTimeTrait.php b/src/Traits/FrozenTimeTrait.php index fd0a001d..a48c6764 100644 --- a/src/Traits/FrozenTimeTrait.php +++ b/src/Traits/FrozenTimeTrait.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/MagicPropertyTrait.php b/src/Traits/MagicPropertyTrait.php index 7c01449a..981e5f68 100644 --- a/src/Traits/MagicPropertyTrait.php +++ b/src/Traits/MagicPropertyTrait.php @@ -2,16 +2,16 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. Provides various operator methods for datetime * objects. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/ModifierTrait.php b/src/Traits/ModifierTrait.php index adf177d7..e6091918 100644 --- a/src/Traits/ModifierTrait.php +++ b/src/Traits/ModifierTrait.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/RelativeKeywordTrait.php b/src/Traits/RelativeKeywordTrait.php index c98e9279..070d6bfc 100644 --- a/src/Traits/RelativeKeywordTrait.php +++ b/src/Traits/RelativeKeywordTrait.php @@ -2,16 +2,16 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. Provides various operator methods for datetime * objects. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/TestingAidTrait.php b/src/Traits/TestingAidTrait.php index ab2fef87..f3cb5eff 100644 --- a/src/Traits/TestingAidTrait.php +++ b/src/Traits/TestingAidTrait.php @@ -2,16 +2,16 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. Provides various operator methods for datetime * objects. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Traits/TimezoneTrait.php b/src/Traits/TimezoneTrait.php index 2452de7a..4256b9f4 100644 --- a/src/Traits/TimezoneTrait.php +++ b/src/Traits/TimezoneTrait.php @@ -2,16 +2,16 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. Provides various operator methods for datetime * objects. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Traits; diff --git a/src/Translator.php b/src/Translator.php index 382bfd48..2229d468 100644 --- a/src/Translator.php +++ b/src/Translator.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos; diff --git a/src/carbon_compat.php b/src/carbon_compat.php index 0d8eff72..a7c1c80d 100644 --- a/src/carbon_compat.php +++ b/src/carbon_compat.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ // Check if the interface alias exists and don't redeclare it in case we are in From 2fe221b778e09b55c49c4388b95a0b5da94d5447 Mon Sep 17 00:00:00 2001 From: Arhell Date: Sat, 10 Dec 2022 12:36:48 +0200 Subject: [PATCH 2/9] update tests folder links --- tests/Benchmark/ConstructBench.php | 8 ++++---- tests/Benchmark/DiffBench.php | 8 ++++---- tests/TestCase/Date/DateMutabilityConversionTest.php | 8 ++++---- tests/TestCase/Date/StringsTest.php | 8 ++++---- tests/TestCase/DateTime/CopyTest.php | 8 ++++---- tests/TestCase/DateTime/CreateFromDateTest.php | 8 ++++---- tests/TestCase/DateTime/CreateFromTimeTest.php | 8 ++++---- tests/TestCase/DateTime/CreateFromTimestampTest.php | 8 ++++---- tests/TestCase/DateTime/CreateTest.php | 8 ++++---- tests/TestCase/DateTime/DiffTest.php | 8 ++++---- tests/TestCase/DateTime/GettersTest.php | 10 +++++----- tests/TestCase/DateTime/InstanceTest.php | 8 ++++---- tests/TestCase/DateTime/IssetTest.php | 8 ++++---- tests/TestCase/DateTime/MutabilityTest.php | 8 ++++---- .../TestCase/DateTime/NowAndOtherStaticHelpersTest.php | 8 ++++---- tests/TestCase/DateTime/PhpBug72338Test.php | 8 ++++---- tests/TestCase/DateTime/RelativeTest.php | 8 ++++---- tests/TestCase/DateTime/SettersTest.php | 8 ++++---- tests/TestCase/DateTime/StringsTest.php | 8 ++++---- tests/TestCase/DateTime/SubTest.php | 8 ++++---- tests/TestCase/Interval/IntervalConstructTest.php | 8 ++++---- tests/TestCase/Interval/IntervalGettersTest.php | 8 ++++---- tests/TestCase/Interval/IntervalToStringTest.php | 8 ++++---- 23 files changed, 93 insertions(+), 93 deletions(-) diff --git a/tests/Benchmark/ConstructBench.php b/tests/Benchmark/ConstructBench.php index a7fe4678..5ac74ad1 100644 --- a/tests/Benchmark/ConstructBench.php +++ b/tests/Benchmark/ConstructBench.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\Benchmark; diff --git a/tests/Benchmark/DiffBench.php b/tests/Benchmark/DiffBench.php index 811b2d75..c693ac48 100644 --- a/tests/Benchmark/DiffBench.php +++ b/tests/Benchmark/DiffBench.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\Benchmark; diff --git a/tests/TestCase/Date/DateMutabilityConversionTest.php b/tests/TestCase/Date/DateMutabilityConversionTest.php index feeb1683..feba84bb 100644 --- a/tests/TestCase/Date/DateMutabilityConversionTest.php +++ b/tests/TestCase/Date/DateMutabilityConversionTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/Date/StringsTest.php b/tests/TestCase/Date/StringsTest.php index fd5db9f2..f3ebb7d3 100644 --- a/tests/TestCase/Date/StringsTest.php +++ b/tests/TestCase/Date/StringsTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/DateTime/CopyTest.php b/tests/TestCase/DateTime/CopyTest.php index 9b4d76d5..9b15dbfa 100644 --- a/tests/TestCase/DateTime/CopyTest.php +++ b/tests/TestCase/DateTime/CopyTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/CreateFromDateTest.php b/tests/TestCase/DateTime/CreateFromDateTest.php index 960c9e77..60d55cd7 100644 --- a/tests/TestCase/DateTime/CreateFromDateTest.php +++ b/tests/TestCase/DateTime/CreateFromDateTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/CreateFromTimeTest.php b/tests/TestCase/DateTime/CreateFromTimeTest.php index 984792e0..4149319c 100644 --- a/tests/TestCase/DateTime/CreateFromTimeTest.php +++ b/tests/TestCase/DateTime/CreateFromTimeTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/CreateFromTimestampTest.php b/tests/TestCase/DateTime/CreateFromTimestampTest.php index db4b2a88..d02a1001 100644 --- a/tests/TestCase/DateTime/CreateFromTimestampTest.php +++ b/tests/TestCase/DateTime/CreateFromTimestampTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/CreateTest.php b/tests/TestCase/DateTime/CreateTest.php index c9383998..32daa02b 100644 --- a/tests/TestCase/DateTime/CreateTest.php +++ b/tests/TestCase/DateTime/CreateTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/DiffTest.php b/tests/TestCase/DateTime/DiffTest.php index 1f0886ed..6cbb4876 100644 --- a/tests/TestCase/DateTime/DiffTest.php +++ b/tests/TestCase/DateTime/DiffTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/GettersTest.php b/tests/TestCase/DateTime/GettersTest.php index 3bd2ff28..430ba37f 100644 --- a/tests/TestCase/DateTime/GettersTest.php +++ b/tests/TestCase/DateTime/GettersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; @@ -256,7 +256,7 @@ public function testGetQuarterFirstLast($class) public function testGetLocalTrue($class) { // Default timezone has been set to America/Toronto in TestCase.php - // @see : http://en.wikipedia.org/wiki/List_of_UTC_time_offsets + // @see : https://en.wikipedia.org/wiki/List_of_UTC_time_offsets $this->assertTrue($class::createFromDate(2012, 1, 1, 'America/Toronto')->local); $this->assertTrue($class::createFromDate(2012, 1, 1, 'America/New_York')->local); } diff --git a/tests/TestCase/DateTime/InstanceTest.php b/tests/TestCase/DateTime/InstanceTest.php index 315e4452..ae6f99a5 100644 --- a/tests/TestCase/DateTime/InstanceTest.php +++ b/tests/TestCase/DateTime/InstanceTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/IssetTest.php b/tests/TestCase/DateTime/IssetTest.php index 789a00a6..6b307df4 100644 --- a/tests/TestCase/DateTime/IssetTest.php +++ b/tests/TestCase/DateTime/IssetTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/MutabilityTest.php b/tests/TestCase/DateTime/MutabilityTest.php index 5eaf4529..4e862092 100644 --- a/tests/TestCase/DateTime/MutabilityTest.php +++ b/tests/TestCase/DateTime/MutabilityTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/NowAndOtherStaticHelpersTest.php b/tests/TestCase/DateTime/NowAndOtherStaticHelpersTest.php index 19270032..2c02d641 100644 --- a/tests/TestCase/DateTime/NowAndOtherStaticHelpersTest.php +++ b/tests/TestCase/DateTime/NowAndOtherStaticHelpersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/PhpBug72338Test.php b/tests/TestCase/DateTime/PhpBug72338Test.php index a2d104a1..05cc8da3 100644 --- a/tests/TestCase/DateTime/PhpBug72338Test.php +++ b/tests/TestCase/DateTime/PhpBug72338Test.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/RelativeTest.php b/tests/TestCase/DateTime/RelativeTest.php index 455f16ff..9dbb3f55 100644 --- a/tests/TestCase/DateTime/RelativeTest.php +++ b/tests/TestCase/DateTime/RelativeTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/SettersTest.php b/tests/TestCase/DateTime/SettersTest.php index 31cf4bd3..027f3e3c 100644 --- a/tests/TestCase/DateTime/SettersTest.php +++ b/tests/TestCase/DateTime/SettersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/StringsTest.php b/tests/TestCase/DateTime/StringsTest.php index d3bf443e..3ad3d38f 100644 --- a/tests/TestCase/DateTime/StringsTest.php +++ b/tests/TestCase/DateTime/StringsTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/SubTest.php b/tests/TestCase/DateTime/SubTest.php index 09b177ae..940b9e46 100644 --- a/tests/TestCase/DateTime/SubTest.php +++ b/tests/TestCase/DateTime/SubTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/Interval/IntervalConstructTest.php b/tests/TestCase/Interval/IntervalConstructTest.php index f10f365d..0833fcce 100644 --- a/tests/TestCase/Interval/IntervalConstructTest.php +++ b/tests/TestCase/Interval/IntervalConstructTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Interval; diff --git a/tests/TestCase/Interval/IntervalGettersTest.php b/tests/TestCase/Interval/IntervalGettersTest.php index bd5b20e3..28f7738e 100644 --- a/tests/TestCase/Interval/IntervalGettersTest.php +++ b/tests/TestCase/Interval/IntervalGettersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Interval; diff --git a/tests/TestCase/Interval/IntervalToStringTest.php b/tests/TestCase/Interval/IntervalToStringTest.php index 98c85cdf..77d877c2 100644 --- a/tests/TestCase/Interval/IntervalToStringTest.php +++ b/tests/TestCase/Interval/IntervalToStringTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Interval; From a9766c6b7312a206f9dbd1977aa32ca12e51a8cb Mon Sep 17 00:00:00 2001 From: Arhell Date: Sun, 11 Dec 2022 00:03:29 +0200 Subject: [PATCH 3/9] update root folder links --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 97f3ee6d..e8772ee5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Copyright (C) Brian Nesbitt -Copyright (C) Cake Software Foundation, Inc. (http://cakefoundation.org) +Copyright (C) Cake Software Foundation, Inc. (https://cakefoundation.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From c3283e466a3ddd6ef2823dc58ce5b8365973e902 Mon Sep 17 00:00:00 2001 From: Arhell Date: Mon, 12 Dec 2022 00:01:42 +0200 Subject: [PATCH 4/9] update tests folder links --- tests/TestCase/Date/AddTest.php | 8 ++++---- tests/TestCase/Date/ConstructTest.php | 8 ++++---- tests/TestCase/Date/IsTest.php | 8 ++++---- tests/TestCase/Date/TimeMutateTest.php | 8 ++++---- tests/TestCase/Date/TimezoneTest.php | 8 ++++---- tests/TestCase/DateTime/AddTest.php | 8 ++++---- tests/TestCase/DateTime/ComparisonTest.php | 8 ++++---- tests/TestCase/DateTime/ConstructTest.php | 8 ++++---- tests/TestCase/DateTime/CreateFromFormatTest.php | 8 ++++---- tests/TestCase/DateTime/DayOfWeekModifiersTest.php | 8 ++++---- tests/TestCase/DateTime/FluidSettersTest.php | 8 ++++---- tests/TestCase/DateTime/IsTest.php | 8 ++++---- tests/TestCase/DateTime/StartEndOfTest.php | 8 ++++---- tests/TestCase/DateTime/TestingAidsTest.php | 8 ++++---- tests/TestCase/DebugInfoTest.php | 8 ++++---- tests/TestCase/Interval/IntervalAddTest.php | 8 ++++---- tests/TestCase/Interval/IntervalSettersTest.php | 8 ++++---- tests/TestCase/MutabilityConversionTest.php | 8 ++++---- tests/TestCase/TestCase.php | 8 ++++---- 19 files changed, 76 insertions(+), 76 deletions(-) diff --git a/tests/TestCase/Date/AddTest.php b/tests/TestCase/Date/AddTest.php index 1d60d692..8496989a 100644 --- a/tests/TestCase/Date/AddTest.php +++ b/tests/TestCase/Date/AddTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/Date/ConstructTest.php b/tests/TestCase/Date/ConstructTest.php index 6b35a242..0d512e35 100644 --- a/tests/TestCase/Date/ConstructTest.php +++ b/tests/TestCase/Date/ConstructTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/Date/IsTest.php b/tests/TestCase/Date/IsTest.php index b470b656..442cdfa8 100644 --- a/tests/TestCase/Date/IsTest.php +++ b/tests/TestCase/Date/IsTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/Date/TimeMutateTest.php b/tests/TestCase/Date/TimeMutateTest.php index 8da13380..d44caa4a 100644 --- a/tests/TestCase/Date/TimeMutateTest.php +++ b/tests/TestCase/Date/TimeMutateTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/Date/TimezoneTest.php b/tests/TestCase/Date/TimezoneTest.php index 527af643..6f39272c 100644 --- a/tests/TestCase/Date/TimezoneTest.php +++ b/tests/TestCase/Date/TimezoneTest.php @@ -2,14 +2,14 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Date; diff --git a/tests/TestCase/DateTime/AddTest.php b/tests/TestCase/DateTime/AddTest.php index fdbf1745..aad453b7 100644 --- a/tests/TestCase/DateTime/AddTest.php +++ b/tests/TestCase/DateTime/AddTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/ComparisonTest.php b/tests/TestCase/DateTime/ComparisonTest.php index 4112957d..e07e58f2 100644 --- a/tests/TestCase/DateTime/ComparisonTest.php +++ b/tests/TestCase/DateTime/ComparisonTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/ConstructTest.php b/tests/TestCase/DateTime/ConstructTest.php index edfd2bd1..f5b74677 100644 --- a/tests/TestCase/DateTime/ConstructTest.php +++ b/tests/TestCase/DateTime/ConstructTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/CreateFromFormatTest.php b/tests/TestCase/DateTime/CreateFromFormatTest.php index 006f98f1..baf7a86e 100644 --- a/tests/TestCase/DateTime/CreateFromFormatTest.php +++ b/tests/TestCase/DateTime/CreateFromFormatTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/DayOfWeekModifiersTest.php b/tests/TestCase/DateTime/DayOfWeekModifiersTest.php index 64449224..ab0cc9e5 100644 --- a/tests/TestCase/DateTime/DayOfWeekModifiersTest.php +++ b/tests/TestCase/DateTime/DayOfWeekModifiersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/FluidSettersTest.php b/tests/TestCase/DateTime/FluidSettersTest.php index 4009aef5..7eb7a162 100644 --- a/tests/TestCase/DateTime/FluidSettersTest.php +++ b/tests/TestCase/DateTime/FluidSettersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/IsTest.php b/tests/TestCase/DateTime/IsTest.php index 95753962..28f7e0f3 100644 --- a/tests/TestCase/DateTime/IsTest.php +++ b/tests/TestCase/DateTime/IsTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/StartEndOfTest.php b/tests/TestCase/DateTime/StartEndOfTest.php index 4d015a05..ec9e683f 100644 --- a/tests/TestCase/DateTime/StartEndOfTest.php +++ b/tests/TestCase/DateTime/StartEndOfTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DateTime/TestingAidsTest.php b/tests/TestCase/DateTime/TestingAidsTest.php index 85e28c10..7b0cdb64 100644 --- a/tests/TestCase/DateTime/TestingAidsTest.php +++ b/tests/TestCase/DateTime/TestingAidsTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\DateTime; diff --git a/tests/TestCase/DebugInfoTest.php b/tests/TestCase/DebugInfoTest.php index 160aee8e..c2524e7a 100644 --- a/tests/TestCase/DebugInfoTest.php +++ b/tests/TestCase/DebugInfoTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase; diff --git a/tests/TestCase/Interval/IntervalAddTest.php b/tests/TestCase/Interval/IntervalAddTest.php index d91a21cd..1d72177c 100644 --- a/tests/TestCase/Interval/IntervalAddTest.php +++ b/tests/TestCase/Interval/IntervalAddTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Interval; diff --git a/tests/TestCase/Interval/IntervalSettersTest.php b/tests/TestCase/Interval/IntervalSettersTest.php index dc109d1b..8273a7d5 100644 --- a/tests/TestCase/Interval/IntervalSettersTest.php +++ b/tests/TestCase/Interval/IntervalSettersTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase\Interval; diff --git a/tests/TestCase/MutabilityConversionTest.php b/tests/TestCase/MutabilityConversionTest.php index 03c9e26e..39e0d178 100644 --- a/tests/TestCase/MutabilityConversionTest.php +++ b/tests/TestCase/MutabilityConversionTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase; diff --git a/tests/TestCase/TestCase.php b/tests/TestCase/TestCase.php index ea2a66f5..20ad0286 100644 --- a/tests/TestCase/TestCase.php +++ b/tests/TestCase/TestCase.php @@ -2,15 +2,15 @@ declare(strict_types=1); /** - * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * - * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) + * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * @copyright Copyright (c) Brian Nesbitt - * @link http://cakephp.org CakePHP(tm) Project - * @license http://www.opensource.org/licenses/mit-license.php MIT License + * @link https://cakephp.org CakePHP(tm) Project + * @license https://www.opensource.org/licenses/mit-license.php MIT License */ namespace Cake\Chronos\Test\TestCase; From a4487c6f5a26f54efb264df1a1e8636f14b9b87f Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 18 Mar 2023 15:30:05 -0400 Subject: [PATCH 5/9] Update docs image --- docs.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.Dockerfile b/docs.Dockerfile index 032ed39c..7f6a1263 100644 --- a/docs.Dockerfile +++ b/docs.Dockerfile @@ -1,5 +1,5 @@ # Generate the HTML output. -FROM markstory/cakephp-docs-builder as builder +FROM ghcr.io/cakephp/docs-builder as builder RUN pip install git+https://github.com/sphinx-contrib/video.git@master @@ -11,7 +11,7 @@ RUN cd /data/docs-builder && \ make website LANGS="$LANGS" SOURCE=/data/docs DEST=/data/website # Build a small nginx container with just the static site in it. -FROM markstory/cakephp-docs-builder:runtime as runtime +FROM ghcr.io/cakephp/docs-builder:runtime as runtime ENV LANGS="en fr ja pt" ENV SEARCH_SOURCE="/usr/share/nginx/html" From 7b57fcaa8ec095887f91c76e79f7c1ea5834dfd0 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 16 Apr 2023 12:45:24 -0400 Subject: [PATCH 6/9] Update docs for Date + timezone In 2.x the timezone used for `Date` and `MutableDate` has changed from UTC to the server local time. Update the docs to reflect that. Refs #385 --- docs/en/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index dabb9b26..94b169a6 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -97,9 +97,9 @@ Date Objects PHP only provides a single DateTime object. Representing calendar dates can be a bit awkward with this class as it includes timezones, and time components that don't really belong in the concept of a 'day'. Chronos provides a ``Date`` -object that allows you to represent dates. The time and timezone for these -objects is always fixed to ``00:00:00 UTC`` and all formatting/difference -methods operate at the day resolution:: +object that allows you to represent dates. The time for date objects is always +fixed to ``00:00:00``, and the timezone is set to the server local timezone. All +formatting/difference methods operate at the day resolution:: use Cake\Chronos\Date; From 73f3e7794269632c52a96bd15fba464f0eb2ffc5 Mon Sep 17 00:00:00 2001 From: othercorey Date: Sun, 16 Apr 2023 15:48:27 -0500 Subject: [PATCH 7/9] Update github actions to ubuntu 22.04 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f30c3d8..28a76479 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: jobs: testsuite: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -74,7 +74,7 @@ jobs: cs-stan: name: Coding Standard & Static Analysis - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 From 21364df33fedc9bb1128321243ab2868d5123244 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Wed, 19 Apr 2023 21:08:05 +0900 Subject: [PATCH 8/9] Return the false returned by parent::getLastErrors() as default errors array --- src/Traits/FactoryTrait.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Traits/FactoryTrait.php b/src/Traits/FactoryTrait.php index b962c6af..7fe1b78c 100644 --- a/src/Traits/FactoryTrait.php +++ b/src/Traits/FactoryTrait.php @@ -358,7 +358,12 @@ protected static function safeCreateDateTimeZone($object): DateTimeZone public static function getLastErrors(): array { if (empty(static::$_lastErrors)) { - return parent::getLastErrors(); + return parent::getLastErrors() ?: [ + 'warning_count' => 0, + 'warnings' => [], + 'error_count' => 0, + 'errors' => [], + ]; } return static::$_lastErrors; From 4a12c4e9f488192159f61d201c65ad54f54255e9 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Sat, 20 May 2023 21:30:44 +0200 Subject: [PATCH 9/9] adjust CI to not ignore-platform-reqs --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28a76479..96bfed97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,8 +50,6 @@ jobs: run: | if ${{ matrix.prefer-lowest == 'prefer-lowest' }}; then composer update --prefer-lowest --prefer-stable - elif ${{ matrix.php-version == '8.2' }}; then - composer update --ignore-platform-reqs else composer update fi