Fix typos

This commit is contained in:
Viktor Szépe
2024-05-21 06:10:59 +00:00
parent 9d07b3f7fd
commit ab86695010
8 changed files with 18 additions and 18 deletions
@@ -505,7 +505,7 @@ class StandardTagFactoryTest extends TestCase
'tag',
'@tag some text',
],
'tag body starting with sqare brackets is allowed' => [
'tag body starting with square brackets is allowed' => [
'@tag [is valid]',
'tag',
'@tag [is valid]',
+1 -1
View File
@@ -139,7 +139,7 @@ class AuthorTest extends TestCase
* @covers ::__construct
* @covers ::__toString
*/
public function testStringRepresentationWithEmtpyEmail(): void
public function testStringRepresentationWithEmptyEmail(): void
{
$fixture = new Author('Mike van Riel', '');
+1 -1
View File
@@ -67,7 +67,7 @@ class ExampleTest extends TestCase
* @covers ::getStartingLine
* @covers ::getDescription
*/
public function testAllowOmitingLineCount(): void
public function testAllowOmittingLineCount(): void
{
$tag = Example::create('"example1.php" 10 some text');
$this->assertEquals('example1.php', $tag->getFilePath());
+1 -1
View File
@@ -56,7 +56,7 @@ class VarTest extends TestCase
*
* @covers \phpDocumentor\Reflection\DocBlock\Tags\BaseTag::render
*/
public function testIfVariableNameIsOmmitedIfEmpty(): void
public function testIfVariableNameIsOmittedIfEmpty(): void
{
$fixture = new Var_('', null, null);