-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added composer.json and README files
- Loading branch information
Showing
34 changed files
with
709 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
require_once __DIR__.'/.bootstrap.atoum.php'; | ||
|
||
use mageekguy\atoum\visibility\extension as Extension; | ||
|
||
/* @var \mageekguy\atoum\configurator $script */ | ||
$script->excludeDirectoriesFromCoverage(array(__DIR__.'/vendor')); | ||
|
||
/* @var \mageekguy\atoum\runner $runner */ | ||
$runner->addTestsFromDirectory(__DIR__.'/Tests'); | ||
$runner->addExtension(new Extension($script)); |
42 changes: 42 additions & 0 deletions
42
src/Cubiche/Infrastructure/Identity/Doctrine/.atoum.travis.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
use Cubiche\Tests\Report\Coverage\Coveralls; | ||
|
||
/* @var \mageekguy\atoum\configurator $script */ | ||
$script->addDefaultReport(); | ||
|
||
if (getenv('TRAVIS_PHP_VERSION') === '7.0') { | ||
$script | ||
->php('php -n -ddate.timezone=Europe/Madrid') | ||
->noCodeCoverage() | ||
; | ||
} else { | ||
if ($token = getenv('COVERALLS_REPO_TOKEN')) { | ||
$coverallsReport = new Coveralls(__DIR__, $token); | ||
|
||
$defaultFinder = $coverallsReport->getBranchFinder(); | ||
$coverallsReport | ||
->setBranchFinder(function () use ($defaultFinder) { | ||
if (($branch = getenv('TRAVIS_BRANCH')) === false) { | ||
$branch = $defaultFinder(); | ||
} | ||
|
||
return $branch; | ||
}) | ||
->setServiceName(getenv('TRAVIS') ? 'travis-ci' : null) | ||
->setServiceJobId(getenv('TRAVIS_JOB_ID') ?: null) | ||
->addDefaultWriter() | ||
; | ||
|
||
/* @var \mageekguy\atoum\runner $runner */ | ||
$runner->addReport($coverallsReport); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/Cubiche/Infrastructure/Identity/Doctrine/.bootstrap.atoum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
require_once __DIR__.'/vendor/autoload.php'; | ||
require_once __DIR__.'/vendor/atoum/atoum/scripts/runner.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
install: | ||
- curl -s http://getcomposer.org/installer | php | ||
- php composer.phar install --dev --no-interaction | ||
|
||
script: | ||
- vendor/bin/atoum -c .atoum.travis.php +verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cubiche - Identity Doctrine Adapter | ||
[![Build Status](https://travis-ci.org/cubiche/identity-doctrine-adapter.svg?branch=master)](https://travis-ci.org/cubiche/identity-doctrine-adapter) [![Coverage Status](https://coveralls.io/repos/github/cubiche/identity-doctrine-adapter/badge.svg?branch=master)](https://coveralls.io/github/cubiche/identity-doctrine-adapter?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cubiche/identity-doctrine-adapter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cubiche/identity-doctrine-adapter/?branch=master) |
41 changes: 41 additions & 0 deletions
41
src/Cubiche/Infrastructure/Identity/Doctrine/composer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "cubiche/identity-doctrine-adapter", | ||
"type": "library", | ||
"description": "Identity doctrine adapter library.", | ||
"keywords": [ | ||
"identity", | ||
"id", | ||
"uuid" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Karel Osorio", | ||
"email": "osorioramirez@gmail.com" | ||
}, | ||
{ | ||
"name": "Ivannis Suárez", | ||
"email": "ivannis.suarez@gmail.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.5.9|^7.0", | ||
|
||
"cubiche/identity": "dev-master", | ||
|
||
"cubiche/doctrine-adapter": "dev-master", | ||
"cubiche/model-doctrine-adapter": "dev-master" | ||
}, | ||
"require-dev": { | ||
"cubiche/tests": "dev-master" | ||
}, | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"exclude-from-classmap": [ | ||
"/Tests/" | ||
], | ||
"psr-4": { | ||
"Cubiche\\Infrastructure\\Identity\\Doctrine\\": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cubiche - Identity Adapter | ||
[![Build Status](https://travis-ci.org/cubiche/identity-adapter.svg?branch=master)](https://travis-ci.org/cubiche/identity-adapter) [![Coverage Status](https://coveralls.io/repos/github/cubiche/identity-adapter/badge.svg?branch=master)](https://coveralls.io/github/cubiche/identity-adapter?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cubiche/identity-adapter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cubiche/identity-adapter/?branch=master) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "cubiche/identity-adapter", | ||
"type": "library", | ||
"description": "Identity adapter library.", | ||
"keywords": [ | ||
"identity", | ||
"id", | ||
"uuid" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Karel Osorio", | ||
"email": "osorioramirez@gmail.com" | ||
}, | ||
{ | ||
"name": "Ivannis Suárez", | ||
"email": "ivannis.suarez@gmail.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.5.9|^7.0", | ||
|
||
"cubiche/identity": "dev-master", | ||
|
||
"cubiche/doctrine-adapter": "dev-master", | ||
"cubiche/model-doctrine-adapter": "dev-master" | ||
}, | ||
"require-dev": { | ||
"cubiche/tests": "dev-master" | ||
}, | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"exclude-from-classmap": [ | ||
"/Tests/" | ||
], | ||
"psr-4": { | ||
"Cubiche\\Infrastructure\\Identity\\": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
require_once __DIR__.'/.bootstrap.atoum.php'; | ||
|
||
use mageekguy\atoum\visibility\extension as Extension; | ||
|
||
/* @var \mageekguy\atoum\configurator $script */ | ||
$script->excludeDirectoriesFromCoverage(array(__DIR__.'/vendor')); | ||
|
||
/* @var \mageekguy\atoum\runner $runner */ | ||
$runner->addTestsFromDirectory(__DIR__.'/Tests'); | ||
$runner->addExtension(new Extension($script)); |
42 changes: 42 additions & 0 deletions
42
src/Cubiche/Infrastructure/Model/Doctrine/.atoum.travis.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
use Cubiche\Tests\Report\Coverage\Coveralls; | ||
|
||
/* @var \mageekguy\atoum\configurator $script */ | ||
$script->addDefaultReport(); | ||
|
||
if (getenv('TRAVIS_PHP_VERSION') === '7.0') { | ||
$script | ||
->php('php -n -ddate.timezone=Europe/Madrid') | ||
->noCodeCoverage() | ||
; | ||
} else { | ||
if ($token = getenv('COVERALLS_REPO_TOKEN')) { | ||
$coverallsReport = new Coveralls(__DIR__, $token); | ||
|
||
$defaultFinder = $coverallsReport->getBranchFinder(); | ||
$coverallsReport | ||
->setBranchFinder(function () use ($defaultFinder) { | ||
if (($branch = getenv('TRAVIS_BRANCH')) === false) { | ||
$branch = $defaultFinder(); | ||
} | ||
|
||
return $branch; | ||
}) | ||
->setServiceName(getenv('TRAVIS') ? 'travis-ci' : null) | ||
->setServiceJobId(getenv('TRAVIS_JOB_ID') ?: null) | ||
->addDefaultWriter() | ||
; | ||
|
||
/* @var \mageekguy\atoum\runner $runner */ | ||
$runner->addReport($coverallsReport); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/Cubiche/Infrastructure/Model/Doctrine/.bootstrap.atoum.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Cubiche package. | ||
* | ||
* Copyright (c) Cubiche | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
require_once __DIR__.'/vendor/autoload.php'; | ||
require_once __DIR__.'/vendor/atoum/atoum/scripts/runner.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
language: php | ||
|
||
sudo: false | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
install: | ||
- curl -s http://getcomposer.org/installer | php | ||
- php composer.phar install --dev --no-interaction | ||
|
||
script: | ||
- vendor/bin/atoum -c .atoum.travis.php +verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cubiche - Model Doctrine Adapter | ||
[![Build Status](https://travis-ci.org/cubiche/model-doctrine-adapter.svg?branch=master)](https://travis-ci.org/cubiche/model-doctrine-adapter) [![Coverage Status](https://coveralls.io/repos/github/cubiche/model-doctrine-adapter/badge.svg?branch=master)](https://coveralls.io/github/cubiche/model-doctrine-adapter?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cubiche/model-doctrine-adapter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cubiche/model-doctrine-adapter/?branch=master) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "cubiche/model-doctrine-adapter", | ||
"type": "library", | ||
"description": "Model doctrine adapter library.", | ||
"keywords": [ | ||
"model", | ||
"entity", | ||
"aggregateroot" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Karel Osorio", | ||
"email": "osorioramirez@gmail.com" | ||
}, | ||
{ | ||
"name": "Ivannis Suárez", | ||
"email": "ivannis.suarez@gmail.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.5.9|^7.0", | ||
|
||
"cubiche/model": "dev-master", | ||
"cubiche/doctrine-adapter": "dev-master" | ||
}, | ||
"require-dev": { | ||
"cubiche/tests": "dev-master" | ||
}, | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"exclude-from-classmap": [ | ||
"/Tests/" | ||
], | ||
"psr-4": { | ||
"Cubiche\\Infrastructure\\Model\\Doctrine\\": "" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Cubiche - Model Adapter | ||
[![Build Status](https://travis-ci.org/cubiche/model-adapter.svg?branch=master)](https://travis-ci.org/cubiche/model-adapter) [![Coverage Status](https://coveralls.io/repos/github/cubiche/model-adapter/badge.svg?branch=master)](https://coveralls.io/github/cubiche/model-adapter?branch=master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cubiche/model-adapter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cubiche/model-adapter/?branch=master) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "cubiche/model-adapter", | ||
"type": "library", | ||
"description": "Model adapter library.", | ||
"keywords": [ | ||
"model", | ||
"entity", | ||
"aggregateroot" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Karel Osorio", | ||
"email": "osorioramirez@gmail.com" | ||
}, | ||
{ | ||
"name": "Ivannis Suárez", | ||
"email": "ivannis.suarez@gmail.com" | ||
} | ||
], | ||
"require": { | ||
"php": "^5.5.9|^7.0", | ||
|
||
"cubiche/model": "dev-master", | ||
"cubiche/doctrine-adapter": "dev-master" | ||
}, | ||
"require-dev": { | ||
"cubiche/tests": "dev-master" | ||
}, | ||
"minimum-stability": "dev", | ||
"autoload": { | ||
"exclude-from-classmap": [ | ||
"/Tests/" | ||
], | ||
"psr-4": { | ||
"Cubiche\\Infrastructure\\Model\\": "" | ||
} | ||
} | ||
} |
Oops, something went wrong.