Skip to content

Commit

Permalink
Moved repository and renamed package.
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Nov 14, 2019
1 parent 398227e commit bb70f99
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 36 deletions.
13 changes: 6 additions & 7 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
build:
tests:
override:
-
command: './bin/phing unit'
coverage:
file: 'test/coverage.xml'
format: 'php-clover'
tests:
override:
- command: './bin/phing unit'
coverage:
file: 'test/coverage.xml'
format: 'php-clover'
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ php:
- '7.1'
- '7.2'
- '7.3'

install:
- composer self-update
- composer install
script:

script:
- ./bin/phing unit

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ABC-Framework: URL
# PhpPlaisio: URL

<table>
<thead>
Expand All @@ -13,20 +13,20 @@
<tbody>
<tr>
<td>
<a href="https://gitter.im/SetBased/php-abc?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge"><img src="https://badges.gitter.im/SetBased/php-abc.svg" alt="Gitter"/></a>
<a href="https://gitter.im/PhpPlaisio/PhpPlaisio"><img src="https://badges.gitter.im/PhpPlaisio/PhpPlaisio.svg" alt="Gitter"/></a>
</td>
<td>
<a href="https://packagist.org/packages/setbased/abc-url"><img src="https://poser.pugx.org/setbased/abc-url/license" alt="License"/></a>
<a href="https://packagist.org/packages/plaisio/url"><img src="https://poser.pugx.org/plaisio/url/license" alt="License"/></a>
</td>
<td>
<a href="https://packagist.org/packages/setbased/abc-url"><img src="https://poser.pugx.org/setbased/abc-url/v/stable" alt="Latest Stable Version"/></a>
<a href="https://packagist.org/packages/plaisio/url"><img src="https://poser.pugx.org/plaisio/url/v/stable" alt="Latest Stable Version"/></a>
</td>
<td>
<a href="https://travis-ci.org/SetBased/php-abc-url"><img src="https://travis-ci.org/SetBased/php-abc-url.svg?branch=master" alt="Build Status"/></a><br/>
<a href="https://scrutinizer-ci.com/g/SetBased/php-abc-url/?branch=master"><img src="https://scrutinizer-ci.com/g/SetBased/php-abc-url/badges/coverage.png?b=master" alt="Code Coverage"/></a>
<a href="https://travis-ci.org/PhpPlaisio/url"><img src="https://travis-ci.org/PhpPlaisio/url.svg?branch=master" alt="Build Status"/></a><br/>
<a href="https://scrutinizer-ci.com/g/PhpPlaisio/url/?branch=master"><img src="https://scrutinizer-ci.com/g/PhpPlaisio/url/badges/coverage.png?b=master" alt="Code Coverage"/></a>
</td>
<td>
<a href="https://scrutinizer-ci.com/g/SetBased/php-abc-url/?branch=master"><img src="https://scrutinizer-ci.com/g/SetBased/php-abc-url/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"/></a>
<a href="https://scrutinizer-ci.com/g/PhpPlaisio/url/?branch=master"><img src="https://scrutinizer-ci.com/g/PhpPlaisio/url/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"/></a>
</td>
</tr>
</tbody>
Expand Down
8 changes: 1 addition & 7 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<project name="ABC-Framework" default="build" basedir=".">
<project name="PhpPlaisio" default="build" basedir=".">
<!-- Run composer update and executes various other updates -->
<target name="composer-update">
<exec command="composer update" checkreturn="true" passthru="true"/>
</target>

<!-- Runs ApiGen -->
<target name="apigen">
<exec command="apigen generate --todo --tree --source src --destination doc" passthru="true"
checkreturn="true"/>
</target>

<!-- Run composer update -->
<target name="update">
<exec command="composer update" checkreturn="true" passthru="true"/>
Expand Down
19 changes: 9 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
{
"name": "setbased/abc-url",
"description": "ABC-Framework: URL",
"name": "plaisio/url",
"description": "PhpPlaisio: URL",
"keywords": [
"ABC-Framework",
"PhpPlaisio",
"URL"
],
"type": "library",
"license": "MIT",
"require-dev": {
"phing/phing": "^2.0.0",
"phpunit/phpunit": "^7.0.0 || ^8.0.0"
},
"require": {
"php": ">=7.1.0",
"ext-mbstring": "*"
},
"require-dev": {
"phing/phing": "^2.0.0",
"phpunit/phpunit": "^7.0.0 || ^8.0.0"
},
"autoload": {
"psr-4": {
"SetBased\\Abc\\Helper\\": "src/"
"Plaisio\\Helper\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SetBased\\Abc\\Helper\\Test\\": "test/"
"Plaisio\\Helper\\Test\\": "test/"
}
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/Url.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace SetBased\Abc\Helper;
namespace Plaisio\Helper;

/**
* Utility class with functions for manipulating URLs.
Expand Down
4 changes: 3 additions & 1 deletion test/UrlTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php
declare(strict_types=1);

namespace Plaisio\Url\Test;

use PHPUnit\Framework\TestCase;
use SetBased\Abc\Helper\Url;
use Plaisio\Helper\Url;

/**
* Test cases for class Url.
Expand Down

0 comments on commit bb70f99

Please sign in to comment.