This repository has been archived by the owner on Jul 10, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
escalle
committed
Nov 23, 2015
1 parent
0e49644
commit 6e16762
Showing
126 changed files
with
18,356 additions
and
18,211 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/tests export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.composer.json export-ignore | ||
.travis.yml export-ignore | ||
CONTRIBUTING.md export-ignore | ||
/tests export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.composer.json export-ignore | ||
.travis.yml export-ignore | ||
CONTRIBUTING.md export-ignore |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/.settings | ||
/.buildpath | ||
/.project | ||
/composer.lock | ||
/vendor | ||
/nbproject/private/ | ||
/nbproject/ | ||
nbactions.xml | ||
nb-configuration.xml | ||
/build/ | ||
.idea/ | ||
/.settings | ||
/.buildpath | ||
/.project | ||
/composer.lock | ||
/vendor | ||
/nbproject/private/ | ||
/nbproject/ | ||
nbactions.xml | ||
nb-configuration.xml | ||
/build/ | ||
.idea/ |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"config":{ | ||
"github-oauth":{ | ||
"github.com":"069388e2ed1ad02978a005938ec140fe57edc15d" | ||
} | ||
} | ||
} | ||
{ | ||
"config":{ | ||
"github-oauth":{ | ||
"github.com":"069388e2ed1ad02978a005938ec140fe57edc15d" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
language: php | ||
|
||
php: | ||
- "5.3" | ||
- "5.4" | ||
- "5.5" | ||
- "5.6" | ||
|
||
before_install: | ||
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit | ||
- mkdir -p ~/.composer | ||
- cp .travis.composer.json ~/.composer/config.json | ||
# Update composer | ||
- composer self-update | ||
# Install project | ||
- composer install --prefer-dist --dev | ||
|
||
before_script: | ||
- mkdir -p build/logs | ||
|
||
script: | ||
- cd tests | ||
- phpunit -d max_execution_time=0 --coverage-text --coverage-clover ../build/logs/clover.xml | ||
- cd .. | ||
|
||
after_script: | ||
- php vendor/bin/coveralls --verbose --config | ||
language: php | ||
|
||
php: | ||
- "5.3" | ||
- "5.4" | ||
- "5.5" | ||
- "5.6" | ||
|
||
before_install: | ||
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit | ||
- mkdir -p ~/.composer | ||
- cp .travis.composer.json ~/.composer/config.json | ||
# Update composer | ||
- composer self-update | ||
# Install project | ||
- composer install --prefer-dist --dev | ||
|
||
before_script: | ||
- mkdir -p build/logs | ||
|
||
script: | ||
- cd tests | ||
- phpunit -d max_execution_time=0 --coverage-text --coverage-clover ../build/logs/clover.xml | ||
- cd .. | ||
|
||
after_script: | ||
- php vendor/bin/coveralls --verbose --config |
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# CONTRIBUTING | ||
|
||
_TwbBundle_ is 100% covered by tests. Travis-ci build failed if code coverage is not 100%. | ||
|
||
## RUNNING TESTS | ||
|
||
To run tests: | ||
|
||
- Make sure you have a recent version of PHPUnit installed; 3.7.0 | ||
minimally. | ||
- Enter the `tests/` subdirectory. | ||
- Execute PHPUnit | ||
|
||
```sh | ||
% phpunit | ||
``` | ||
|
||
- You may also provide the `--coverage-html` switch; | ||
|
||
```sh | ||
% phpunit --coverage-html ./_report | ||
``` | ||
|
||
# CONTRIBUTING | ||
|
||
_TwbBundle_ is 100% covered by tests. Travis-ci build failed if code coverage is not 100%. | ||
|
||
## RUNNING TESTS | ||
|
||
To run tests: | ||
|
||
- Make sure you have a recent version of PHPUnit installed; 3.7.0 | ||
minimally. | ||
- Enter the `tests/` subdirectory. | ||
- Execute PHPUnit | ||
|
||
```sh | ||
% phpunit | ||
``` | ||
|
||
- You may also provide the `--coverage-html` switch; | ||
|
||
```sh | ||
% phpunit --coverage-html ./_report | ||
``` | ||
|
||
This will generate code-coverage report witch can be displayed in a browser by opening `tests/_report/index.html` file |
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) [2013] [ESCALLE Emilien] | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
The MIT License (MIT) | ||
Copyright (c) [2013] [ESCALLE Emilien] | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<?php | ||
namespace TwbBundle; | ||
class Module implements | ||
\Zend\ModuleManager\Feature\ConfigProviderInterface, | ||
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{ | ||
|
||
/** | ||
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig() | ||
* @return array | ||
*/ | ||
public function getAutoloaderConfig(){ | ||
return array( | ||
'Zend\Loader\ClassMapAutoloader' => array( | ||
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php' | ||
) | ||
); | ||
} | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function getConfig(){ | ||
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php'; | ||
} | ||
<?php | ||
namespace TwbBundle; | ||
class Module implements | ||
\Zend\ModuleManager\Feature\ConfigProviderInterface, | ||
\Zend\ModuleManager\Feature\AutoloaderProviderInterface{ | ||
|
||
/** | ||
* @see \Zend\ModuleManager\Feature\AutoloaderProviderInterface::getAutoloaderConfig() | ||
* @return array | ||
*/ | ||
public function getAutoloaderConfig(){ | ||
return array( | ||
'Zend\Loader\ClassMapAutoloader' => array( | ||
__DIR__.DIRECTORY_SEPARATOR.'autoload_classmap.php' | ||
) | ||
); | ||
} | ||
|
||
/** | ||
* @return array | ||
*/ | ||
public function getConfig(){ | ||
return include __DIR__.DIRECTORY_SEPARATOR.'config/module.config.php'; | ||
} | ||
} |
Oops, something went wrong.