Skip to content

Commit

Permalink
Move repository to new home.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Mar 16, 2020
1 parent cb75a4c commit d37d11e
Show file tree
Hide file tree
Showing 65 changed files with 141 additions and 141 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[![Latest Stable Version](https://img.shields.io/packagist/v/drupol/tin.svg?style=flat-square)](https://packagist.org/packages/drupol/tin)
[![GitHub stars](https://img.shields.io/github/stars/drupol/tin.svg?style=flat-square)](https://packagist.org/packages/drupol/tin)
[![Total Downloads](https://img.shields.io/packagist/dt/drupol/tin.svg?style=flat-square)](https://packagist.org/packages/drupol/tin)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/drupol/tin/Continuous%20Integration?style=flat-square)](https://github.com/drupol/tin/actions)
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/drupol/tin/refactoring.svg?style=flat-square)](https://scrutinizer-ci.com/g/drupol/tin/?branch=refactoring)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/drupol/tin/refactoring.svg?style=flat-square)](https://scrutinizer-ci.com/g/drupol/tin/?branch=refactoring)
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/drupol/tin/refactoring)](https://stryker-mutator.github.io)
[![License](https://img.shields.io/packagist/l/drupol/tin.svg?style=flat-square)](https://packagist.org/packages/drupol/tin)
[![Latest Stable Version](https://img.shields.io/packagist/v/loophp/tin.svg?style=flat-square)](https://packagist.org/packages/loophp/tin)
[![GitHub stars](https://img.shields.io/github/stars/loophp/tin.svg?style=flat-square)](https://packagist.org/packages/loophp/tin)
[![Total Downloads](https://img.shields.io/packagist/dt/loophp/tin.svg?style=flat-square)](https://packagist.org/packages/loophp/tin)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/loophp/tin/Continuous%20Integration?style=flat-square)](https://github.com/loophp/tin/actions)
[![Scrutinizer code quality](https://img.shields.io/scrutinizer/quality/g/loophp/tin/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/loophp/tin/?branch=master)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/loophp/tin/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/loophp/tin/?branch=master)
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/loophp/tin/master)](https://stryker-mutator.github.io)
[![License](https://img.shields.io/packagist/l/loophp/tin.svg?style=flat-square)](https://packagist.org/packages/loophp/tin)

# Taxpayer Identification Number (TIN) Validator

Expand Down Expand Up @@ -61,7 +61,7 @@ To simply check the validity of a TIN number:

include __DIR__ . '/vendor/autoload.php';

use LeKoala\Tin\TIN;
use loophp\Tin\TIN;

$bool = TIN::fromSlug('be71102512345')->isValid();
```
Expand All @@ -73,8 +73,8 @@ If you want to get the reason why a number is invalid, you can use

include __DIR__ . '/vendor/autoload.php';

use LeKoala\Tin\TIN;
use LeKoala\Tin\Exception\TINException;
use loophp\Tin\TIN;
use loophp\Tin\Exception\TINException;

try {
TIN::fromSlug('be71102512345')->check();
Expand All @@ -85,11 +85,11 @@ try {

## Installation

```composer require drupol/tin```
```composer require loophp/tin```

## Code quality, tests and benchmarks

Every time changes are introduced into the library, [Github](https://github.com/drupol/tin/actions) run the tests and the benchmarks.
Every time changes are introduced into the library, [Github](https://github.com/loophp/tin/actions) run the tests and the benchmarks.

The library has tests written with [PHPSpec](http://www.phpspec.net/).
Feel free to check them out in the `spec` directory. Run `composer phpspec` to trigger the tests.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
},
"autoload": {
"psr-4": {
"LeKoala\\Tin\\": "src/"
"loophp\\Tin\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"tests\\LeKoala\\Tin\\": "tests/src/"
"tests\\loophp\\Tin\\": "tests/src/"
}
},
"support": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class AustriaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class BelgiumSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class BulgariaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class CroatiaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class CyprusSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class CzeckRepublicSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class DenmarkSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class EstoniaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

/** @todo find a way to remove the dash. */
class FinlandSpec extends AbstractAlgorithmSpec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class FranceSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class GermanySpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class GreeceSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class HungarySpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class IrelandSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class ItalySpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class LatviaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class LithuaniaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class LuxembourgSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class MaltaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class NetherlandsSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class PolandSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class PortugalSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class RomaniaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class SlovakiaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class SloveniaSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class SpainSpec extends AbstractAlgorithmSpec
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace spec\LeKoala\Tin\CountryHandler;
namespace spec\loophp\Tin\CountryHandler;

use tests\LeKoala\Tin\AbstractAlgorithmSpec;
use tests\loophp\Tin\AbstractAlgorithmSpec;

class SwedenSpec extends AbstractAlgorithmSpec
{
Expand Down
Loading

0 comments on commit d37d11e

Please sign in to comment.