Skip to content

Commit

Permalink
Fix: Rename repository
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jun 13, 2021
1 parent f47d500 commit 625f183
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ repository:
has_pages: false
has_projects: false
has_wiki: false
name: "php-library-template"
name: "php-package-template"
private: false

# https://docs.github.com/en/rest/reference/repos#replace-all-repository-topics
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
*
* @see https://github.com/ergebnis/php-library-template
* @see https://github.com/ergebnis/php-package-template
*/

use Ergebnis\License;
Expand All @@ -21,7 +21,7 @@
new \DateTimeZone('UTC'),
),
License\Holder::fromString('Andreas Möller'),
License\Url::fromString('https://github.com/ergebnis/php-library-template'),
License\Url::fromString('https://github.com/ergebnis/php-package-template'),
);

$license->save();
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

For a full diff see [`1902cc2...main`][1902cc2...main].

[1902cc2...main]: https://github.com/ergebnis/php-library-template/compare/1902cc2...main
[1902cc2...main]: https://github.com/ergebnis/php-package-template/compare/1902cc2...main
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# php-library-template
# php-package-template

[![Integrate](https://github.com/ergebnis/php-library-template/workflows/Integrate/badge.svg)](https://github.com/ergebnis/php-library-template/actions)
[![Prune](https://github.com/ergebnis/php-library-template/workflows/Prune/badge.svg)](https://github.com/ergebnis/php-library-template/actions)
[![Release](https://github.com/ergebnis/php-library-template/workflows/Release/badge.svg)](https://github.com/ergebnis/php-library-template/actions)
[![Renew](https://github.com/ergebnis/php-library-template/workflows/Renew/badge.svg)](https://github.com/ergebnis/php-library-template/actions)
[![Integrate](https://github.com/ergebnis/php-package-template/workflows/Integrate/badge.svg)](https://github.com/ergebnis/php-package-template/actions)
[![Prune](https://github.com/ergebnis/php-package-template/workflows/Prune/badge.svg)](https://github.com/ergebnis/php-package-template/actions)
[![Release](https://github.com/ergebnis/php-package-template/workflows/Release/badge.svg)](https://github.com/ergebnis/php-package-template/actions)
[![Renew](https://github.com/ergebnis/php-package-template/workflows/Renew/badge.svg)](https://github.com/ergebnis/php-package-template/actions)

[![Code Coverage](https://codecov.io/gh/ergebnis/php-library-template/branch/main/graph/badge.svg)](https://codecov.io/gh/ergebnis/php-library-template)
[![Type Coverage](https://shepherd.dev/github/ergebnis/php-library-template/coverage.svg)](https://shepherd.dev/github/ergebnis/php-library-template)
[![Code Coverage](https://codecov.io/gh/ergebnis/php-package-template/branch/main/graph/badge.svg)](https://codecov.io/gh/ergebnis/php-package-template)
[![Type Coverage](https://shepherd.dev/github/ergebnis/php-package-template/coverage.svg)](https://shepherd.dev/github/ergebnis/php-package-template)

[![Latest Stable Version](https://poser.pugx.org/ergebnis/php-library-template/v/stable)](https://packagist.org/packages/ergebnis/php-library-template)
[![Total Downloads](https://poser.pugx.org/ergebnis/php-library-template/downloads)](https://packagist.org/packages/ergebnis/php-library-template)
[![Latest Stable Version](https://poser.pugx.org/ergebnis/php-package-template/v/stable)](https://packagist.org/packages/ergebnis/php-package-template)
[![Total Downloads](https://poser.pugx.org/ergebnis/php-package-template/downloads)](https://packagist.org/packages/ergebnis/php-package-template)

## Installation

Expand All @@ -18,7 +18,7 @@
Run

```sh
$ composer require ergebnis/php-library-template
$ composer require ergebnis/php-package-template
```

## Usage
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ergebnis/php-library-template",
"name": "ergebnis/php-package-template",
"type": "library",
"description": "Provides a GitHub repository template for a PHP library, using GitHub actions.",
"homepage": "https://github.com/ergebnis/php-library-template",
"homepage": "https://github.com/ergebnis/php-package-template",
"license": "MIT",
"authors": [
{
Expand Down Expand Up @@ -44,16 +44,16 @@
},
"autoload": {
"psr-4": {
"Ergebnis\\Library\\": "src/"
"Ergebnis\\Package\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ergebnis\\Library\\Test\\": "test/"
"Ergebnis\\Package\\Test\\": "test/"
}
},
"support": {
"issues": "https://github.com/ergebnis/php-library-template/issues",
"source": "https://github.com/ergebnis/php-library-template"
"issues": "https://github.com/ergebnis/php-package-template/issues",
"source": "https://github.com/ergebnis/php-package-template"
}
}
139 changes: 64 additions & 75 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Example.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
*
* @see https://github.com/ergebnis/php-library-template
* @see https://github.com/ergebnis/php-package-template
*/

namespace Ergebnis\Library;
namespace Ergebnis\Package;

final class Example
{
Expand Down
8 changes: 4 additions & 4 deletions test/AutoReview/SrcCodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
*
* @see https://github.com/ergebnis/php-library-template
* @see https://github.com/ergebnis/php-package-template
*/

namespace Ergebnis\Library\Test\AutoReview;
namespace Ergebnis\Package\Test\AutoReview;

use Ergebnis\Test\Util;
use PHPUnit\Framework;
Expand All @@ -29,8 +29,8 @@ public function testSrcClassesHaveUnitTests(): void
{
self::assertClassesHaveTests(
__DIR__ . '/../../src/',
'Ergebnis\\Library\\',
'Ergebnis\\Library\\Test\\Unit\\',
'Ergebnis\\Package\\',
'Ergebnis\\Package\\Test\\Unit\\',
);
}
}
8 changes: 4 additions & 4 deletions test/Unit/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
* For the full copyright and license information, please view
* the LICENSE.md file that was distributed with this source code.
*
* @see https://github.com/ergebnis/php-library-template
* @see https://github.com/ergebnis/php-package-template
*/

namespace Ergebnis\Library\Test\Unit;
namespace Ergebnis\Package\Test\Unit;

use Ergebnis\Library\Example;
use Ergebnis\Package\Example;
use Ergebnis\Test\Util;
use PHPUnit\Framework;

/**
* @internal
*
* @covers \Ergebnis\Library\Example
* @covers \Ergebnis\Package\Example
*/
final class ExampleTest extends Framework\TestCase
{
Expand Down

0 comments on commit 625f183

Please sign in to comment.