Skip to content

Commit 3bfc501

Browse files
committed
up: update readme, fix import test class error
1 parent b9f67a6 commit 3bfc501

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
$header = <<<'EOF'
4-
This file is part of phpcom-lab/cli-markdown.
4+
This file is part of inherelab/php-pkg-template.
55
66
@link https://github.com/inhere
77
@author https://github.com/inhere

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ composer require inherelab/php-pkg-template
2020
- clone this repository to local
2121
- update readme description
2222
- search all `inherelab/php-pkg-template` and replace to your package name.
23-
- update `composer.json` contents: name, description, require, autoload
23+
- update `composer.json` contents, field: name, description, require, autoload
2424

2525
## License
2626

test/BaseTestCase.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
<?php declare(strict_types=1);
22

3-
namespace Toolkit\PFlagTest;
3+
namespace InhereLab\PhpPkgTest;
44

55
use PHPUnit\Framework\TestCase;
6+
use ReflectionException;
7+
use ReflectionMethod;
68

79
/**
810
* Class BaseTestCase
911
*
10-
* @package Toolkit\PFlagTest
12+
* @package InhereLab\PhpPkgTest
1113
*/
1214
abstract class BaseTestCase extends TestCase
1315
{
@@ -34,7 +36,7 @@ protected static function getMethod($class, string $method): ReflectionMethod
3436
{
3537
// $class = new \ReflectionClass($class);
3638
// $method = $class->getMethod($method);
37-
39+
3840
$method = new \ReflectionMethod($class, $method);
3941
$method->setAccessible(true);
4042

0 commit comments

Comments
 (0)