diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index e62680c455..f05a422560 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -5,7 +5,7 @@ - feature proposals, - and documentation requests - Having all those informations will allow us to know exactly + Having all those information will allow us to know exactly what you expect and answer you faster and precisely (answer that matches your Carbon version, PHP version and usage). @@ -45,7 +45,7 @@ PHP version: **PUT HERE YOUR PHP VERSION** You can use the [Options] button to change the version then when you get the bug with this editor, you can use the [Export] button, copy the link of the opened tab, - then paste it in the issue. Then we can immediatly get + then paste it in the issue. Then we can immediately get your issue. --> diff --git a/src/Carbon/CarbonPeriod.php b/src/Carbon/CarbonPeriod.php index b0e7e8b10d..d12a986971 100644 --- a/src/Carbon/CarbonPeriod.php +++ b/src/Carbon/CarbonPeriod.php @@ -526,7 +526,7 @@ protected static function parseIso8601($iso) } /** - * Add missing parts of the target date from the soure date. + * Add missing parts of the target date from the source date. * * @param string $source * @param string $target @@ -2034,7 +2034,7 @@ public function map(callable $callback) /** * Determines if the instance is equal to another. - * Warning: if options differ, instances wil never be equal. + * Warning: if options differ, instances will never be equal. * * @param mixed $period * @@ -2049,7 +2049,7 @@ public function eq($period): bool /** * Determines if the instance is equal to another. - * Warning: if options differ, instances wil never be equal. + * Warning: if options differ, instances will never be equal. * * @param mixed $period * @@ -2072,7 +2072,7 @@ public function equalTo($period): bool /** * Determines if the instance is not equal to another. - * Warning: if options differ, instances wil never be equal. + * Warning: if options differ, instances will never be equal. * * @param mixed $period * @@ -2087,7 +2087,7 @@ public function ne($period): bool /** * Determines if the instance is not equal to another. - * Warning: if options differ, instances wil never be equal. + * Warning: if options differ, instances will never be equal. * * @param mixed $period * diff --git a/tests/Carbon/CreateFromTimeTest.php b/tests/Carbon/CreateFromTimeTest.php index e345166fb7..f7893383da 100644 --- a/tests/Carbon/CreateFromTimeTest.php +++ b/tests/Carbon/CreateFromTimeTest.php @@ -135,7 +135,7 @@ public function testCreateFromTimeWithTimeZoneOnNow() Carbon::setTestNow($test); // tested without microseconds - // because they appear withing calls to Carbon + // because they appear within calls to Carbon $this->assertSame($now->format('c'), $dt->format('c')); } } diff --git a/tests/Carbon/MacroTest.php b/tests/Carbon/MacroTest.php index 5eb4e6ab99..8990c0a485 100644 --- a/tests/Carbon/MacroTest.php +++ b/tests/Carbon/MacroTest.php @@ -90,7 +90,7 @@ public function testCarbonIsMacroableWhenCalledStatically() $this->assertSame('05/04', Carbon::easterDate(2015)->format('d/m')); } - public function testCarbonIsMacroableWhithNonClosureCallables() + public function testCarbonIsMacroableWithNonClosureCallables() { Carbon::macro('lower', 'strtolower'); diff --git a/tests/Carbon/StringsTest.php b/tests/Carbon/StringsTest.php index 688e6669e2..343eb289d8 100644 --- a/tests/Carbon/StringsTest.php +++ b/tests/Carbon/StringsTest.php @@ -170,7 +170,7 @@ public function testToLocalizedFormattedDeprecation() }); } - public function testToLocalizedFormattedDateStringWhenUtf8IsNedded() + public function testToLocalizedFormattedDateStringWhenUtf8IsNeeded() { Carbon::useStrictMode(false); diff --git a/tests/CarbonImmutable/CreateFromTimeTest.php b/tests/CarbonImmutable/CreateFromTimeTest.php index 631c93510f..d372f03387 100644 --- a/tests/CarbonImmutable/CreateFromTimeTest.php +++ b/tests/CarbonImmutable/CreateFromTimeTest.php @@ -107,7 +107,7 @@ public function testCreateFromTime() Carbon::setTestNow($test); // tested without microseconds - // because they appear withing calls to Carbon + // because they appear within calls to Carbon $this->assertSame($now->format('c'), $dt->format('c')); } } diff --git a/tests/CarbonImmutable/MacroTest.php b/tests/CarbonImmutable/MacroTest.php index e331c37726..17a83aa6c2 100644 --- a/tests/CarbonImmutable/MacroTest.php +++ b/tests/CarbonImmutable/MacroTest.php @@ -82,7 +82,7 @@ public function testCarbonIsMacroableWhenCalledStatically() $this->assertSame('05/04', Carbon::easterDate(2015)->format('d/m')); } - public function testCarbonIsMacroableWhithNonClosureCallables() + public function testCarbonIsMacroableWithNonClosureCallables() { Carbon::macro('lower2', 'strtolower'); diff --git a/tests/CarbonImmutable/StringsTest.php b/tests/CarbonImmutable/StringsTest.php index 644dff2fde..985f6b22de 100644 --- a/tests/CarbonImmutable/StringsTest.php +++ b/tests/CarbonImmutable/StringsTest.php @@ -103,7 +103,7 @@ public function testToLocalizedFormattedDateString() }); } - public function testToLocalizedFormattedDateStringWhenUtf8IsNedded() + public function testToLocalizedFormattedDateStringWhenUtf8IsNeeded() { Carbon::useStrictMode(false); diff --git a/tests/CarbonInterval/MacroTest.php b/tests/CarbonInterval/MacroTest.php index eb5d444a2b..2a58ce052f 100644 --- a/tests/CarbonInterval/MacroTest.php +++ b/tests/CarbonInterval/MacroTest.php @@ -108,7 +108,7 @@ public function testCarbonIsMacroableWhenCalledStatically() $this->assertSame('3 months', CarbonInterval::quarterIfEven(-6)->forHumans()); } - public function testCarbonIsMacroableWhithNonClosureCallables() + public function testCarbonIsMacroableWithNonClosureCallables() { CarbonInterval::macro('lower', 'strtolower'); diff --git a/tests/CarbonPeriod/MacroTest.php b/tests/CarbonPeriod/MacroTest.php index dc0ce1dfe4..34453468a0 100644 --- a/tests/CarbonPeriod/MacroTest.php +++ b/tests/CarbonPeriod/MacroTest.php @@ -205,7 +205,7 @@ public function testOverrideAlias() $this->assertSame('foo', $periodClass::recurrences()); } - public function testInstatiateViaStaticMacroCall() + public function testInstantiateViaStaticMacroCall() { $periodClass = $this->periodClass; $periodClass::macro('fromTomorrow', function () {