Compare commits
26 commits
Author | SHA1 | Date | |
---|---|---|---|
ee5f34d33a | |||
c59702b5c5 | |||
|
9c3d5be2a2 | ||
|
9c7b7e84c2 | ||
|
6c67e5db58 | ||
|
bb866523ce | ||
|
0428450ec9 | ||
|
c381216bb1 | ||
|
178b75f453 | ||
|
2b907cf675 | ||
|
02dd1fe402 | ||
|
626d9c7487 | ||
|
2799bd014e | ||
|
f61d300229 | ||
|
d6491013b7 | ||
|
843a7ca9b3 | ||
|
8d5facc674 | ||
|
ff46d06cd9 | ||
|
6c4fbb6339 | ||
|
fdec9c4b9d | ||
|
ad923b4d70 | ||
|
4d12ec4f22 | ||
|
034419f403 | ||
|
49e83f12d3 | ||
|
6a115305a6 | ||
|
ef8901e407 |
17 changed files with 337 additions and 2174 deletions
7
.gitattributes
vendored
7
.gitattributes
vendored
|
@ -2,7 +2,14 @@
|
||||||
/cache export-ignore
|
/cache export-ignore
|
||||||
/tests export-ignore
|
/tests export-ignore
|
||||||
/changelog.md export-ignore
|
/changelog.md export-ignore
|
||||||
|
/CONTRIBUTING.md export-ignore
|
||||||
/docker-compose.yml export-ignore
|
/docker-compose.yml export-ignore
|
||||||
/.travis.yml export-ignore
|
/.travis.yml export-ignore
|
||||||
/phpunit.xml export-ignore
|
/phpunit.xml export-ignore
|
||||||
/.scrutinizer.yml export-ignore
|
/.scrutinizer.yml export-ignore
|
||||||
|
/.scrutinizer.yml export-ignore
|
||||||
|
/wercker.yml export-ignore
|
||||||
|
/README.md export-ignore
|
||||||
|
/LICENSE.md export-ignore
|
||||||
|
/.gitignore export-ignore
|
||||||
|
/.gitattributes export-ignore
|
||||||
|
|
|
@ -17,9 +17,7 @@ checks:
|
||||||
fix_identation_4spaces: true
|
fix_identation_4spaces: true
|
||||||
fix_doc_comments: true
|
fix_doc_comments: true
|
||||||
tools:
|
tools:
|
||||||
external_code_coverage:
|
external_code_coverage: false
|
||||||
timeout: 600
|
|
||||||
runs: 3
|
|
||||||
php_analyzer: true
|
php_analyzer: true
|
||||||
php_code_coverage: false
|
php_code_coverage: false
|
||||||
php_code_sniffer:
|
php_code_sniffer:
|
||||||
|
|
19
.travis.yml
19
.travis.yml
|
@ -1,19 +0,0 @@
|
||||||
language: php
|
|
||||||
php:
|
|
||||||
- 5.6
|
|
||||||
- 5.5
|
|
||||||
- 5.4
|
|
||||||
- hhvm
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
secure: "jwmoa4BufY6bz3qR6UP5iQWVAnXpp7FrW75ehqheXJdQx3CWBJ8aX8gV9qXkPuPyRr3ubV8gyLx4iQ1/PSJbhPxA2BGYDpJcwOVN4e8G4kOcFYTaGW3CQsP/V8uwFX0jzsyqVExsjTdvsu88zxwaQFLyEV9T7gcHB9b+ECXaOB0="
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- composer self-update
|
|
||||||
- composer install
|
|
||||||
|
|
||||||
# Report test coverate to code climate
|
|
||||||
after_script:
|
|
||||||
- vendor/bin/test-reporter --stdout > codeclimate.json
|
|
||||||
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
|
|
|
@ -2,11 +2,12 @@
|
||||||
|
|
||||||
[![Latest Version](https://img.shields.io/github/release/raphiz/passwordcards.svg?style=flat-square)](https://github.com/raphiz/passwordcards/releases)
|
[![Latest Version](https://img.shields.io/github/release/raphiz/passwordcards.svg?style=flat-square)](https://github.com/raphiz/passwordcards/releases)
|
||||||
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
|
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
|
||||||
[![Build Status](https://img.shields.io/travis/raphiz/passwordcards/master.svg?style=flat-square)](https://travis-ci.org/raphiz/passwordcards)
|
[![wercker status](https://app.wercker.com/status/6bb146084db30e23f4d09b20a32ac058/s "wercker status")](https://app.wercker.com/project/bykey/6bb146084db30e23f4d09b20a32ac058)
|
||||||
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/raphiz/passwordcards/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/raphiz/passwordcards/?branch=master)
|
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/raphiz/passwordcards/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/raphiz/passwordcards/?branch=master)
|
||||||
[![Code Climate](https://codeclimate.com/github/raphiz/passwordcards/badges/gpa.svg)](https://codeclimate.com/github/raphiz/passwordcards)
|
[![Code Climate](https://codeclimate.com/github/raphiz/passwordcards/badges/gpa.svg)](https://codeclimate.com/github/raphiz/passwordcards)
|
||||||
[![Test Coverage](https://codeclimate.com/github/raphiz/passwordcards/badges/coverage.svg)](https://codeclimate.com/github/raphiz/passwordcards)
|
[![Test Coverage](https://codeclimate.com/github/raphiz/passwordcards/badges/coverage.svg)](https://codeclimate.com/github/raphiz/passwordcards)
|
||||||
[![Dependency Status](https://www.versioneye.com/user/projects/5506fc2766e561bb9b00016e/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5506fc2766e561bb9b00016e)
|
[![Dependency Status](https://www.versioneye.com/user/projects/5506fc2766e561bb9b00016e/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5506fc2766e561bb9b00016e)
|
||||||
|
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/6152eda9-0cd1-41a3-84fb-9601d0996a86/mini.png)](https://insight.sensiolabs.com/projects/6152eda9-0cd1-41a3-84fb-9601d0996a86)
|
||||||
|
|
||||||
This tool allows you to generate customized password cards in the spirit of Qwertycards.com.
|
This tool allows you to generate customized password cards in the spirit of Qwertycards.com.
|
||||||
|
|
||||||
|
@ -24,9 +25,3 @@ If you discover any security related issues, please email mister.norbert ät gma
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||||
|
|
||||||
|
|
||||||
## To be done:
|
|
||||||
add
|
|
||||||
* Analysis via https://insight.sensiolabs.com/
|
|
||||||
* make .htaccess that only allows requests to /resources OR /index.php!
|
|
||||||
|
|
|
@ -1,2 +1,12 @@
|
||||||
FROM php:5.6-apache
|
FROM raphiz/drone-php:5.5.20
|
||||||
COPY php.ini /usr/local/etc/php/
|
|
||||||
|
RUN apt-get -yqq update
|
||||||
|
RUN apt-get -yqq install libcurl4-gnutls-dev zlib1g-dev
|
||||||
|
RUN apt-get -yqq install lftp
|
||||||
|
RUN docker-php-ext-install curl zip
|
||||||
|
|
||||||
|
# Set Timezone
|
||||||
|
RUN echo 'date.timezone = "Europe/Zurich"' > /usr/local/etc/php/conf.d/timezone.ini
|
||||||
|
|
||||||
|
# Remove warning PHP Warning: Module 'curl' already loaded in Unknown on line 0
|
||||||
|
RUN rm /usr/local/etc/php/conf.d/ext-curl.ini
|
||||||
|
|
1938
apache/php.ini
1938
apache/php.ini
File diff suppressed because it is too large
Load diff
|
@ -1,11 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "raphiz/passwordcards",
|
"name": "raphiz/passwordcards",
|
||||||
|
"description" : "Generate customized password cards in the spirit of Qwertycards.com",
|
||||||
"require": {
|
"require": {
|
||||||
"tecnick.com/tcpdf": "6.2.6",
|
"tecnick.com/tcpdf": "6.2.11",
|
||||||
"rain/raintpl": "3.1.0"
|
"rain/raintpl": "3.1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "4.5.0",
|
"phpunit/phpunit": "4.8.3",
|
||||||
"codeclimate/php-test-reporter": "dev-master"
|
"codeclimate/php-test-reporter": "dev-master"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
304
composer.lock
generated
304
composer.lock
generated
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"_readme": [
|
"_readme": [
|
||||||
"This file locks the dependencies of your project to a known state",
|
"This file locks the dependencies of your project to a known state",
|
||||||
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "5da1bac5935bc555ffbde601e27d7202",
|
"hash": "d958f9988773a5f99bfc63c6dfe2f92e",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "rain/raintpl",
|
"name": "rain/raintpl",
|
||||||
|
@ -49,16 +49,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnick.com/tcpdf",
|
||||||
"version": "6.2.6",
|
"version": "6.2.8",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tecnickcom/TCPDF.git",
|
"url": "https://github.com/tecnickcom/TCPDF.git",
|
||||||
"reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb"
|
"reference": "3dee9e7f3a414875fd1d9f4f1dfc2433493a86d2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb",
|
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/3dee9e7f3a414875fd1d9f4f1dfc2433493a86d2",
|
||||||
"reference": "a2e8f5b505a7a14a4ed960313c4baf699fd1f4bb",
|
"reference": "3dee9e7f3a414875fd1d9f4f1dfc2433493a86d2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
"pdf417",
|
"pdf417",
|
||||||
"qrcode"
|
"qrcode"
|
||||||
],
|
],
|
||||||
"time": "2015-01-28 18:51:40"
|
"time": "2015-04-29 16:13:58"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [
|
"packages-dev": [
|
||||||
|
@ -118,12 +118,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/codeclimate/php-test-reporter.git",
|
"url": "https://github.com/codeclimate/php-test-reporter.git",
|
||||||
"reference": "2a67d5d940e175fddba15f29c81a646ace26dc38"
|
"reference": "418ae782307841ac50fe26daa4cfe04520b0de9c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/2a67d5d940e175fddba15f29c81a646ace26dc38",
|
"url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/418ae782307841ac50fe26daa4cfe04520b0de9c",
|
||||||
"reference": "2a67d5d940e175fddba15f29c81a646ace26dc38",
|
"reference": "418ae782307841ac50fe26daa4cfe04520b0de9c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
"codeclimate",
|
"codeclimate",
|
||||||
"coverage"
|
"coverage"
|
||||||
],
|
],
|
||||||
"time": "2015-02-20 22:40:35"
|
"time": "2015-04-18 14:43:54"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/instantiator",
|
"name": "doctrine/instantiator",
|
||||||
|
@ -226,16 +226,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "guzzle/guzzle",
|
"name": "guzzle/guzzle",
|
||||||
"version": "v3.9.2",
|
"version": "v3.9.3",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/guzzle/guzzle3.git",
|
"url": "https://github.com/guzzle/guzzle3.git",
|
||||||
"reference": "54991459675c1a2924122afbb0e5609ade581155"
|
"reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/guzzle/guzzle3/zipball/54991459675c1a2924122afbb0e5609ade581155",
|
"url": "https://api.github.com/repos/guzzle/guzzle3/zipball/0645b70d953bc1c067bbc8d5bc53194706b628d9",
|
||||||
"reference": "54991459675c1a2924122afbb0e5609ade581155",
|
"reference": "0645b70d953bc1c067bbc8d5bc53194706b628d9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -276,6 +276,9 @@
|
||||||
"zendframework/zend-cache": "2.*,<2.3",
|
"zendframework/zend-cache": "2.*,<2.3",
|
||||||
"zendframework/zend-log": "2.*,<2.3"
|
"zendframework/zend-log": "2.*,<2.3"
|
||||||
},
|
},
|
||||||
|
"suggest": {
|
||||||
|
"guzzlehttp/guzzle": "Guzzle 5 has moved to a new package name. The package you have installed, Guzzle 3, is deprecated."
|
||||||
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -303,7 +306,7 @@
|
||||||
"homepage": "https://github.com/guzzle/guzzle/contributors"
|
"homepage": "https://github.com/guzzle/guzzle/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
|
"description": "PHP HTTP client. This library is deprecated in favor of https://packagist.org/packages/guzzlehttp/guzzle",
|
||||||
"homepage": "http://guzzlephp.org/",
|
"homepage": "http://guzzlephp.org/",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"client",
|
"client",
|
||||||
|
@ -314,7 +317,7 @@
|
||||||
"rest",
|
"rest",
|
||||||
"web service"
|
"web service"
|
||||||
],
|
],
|
||||||
"time": "2014-08-11 04:32:36"
|
"time": "2015-03-18 18:23:50"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-docblock",
|
"name": "phpdocumentor/reflection-docblock",
|
||||||
|
@ -367,21 +370,22 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpspec/prophecy",
|
"name": "phpspec/prophecy",
|
||||||
"version": "v1.3.1",
|
"version": "v1.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpspec/prophecy.git",
|
"url": "https://github.com/phpspec/prophecy.git",
|
||||||
"reference": "9ca52329bcdd1500de24427542577ebf3fc2f1c9"
|
"reference": "3132b1f44c7bf2ec4c7eb2d3cb78fdeca760d373"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/9ca52329bcdd1500de24427542577ebf3fc2f1c9",
|
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/3132b1f44c7bf2ec4c7eb2d3cb78fdeca760d373",
|
||||||
"reference": "9ca52329bcdd1500de24427542577ebf3fc2f1c9",
|
"reference": "3132b1f44c7bf2ec4c7eb2d3cb78fdeca760d373",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/instantiator": "~1.0,>=1.0.2",
|
"doctrine/instantiator": "^1.0.2",
|
||||||
"phpdocumentor/reflection-docblock": "~2.0"
|
"phpdocumentor/reflection-docblock": "~2.0",
|
||||||
|
"sebastian/comparator": "~1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpspec/phpspec": "~2.0"
|
"phpspec/phpspec": "~2.0"
|
||||||
|
@ -389,7 +393,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.2.x-dev"
|
"dev-master": "1.4.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -413,7 +417,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Highly opinionated mocking framework for PHP 5.3+",
|
"description": "Highly opinionated mocking framework for PHP 5.3+",
|
||||||
"homepage": "http://phpspec.org",
|
"homepage": "https://github.com/phpspec/prophecy",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Double",
|
"Double",
|
||||||
"Dummy",
|
"Dummy",
|
||||||
|
@ -422,20 +426,20 @@
|
||||||
"spy",
|
"spy",
|
||||||
"stub"
|
"stub"
|
||||||
],
|
],
|
||||||
"time": "2014-11-17 16:23:49"
|
"time": "2015-04-27 22:15:08"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
"version": "2.0.15",
|
"version": "2.0.17",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
|
||||||
"reference": "34cc484af1ca149188d0d9e91412191e398e0b67"
|
"reference": "c4e8e7725e351184a76544634855b8a9c405a6e3"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/34cc484af1ca149188d0d9e91412191e398e0b67",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c4e8e7725e351184a76544634855b8a9c405a6e3",
|
||||||
"reference": "34cc484af1ca149188d0d9e91412191e398e0b67",
|
"reference": "c4e8e7725e351184a76544634855b8a9c405a6e3",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -484,35 +488,37 @@
|
||||||
"testing",
|
"testing",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2015-01-24 10:06:35"
|
"time": "2015-05-25 05:11:59"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-file-iterator",
|
"name": "phpunit/php-file-iterator",
|
||||||
"version": "1.3.4",
|
"version": "1.4.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
||||||
"reference": "acd690379117b042d1c8af1fafd61bde001bf6bb"
|
"reference": "a923bb15680d0089e2316f7a4af8f437046e96bb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a923bb15680d0089e2316f7a4af8f437046e96bb",
|
||||||
"reference": "acd690379117b042d1c8af1fafd61bde001bf6bb",
|
"reference": "a923bb15680d0089e2316f7a4af8f437046e96bb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "1.4.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"classmap": [
|
"classmap": [
|
||||||
"File/"
|
"src/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
"include-path": [
|
|
||||||
""
|
|
||||||
],
|
|
||||||
"license": [
|
"license": [
|
||||||
"BSD-3-Clause"
|
"BSD-3-Clause"
|
||||||
],
|
],
|
||||||
|
@ -529,7 +535,7 @@
|
||||||
"filesystem",
|
"filesystem",
|
||||||
"iterator"
|
"iterator"
|
||||||
],
|
],
|
||||||
"time": "2013-10-10 15:34:57"
|
"time": "2015-04-02 05:19:05"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-text-template",
|
"name": "phpunit/php-text-template",
|
||||||
|
@ -621,16 +627,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-token-stream",
|
"name": "phpunit/php-token-stream",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
|
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
|
||||||
"reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74"
|
"reference": "eab81d02569310739373308137284e0158424330"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/db32c18eba00b121c145575fcbcd4d4d24e6db74",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/eab81d02569310739373308137284e0158424330",
|
||||||
"reference": "db32c18eba00b121c145575fcbcd4d4d24e6db74",
|
"reference": "eab81d02569310739373308137284e0158424330",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -666,20 +672,20 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"tokenizer"
|
"tokenizer"
|
||||||
],
|
],
|
||||||
"time": "2015-01-17 09:51:32"
|
"time": "2015-04-08 04:46:07"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
"version": "4.5.0",
|
"version": "4.6.7",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
||||||
"reference": "5b578d3865a9128b9c209b011fda6539ec06e7a5"
|
"reference": "57bf06dd4eebe2a5ced79a8de71509e7d5c18b25"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5b578d3865a9128b9c209b011fda6539ec06e7a5",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/57bf06dd4eebe2a5ced79a8de71509e7d5c18b25",
|
||||||
"reference": "5b578d3865a9128b9c209b011fda6539ec06e7a5",
|
"reference": "57bf06dd4eebe2a5ced79a8de71509e7d5c18b25",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -689,19 +695,19 @@
|
||||||
"ext-reflection": "*",
|
"ext-reflection": "*",
|
||||||
"ext-spl": "*",
|
"ext-spl": "*",
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"phpspec/prophecy": "~1.3.1",
|
"phpspec/prophecy": "~1.3,>=1.3.1",
|
||||||
"phpunit/php-code-coverage": "~2.0",
|
"phpunit/php-code-coverage": "~2.0,>=2.0.11",
|
||||||
"phpunit/php-file-iterator": "~1.3.2",
|
"phpunit/php-file-iterator": "~1.4",
|
||||||
"phpunit/php-text-template": "~1.2",
|
"phpunit/php-text-template": "~1.2",
|
||||||
"phpunit/php-timer": "~1.0.2",
|
"phpunit/php-timer": "~1.0",
|
||||||
"phpunit/phpunit-mock-objects": "~2.3",
|
"phpunit/phpunit-mock-objects": "~2.3",
|
||||||
"sebastian/comparator": "~1.1",
|
"sebastian/comparator": "~1.1",
|
||||||
"sebastian/diff": "~1.1",
|
"sebastian/diff": "~1.2",
|
||||||
"sebastian/environment": "~1.2",
|
"sebastian/environment": "~1.2",
|
||||||
"sebastian/exporter": "~1.2",
|
"sebastian/exporter": "~1.2",
|
||||||
"sebastian/global-state": "~1.0",
|
"sebastian/global-state": "~1.0",
|
||||||
"sebastian/version": "~1.0",
|
"sebastian/version": "~1.0",
|
||||||
"symfony/yaml": "~2.0"
|
"symfony/yaml": "~2.1|~3.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"phpunit/php-invoker": "~1.1"
|
"phpunit/php-invoker": "~1.1"
|
||||||
|
@ -712,7 +718,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "4.5.x-dev"
|
"dev-master": "4.6.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -738,29 +744,29 @@
|
||||||
"testing",
|
"testing",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2015-02-05 15:51:19"
|
"time": "2015-05-25 05:18:18"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit-mock-objects",
|
"name": "phpunit/phpunit-mock-objects",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
|
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
|
||||||
"reference": "c63d2367247365f688544f0d500af90a11a44c65"
|
"reference": "74ffb87f527f24616f72460e54b595f508dccb5c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/c63d2367247365f688544f0d500af90a11a44c65",
|
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/74ffb87f527f24616f72460e54b595f508dccb5c",
|
||||||
"reference": "c63d2367247365f688544f0d500af90a11a44c65",
|
"reference": "74ffb87f527f24616f72460e54b595f508dccb5c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/instantiator": "~1.0,>=1.0.1",
|
"doctrine/instantiator": "~1.0,>=1.0.2",
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"phpunit/php-text-template": "~1.2"
|
"phpunit/php-text-template": "~1.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~4.3"
|
"phpunit/phpunit": "~4.4"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-soap": "*"
|
"ext-soap": "*"
|
||||||
|
@ -793,7 +799,7 @@
|
||||||
"mock",
|
"mock",
|
||||||
"xunit"
|
"xunit"
|
||||||
],
|
],
|
||||||
"time": "2014-10-03 05:12:11"
|
"time": "2015-04-02 05:36:41"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/log",
|
"name": "psr/log",
|
||||||
|
@ -967,16 +973,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/diff",
|
"name": "sebastian/diff",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/diff.git",
|
"url": "https://github.com/sebastianbergmann/diff.git",
|
||||||
"reference": "5843509fed39dee4b356a306401e9dd1a931fec7"
|
"reference": "863df9687835c62aa423a22412d26fa2ebde3fd3"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/5843509fed39dee4b356a306401e9dd1a931fec7",
|
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/863df9687835c62aa423a22412d26fa2ebde3fd3",
|
||||||
"reference": "5843509fed39dee4b356a306401e9dd1a931fec7",
|
"reference": "863df9687835c62aa423a22412d26fa2ebde3fd3",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -988,7 +994,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.2-dev"
|
"dev-master": "1.3-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -1015,32 +1021,32 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"diff"
|
"diff"
|
||||||
],
|
],
|
||||||
"time": "2014-08-15 10:29:00"
|
"time": "2015-02-22 15:13:53"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/environment",
|
"name": "sebastian/environment",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/environment.git",
|
"url": "https://github.com/sebastianbergmann/environment.git",
|
||||||
"reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7"
|
"reference": "5a8c7d31914337b69923db26c4221b81ff5a196e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e6c71d918088c251b181ba8b3088af4ac336dd7",
|
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5a8c7d31914337b69923db26c4221b81ff5a196e",
|
||||||
"reference": "6e6c71d918088c251b181ba8b3088af4ac336dd7",
|
"reference": "5a8c7d31914337b69923db26c4221b81ff5a196e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "~4.3"
|
"phpunit/phpunit": "~4.4"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "1.2.x-dev"
|
"dev-master": "1.3.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -1065,7 +1071,7 @@
|
||||||
"environment",
|
"environment",
|
||||||
"hhvm"
|
"hhvm"
|
||||||
],
|
],
|
||||||
"time": "2014-10-25 08:00:45"
|
"time": "2015-01-01 10:01:08"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/exporter",
|
"name": "sebastian/exporter",
|
||||||
|
@ -1239,16 +1245,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/version",
|
"name": "sebastian/version",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/version.git",
|
"url": "https://github.com/sebastianbergmann/version.git",
|
||||||
"reference": "a77d9123f8e809db3fbdea15038c27a95da4058b"
|
"reference": "ab931d46cd0d3204a91e1b9a40c4bc13032b58e4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/a77d9123f8e809db3fbdea15038c27a95da4058b",
|
"url": "https://api.github.com/repos/sebastianbergmann/version/zipball/ab931d46cd0d3204a91e1b9a40c4bc13032b58e4",
|
||||||
"reference": "a77d9123f8e809db3fbdea15038c27a95da4058b",
|
"reference": "ab931d46cd0d3204a91e1b9a40c4bc13032b58e4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
@ -1270,27 +1276,30 @@
|
||||||
],
|
],
|
||||||
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
||||||
"homepage": "https://github.com/sebastianbergmann/version",
|
"homepage": "https://github.com/sebastianbergmann/version",
|
||||||
"time": "2014-12-15 14:25:24"
|
"time": "2015-02-24 06:35:25"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/config",
|
"name": "symfony/config",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/Config",
|
"target-dir": "Symfony/Component/Config",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Config.git",
|
"url": "https://github.com/symfony/Config.git",
|
||||||
"reference": "a9f781ba1221067d1f07c8cec0bc50f81b8d7408"
|
"reference": "b6fddb4aa2daaa2b06f0040071ac131b4a1ecf25"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/Config/zipball/a9f781ba1221067d1f07c8cec0bc50f81b8d7408",
|
"url": "https://api.github.com/repos/symfony/Config/zipball/b6fddb4aa2daaa2b06f0040071ac131b4a1ecf25",
|
||||||
"reference": "a9f781ba1221067d1f07c8cec0bc50f81b8d7408",
|
"reference": "b6fddb4aa2daaa2b06f0040071ac131b4a1ecf25",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"symfony/filesystem": "~2.3"
|
"symfony/filesystem": "~2.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7"
|
||||||
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -1307,32 +1316,32 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony Config Component",
|
"description": "Symfony Config Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-01-21 20:57:55"
|
"time": "2015-05-02 15:18:45"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/Console",
|
"target-dir": "Symfony/Component/Console",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Console.git",
|
"url": "https://github.com/symfony/Console.git",
|
||||||
"reference": "e44154bfe3e41e8267d7a3794cd9da9a51cfac34"
|
"reference": "ebc5679854aa24ed7d65062e9e3ab0b18a917272"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/Console/zipball/e44154bfe3e41e8267d7a3794cd9da9a51cfac34",
|
"url": "https://api.github.com/repos/symfony/Console/zipball/ebc5679854aa24ed7d65062e9e3ab0b18a917272",
|
||||||
"reference": "e44154bfe3e41e8267d7a3794cd9da9a51cfac34",
|
"reference": "ebc5679854aa24ed7d65062e9e3ab0b18a917272",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1341,6 +1350,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
"symfony/event-dispatcher": "~2.1",
|
"symfony/event-dispatcher": "~2.1",
|
||||||
|
"symfony/phpunit-bridge": "~2.7",
|
||||||
"symfony/process": "~2.1"
|
"symfony/process": "~2.1"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -1364,32 +1374,32 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony Console Component",
|
"description": "Symfony Console Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-01-25 04:39:26"
|
"time": "2015-05-02 15:18:45"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher",
|
"name": "symfony/event-dispatcher",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/EventDispatcher",
|
"target-dir": "Symfony/Component/EventDispatcher",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/EventDispatcher.git",
|
"url": "https://github.com/symfony/EventDispatcher.git",
|
||||||
"reference": "f75989f3ab2743a82fe0b03ded2598a2b1546813"
|
"reference": "672593bc4b0043a0acf91903bb75a1c82d8f2e02"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/f75989f3ab2743a82fe0b03ded2598a2b1546813",
|
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/672593bc4b0043a0acf91903bb75a1c82d8f2e02",
|
||||||
"reference": "f75989f3ab2743a82fe0b03ded2598a2b1546813",
|
"reference": "672593bc4b0043a0acf91903bb75a1c82d8f2e02",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1400,6 +1410,7 @@
|
||||||
"symfony/config": "~2.0,>=2.0.5",
|
"symfony/config": "~2.0,>=2.0.5",
|
||||||
"symfony/dependency-injection": "~2.6",
|
"symfony/dependency-injection": "~2.6",
|
||||||
"symfony/expression-language": "~2.6",
|
"symfony/expression-language": "~2.6",
|
||||||
|
"symfony/phpunit-bridge": "~2.7",
|
||||||
"symfony/stopwatch": "~2.3"
|
"symfony/stopwatch": "~2.3"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@ -1422,37 +1433,40 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony EventDispatcher Component",
|
"description": "Symfony EventDispatcher Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-02-01 16:10:57"
|
"time": "2015-05-02 15:18:45"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/filesystem",
|
"name": "symfony/filesystem",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/Filesystem",
|
"target-dir": "Symfony/Component/Filesystem",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Filesystem.git",
|
"url": "https://github.com/symfony/Filesystem.git",
|
||||||
"reference": "a1f566d1f92e142fa1593f4555d6d89e3044a9b7"
|
"reference": "f73904bd2dae525c42ea1f0340c7c98480ecacde"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/Filesystem/zipball/a1f566d1f92e142fa1593f4555d6d89e3044a9b7",
|
"url": "https://api.github.com/repos/symfony/Filesystem/zipball/f73904bd2dae525c42ea1f0340c7c98480ecacde",
|
||||||
"reference": "a1f566d1f92e142fa1593f4555d6d89e3044a9b7",
|
"reference": "f73904bd2dae525c42ea1f0340c7c98480ecacde",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7"
|
||||||
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -1469,37 +1483,40 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony Filesystem Component",
|
"description": "Symfony Filesystem Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-01-03 21:13:09"
|
"time": "2015-05-08 00:09:07"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/stopwatch",
|
"name": "symfony/stopwatch",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/Stopwatch",
|
"target-dir": "Symfony/Component/Stopwatch",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Stopwatch.git",
|
"url": "https://github.com/symfony/Stopwatch.git",
|
||||||
"reference": "e8da5286132ba75ce4b4275fbf0f4cd369bfd71c"
|
"reference": "b470f87c69837cb71115f1fa720388bb19b63635"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/Stopwatch/zipball/e8da5286132ba75ce4b4275fbf0f4cd369bfd71c",
|
"url": "https://api.github.com/repos/symfony/Stopwatch/zipball/b470f87c69837cb71115f1fa720388bb19b63635",
|
||||||
"reference": "e8da5286132ba75ce4b4275fbf0f4cd369bfd71c",
|
"reference": "b470f87c69837cb71115f1fa720388bb19b63635",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7"
|
||||||
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -1516,37 +1533,40 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony Stopwatch Component",
|
"description": "Symfony Stopwatch Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-01-03 08:01:59"
|
"time": "2015-05-02 15:18:45"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/yaml",
|
"name": "symfony/yaml",
|
||||||
"version": "v2.6.4",
|
"version": "v2.6.7",
|
||||||
"target-dir": "Symfony/Component/Yaml",
|
"target-dir": "Symfony/Component/Yaml",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/Yaml.git",
|
"url": "https://github.com/symfony/Yaml.git",
|
||||||
"reference": "60ed7751671113cf1ee7d7778e691642c2e9acd8"
|
"reference": "f157ab074e453ecd4c0fa775f721f6e67a99d9e2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/Yaml/zipball/60ed7751671113cf1ee7d7778e691642c2e9acd8",
|
"url": "https://api.github.com/repos/symfony/Yaml/zipball/f157ab074e453ecd4c0fa775f721f6e67a99d9e2",
|
||||||
"reference": "60ed7751671113cf1ee7d7778e691642c2e9acd8",
|
"reference": "f157ab074e453ecd4c0fa775f721f6e67a99d9e2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"symfony/phpunit-bridge": "~2.7"
|
||||||
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
@ -1563,18 +1583,18 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Symfony Community",
|
|
||||||
"homepage": "http://symfony.com/contributors"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Fabien Potencier",
|
"name": "Fabien Potencier",
|
||||||
"email": "fabien@symfony.com"
|
"email": "fabien@symfony.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Symfony Community",
|
||||||
|
"homepage": "https://symfony.com/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony Yaml Component",
|
"description": "Symfony Yaml Component",
|
||||||
"homepage": "http://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"time": "2015-01-25 04:39:26"
|
"time": "2015-05-02 15:18:45"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
|
|
71
deploy.sh
Normal file
71
deploy.sh
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Abort if a command fails!
|
||||||
|
set -e
|
||||||
|
|
||||||
|
TEMP_DIR=/tmp/
|
||||||
|
|
||||||
|
if [ ! -n "$HOST" ];then
|
||||||
|
echo "missing option \"HOST\", aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ ! -n "$USER" ];then
|
||||||
|
echo "missing option \"HOST\", aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ ! -n "$PASSWORD" ];then
|
||||||
|
echo "missing option \"HOST\", aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ ! -n "$DIRECTORY" ];then
|
||||||
|
echo "missing option \"DIRECTORY\", aborting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [ ! -n "$IGNORE" ];then
|
||||||
|
IGNORE=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create temporary director
|
||||||
|
WORKING_DIR="$TEMP_DIR/workspace"
|
||||||
|
|
||||||
|
# TODO: fail if exists..
|
||||||
|
mkdir -p $WORKING_DIR
|
||||||
|
export COMPOSER_HOME="$WORKING_DIR"
|
||||||
|
|
||||||
|
# Clone the repo & checkout branch
|
||||||
|
echo "Creating archive..."
|
||||||
|
git archive master --format=tar --output=$TEMP_DIR/export.tar
|
||||||
|
tar -xf $TEMP_DIR/export.tar -C $WORKING_DIR
|
||||||
|
|
||||||
|
# Change directory into the working dir
|
||||||
|
cd "$WORKING_DIR"
|
||||||
|
|
||||||
|
# install the dependencies
|
||||||
|
echo "Install dependencies..."
|
||||||
|
composer install --no-dev --optimize-autoloader
|
||||||
|
|
||||||
|
# Prepare ignore parameters
|
||||||
|
IFS=';' read -a igor <<< "$IGNORE"
|
||||||
|
params=''
|
||||||
|
for element in "${igor[@]}"
|
||||||
|
do
|
||||||
|
params=$(echo "$params --exclude $element")
|
||||||
|
done
|
||||||
|
|
||||||
|
# TODO: allow SFTP
|
||||||
|
# TODO: allow verify cert
|
||||||
|
echo "Uploading..."
|
||||||
|
lftp -e "
|
||||||
|
open $HOST
|
||||||
|
set ssl:verify-certificate no
|
||||||
|
set ftp:ssl-allow off
|
||||||
|
set cmd:fail-exit true
|
||||||
|
user $USER $PASSWORD
|
||||||
|
cd $DIRECTORY
|
||||||
|
mirror --reverse $params --delete --ignore-time --verbose --parallel . .
|
||||||
|
bye
|
||||||
|
"
|
||||||
|
|
||||||
|
# Complete!
|
||||||
|
echo "Done!"
|
||||||
|
exit 0
|
|
@ -19,8 +19,7 @@ if (!RequestUtils::isPost()) {
|
||||||
$tpl = new Tpl;
|
$tpl = new Tpl;
|
||||||
$tpl->assign('seconds', $spamPrevention);
|
$tpl->assign('seconds', $spamPrevention);
|
||||||
$tpl->draw('spam');
|
$tpl->draw('spam');
|
||||||
exit;
|
} else {
|
||||||
}
|
|
||||||
// Parse request
|
// Parse request
|
||||||
$pattern = RequestUtils::parsePattern();
|
$pattern = RequestUtils::parsePattern();
|
||||||
$keyboardLayout = RequestUtils::parseKeyboardLayout();
|
$keyboardLayout = RequestUtils::parseKeyboardLayout();
|
||||||
|
@ -57,5 +56,5 @@ if (!RequestUtils::isPost()) {
|
||||||
// Cleanup temporary SVG images
|
// Cleanup temporary SVG images
|
||||||
unlink($back);
|
unlink($back);
|
||||||
unlink($front);
|
unlink($front);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
<div class="row" style="margin-top: 30px;">
|
<div class="row" style="margin-top: 30px;">
|
||||||
<p>What's your Keyboard layout?</p>
|
<p>What's your Keyboard layout?</p>
|
||||||
<select type="text" name="keyboardlayout">
|
<select type="text" name="keyboardlayout">
|
||||||
|
<option value="azerty">AZERTY</option>
|
||||||
<option value="qwerty">QWERTY</option>
|
<option value="qwerty">QWERTY</option>
|
||||||
<option value="qwertz">QWERTZ</option>
|
<option value="qwertz">QWERTZ</option>
|
||||||
</select>
|
</select>
|
||||||
|
@ -56,7 +57,7 @@
|
||||||
|
|
||||||
<div class="row" style="margin-top: 30px;">
|
<div class="row" style="margin-top: 30px;">
|
||||||
<p>This text goes on the back of your card</p>
|
<p>This text goes on the back of your card</p>
|
||||||
<input type="text" name="msg" placeholder="For Work" maxlength="20" autocomplete="off">
|
<input type="text" name="msg" placeholder="For Work" maxlength="30" autocomplete="off">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" style="margin-top: 30px;">
|
<div class="row" style="margin-top: 30px;">
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
$('#other-chars').parent().slideToggle();
|
$('#other-chars').parent().slideToggle();
|
||||||
});
|
});
|
||||||
$("#primary").tinycolorpicker();
|
$("#primary").tinycolorpicker();
|
||||||
var picker = $('#primary').data("plugin_tinycolorpicker");
|
var primaryPicker = $('#primary').data("plugin_tinycolorpicker");
|
||||||
picker.setColor("#1ABC9C");
|
primaryPicker.setColor("#1ABC9C");
|
||||||
|
|
||||||
$("#secondary").tinycolorpicker();
|
$("#secondary").tinycolorpicker();
|
||||||
var picker = $('#secondary').data("plugin_tinycolorpicker");
|
var secondaryPicker = $('#secondary').data("plugin_tinycolorpicker");
|
||||||
picker.setColor("#ffffff");
|
secondaryPicker.setColor("#ffffff");
|
||||||
|
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
|
@ -8,11 +8,11 @@ class CardCreator
|
||||||
|
|
||||||
public function __construct($configration)
|
public function __construct($configration)
|
||||||
{
|
{
|
||||||
if ($configration == null) {
|
if ($configration === null) {
|
||||||
throw new \Exception('The given $configuration is null!');
|
throw new \Exception('The given $configuration is null!');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($configration instanceof Configuration == false) {
|
if ($configration instanceof Configuration === false) {
|
||||||
throw new \Exception(
|
throw new \Exception(
|
||||||
'The given $configuration is not a valid ' .
|
'The given $configuration is not a valid ' .
|
||||||
'Configuration object.'
|
'Configuration object.'
|
||||||
|
@ -42,8 +42,8 @@ class CardCreator
|
||||||
$seed = $this->configration->seed;
|
$seed = $this->configration->seed;
|
||||||
mt_srand($seed);
|
mt_srand($seed);
|
||||||
|
|
||||||
for ($i = 0; $i < strlen($this->configration->keys); $i++) {
|
$number_of_keys = strlen($this->configration->keys);
|
||||||
$prefix = '$' . ($i+1);
|
for ($i = 0; $i < $number_of_keys; $i++) {
|
||||||
$equivalent = $chars[mt_rand(0, $char_count-1)];
|
$equivalent = $chars[mt_rand(0, $char_count-1)];
|
||||||
|
|
||||||
$equivalent = $this->escape($equivalent);
|
$equivalent = $this->escape($equivalent);
|
||||||
|
|
|
@ -57,7 +57,7 @@ class Configuration
|
||||||
*/
|
*/
|
||||||
public static function evalSeed($seed)
|
public static function evalSeed($seed)
|
||||||
{
|
{
|
||||||
if ($seed == null || !is_numeric($seed)) {
|
if ($seed === null || !is_numeric($seed)) {
|
||||||
list($usec, $sec) = explode(' ', microtime());
|
list($usec, $sec) = explode(' ', microtime());
|
||||||
$seed = (float) $sec + ((float) $usec * 100000);
|
$seed = (float) $sec + ((float) $usec * 100000);
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ class Configuration
|
||||||
*/
|
*/
|
||||||
public static function evalPattern($pattern)
|
public static function evalPattern($pattern)
|
||||||
{
|
{
|
||||||
if ($pattern == null) {
|
if ($pattern === null) {
|
||||||
$pattern = self::DEFAULT_PATTERN;
|
$pattern = self::DEFAULT_PATTERN;
|
||||||
}
|
}
|
||||||
return $pattern;
|
return $pattern;
|
||||||
|
@ -80,6 +80,10 @@ class Configuration
|
||||||
*/
|
*/
|
||||||
public static function evalKeys($keys)
|
public static function evalKeys($keys)
|
||||||
{
|
{
|
||||||
|
// Return azerty
|
||||||
|
if (strtolower($keys) === 'azerty') {
|
||||||
|
return 'AZERTYUIOPQSDFGHJKLMWXCVBN';
|
||||||
|
}
|
||||||
// Return qwertz
|
// Return qwertz
|
||||||
if (strtolower($keys) === 'qwertz') {
|
if (strtolower($keys) === 'qwertz') {
|
||||||
return 'QWERTZUIOPASDFGHJKLYXCVBNM';
|
return 'QWERTZUIOPASDFGHJKLYXCVBNM';
|
||||||
|
|
|
@ -26,20 +26,20 @@ class PDFRenderer
|
||||||
|
|
||||||
// Add the front svg
|
// Add the front svg
|
||||||
$pdf->ImageSVG(
|
$pdf->ImageSVG(
|
||||||
$file = $front,
|
$front, // filename
|
||||||
$x = 10,
|
10, // x
|
||||||
$y = 15,
|
15, // y
|
||||||
$w = '85',
|
'85', // width
|
||||||
$h = '55'
|
'55' // height
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add the back svg
|
// Add the back svg
|
||||||
$pdf->ImageSVG(
|
$pdf->ImageSVG(
|
||||||
$file = $back,
|
$back, // filename
|
||||||
$x = 95,
|
95, // x
|
||||||
$y = 15,
|
15, // y
|
||||||
$w = '85',
|
'85', // width
|
||||||
$h = '55'
|
'55' // height
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ class RequestUtils
|
||||||
public static function parseText()
|
public static function parseText()
|
||||||
{
|
{
|
||||||
if (isset($_POST['msg'])) {
|
if (isset($_POST['msg'])) {
|
||||||
return substr($_POST['msg'], 0, 20);
|
return substr($_POST['msg'], 0, 30);
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,7 @@ class RequestUtils
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
isset($_POST['keyboardlayout']) &&
|
isset($_POST['keyboardlayout']) &&
|
||||||
preg_match("/qwerty|qwertz/", $_POST['keyboardlayout'])
|
preg_match("/azerty|qwerty|qwertz/", $_POST['keyboardlayout'])
|
||||||
) {
|
) {
|
||||||
return strtolower($_POST['keyboardlayout']);
|
return strtolower($_POST['keyboardlayout']);
|
||||||
}
|
}
|
||||||
|
|
14
wercker.yml
Normal file
14
wercker.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
box: raphiz/passwordcards
|
||||||
|
build:
|
||||||
|
steps:
|
||||||
|
- script:
|
||||||
|
name: install dependencies
|
||||||
|
code: composer install --no-interaction --prefer-source
|
||||||
|
- script:
|
||||||
|
name: run unit tests
|
||||||
|
code: composer test
|
||||||
|
deploy:
|
||||||
|
steps:
|
||||||
|
- script:
|
||||||
|
name: Deploying...
|
||||||
|
code: bash deploy.sh
|
Reference in a new issue