Skip to content

Firefly III: a personal finances manager

Laravel 4 > Laravel 5

James Cole72e72c60c25d
diff --git a/composer.json b/composer.json
index 1e43cb81e1..3e09c253c6 100644
--- a/composer.json
+++ b/composer.json
@@ -42,7 +42,8 @@
"codeception/specify": "*",
"codeception/verify": "*",
"fzaninotto/faker": "1.*",
- "codeclimate/php-test-reporter": "dev-master"
+ "codeclimate/php-test-reporter": "dev-master",
+ "janhenkgerritsen/codeception-laravel5": "~1.0"
},
diff --git a/composer.lock b/composer.lock
index 4e6d8e646a..efb1fc3403 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "hash": "ed044a8c8691c9faf57f8d13839118cd",
+ "hash": "13cdbee2532896d10d1b3d8833f72d74",
"packages": [
{
"name": "barryvdh/laravel-ide-helper",
@@ -2713,6 +2713,174 @@
],
"time": "2014-12-19 23:54:20"
},
+ {
+ "name": "codeception/phpbuiltinserver",
+ "version": "v1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/tiger-seo/PhpBuiltinServer.git",
+ "reference": "730206313b7e85d9ed4838ba02a0aee24fce1239"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/tiger-seo/PhpBuiltinServer/zipball/730206313b7e85d9ed4838ba02a0aee24fce1239",
+ "reference": "730206313b7e85d9ed4838ba02a0aee24fce1239",
+ "shasum": ""
+ },
+ "require": {
+ "codeception/codeception": ">=2.0.2",
+ "php": ">=5.4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Codeception": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "tiger-seo",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "PhpBuiltinServer extension for Codeception",
+ "keywords": [
+ "codeception"
+ ],
+ "time": "2014-09-19 10:14:07"
+ },
+ {
+ "name": "codeception/specify",
+ "version": "0.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Codeception/Specify.git",
+ "reference": "0c0ae07adfc231115b3b72ade22f44c23c199ded"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Codeception/Specify/zipball/0c0ae07adfc231115b3b72ade22f44c23c199ded",
+ "reference": "0c0ae07adfc231115b3b72ade22f44c23c199ded",
+ "shasum": ""
+ },
+ "require": {
+ "myclabs/deep-copy": "~1.1",
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Codeception\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "authors": [
+ {
+ "name": "Michael Bodnarchuk",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "BDD code blocks for PHPUnit and Codeception",
+ "time": "2014-10-17 00:06:51"
+ },
+ {
+ "name": "codeception/verify",
+ "version": "0.2.7",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Codeception/Verify.git",
+ "reference": "66e5074905f4d9590ddb805d123fe632f4baa488"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Codeception/Verify/zipball/66e5074905f4d9590ddb805d123fe632f4baa488",
+ "reference": "66e5074905f4d9590ddb805d123fe632f4baa488",
+ "shasum": ""
+ },
+ "require-dev": {
+ "phpunit/phpunit": "3.7.*"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "src/Codeception/function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "authors": [
+ {
+ "name": "Michael Bodnarchuk",
+ "email": "[email protected]",
+ "homepage": "http://codeception.com"
+ }
+ ],
+ "description": "BDD assertion library for PHPUnit",
+ "time": "2014-01-22 14:40:33"
+ },
+ {
+ "name": "codeclimate/php-test-reporter",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/codeclimate/php-test-reporter.git",
+ "reference": "2dd8395f81874333d15de3a598f722997ba42fb5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/codeclimate/php-test-reporter/zipball/2dd8395f81874333d15de3a598f722997ba42fb5",
+ "reference": "2dd8395f81874333d15de3a598f722997ba42fb5",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "php": ">=5.3",
+ "satooshi/php-coveralls": "0.6.*",
+ "symfony/console": ">=2.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "3.7.*@stable"
+ },
+ "bin": [
+ "composer/bin/test-reporter"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "CodeClimate\\Component": "src/",
+ "CodeClimate\\Bundle": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Code Climate",
+ "email": "[email protected]",
+ "homepage": "https://codeclimate.com"
+ }
+ ],
+ "description": "PHP client for reporting test coverage to Code Climate",
+ "homepage": "https://github.com/codeclimate/php-test-reporter",
+ "keywords": [
+ "codeclimate",
+ "coverage"
+ ],
+ "time": "2014-12-29 16:17:04"
+ },
{
"name": "doctrine/instantiator",
"version": "1.0.4",
@@ -2808,6 +2976,146 @@
],
"time": "2014-11-05 20:53:09"
},
+ {
+ "name": "fzaninotto/faker",
+ "version": "v1.4.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/fzaninotto/Faker.git",
+ "reference": "010c7efedd88bf31141a02719f51fb44c732d5a0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/010c7efedd88bf31141a02719f51fb44c732d5a0",
+ "reference": "010c7efedd88bf31141a02719f51fb44c732d5a0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0",
+ "squizlabs/php_codesniffer": "~1.5"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": []
+ },
+ "autoload": {
+ "psr-0": {
+ "Faker": "src/",
+ "Faker\\PHPUnit": "test/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "François Zaninotto"
+ }
+ ],
+ "description": "Faker is a PHP library that generates fake data for you.",
+ "keywords": [
+ "data",
+ "faker",
+ "fixtures"
+ ],
+ "time": "2014-06-04 14:43:02"
+ },
+ {
+ "name": "guzzle/guzzle",
+ "version": "v3.9.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/guzzle3.git",
+ "reference": "54991459675c1a2924122afbb0e5609ade581155"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/guzzle3/zipball/54991459675c1a2924122afbb0e5609ade581155",
+ "reference": "54991459675c1a2924122afbb0e5609ade581155",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "php": ">=5.3.3",
+ "symfony/event-dispatcher": "~2.1"
+ },
+ "replace": {
+ "guzzle/batch": "self.version",
+ "guzzle/cache": "self.version",
+ "guzzle/common": "self.version",
+ "guzzle/http": "self.version",
+ "guzzle/inflection": "self.version",
+ "guzzle/iterator": "self.version",
+ "guzzle/log": "self.version",
+ "guzzle/parser": "self.version",
+ "guzzle/plugin": "self.version",
+ "guzzle/plugin-async": "self.version",
+ "guzzle/plugin-backoff": "self.version",
+ "guzzle/plugin-cache": "self.version",
+ "guzzle/plugin-cookie": "self.version",
+ "guzzle/plugin-curlauth": "self.version",
+ "guzzle/plugin-error-response": "self.version",
+ "guzzle/plugin-history": "self.version",
+ "guzzle/plugin-log": "self.version",
+ "guzzle/plugin-md5": "self.version",
+ "guzzle/plugin-mock": "self.version",
+ "guzzle/plugin-oauth": "self.version",
+ "guzzle/service": "self.version",
+ "guzzle/stream": "self.version"
+ },
+ "require-dev": {
+ "doctrine/cache": "~1.3",
+ "monolog/monolog": "~1.0",
+ "phpunit/phpunit": "3.7.*",
+ "psr/log": "~1.0",
+ "symfony/class-loader": "~2.1",
+ "zendframework/zend-cache": "2.*,<2.3",
+ "zendframework/zend-log": "2.*,<2.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.9-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Guzzle": "src/",
+ "Guzzle\\Tests": "tests/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michael Dowling",
+ "email": "[email protected]",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Guzzle Community",
+ "homepage": "https://github.com/guzzle/guzzle/contributors"
+ }
+ ],
+ "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
+ "homepage": "http://guzzlephp.org/",
+ "keywords": [
+ "client",
+ "curl",
+ "framework",
+ "http",
+ "http client",
+ "rest",
+ "web service"
+ ],
+ "time": "2014-08-11 04:32:36"
+ },
{
"name": "guzzlehttp/guzzle",
"version": "5.2.0",
@@ -2966,6 +3274,109 @@
],
"time": "2014-10-12 19:18:40"
},
+ {
+ "name": "janhenkgerritsen/codeception-laravel5",
+ "version": "1.0.10",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/janhenkgerritsen/codeception-laravel5.git",
+ "reference": "6308e72a73dfb015164689646676cda6827409d5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/janhenkgerritsen/codeception-laravel5/zipball/6308e72a73dfb015164689646676cda6827409d5",
+ "reference": "6308e72a73dfb015164689646676cda6827409d5",
+ "shasum": ""
+ },
+ "require": {
+ "codeception/codeception": "~2.0",
+ "php": ">=5.4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Codeception": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jan-Henk Gerritsen",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Laravel5 module for Codeception",
+ "keywords": [
+ "codeception",
+ "laravel",
+ "laravel5"
+ ],
+ "time": "2015-02-07 10:02:06"
+ },
+ {
+ "name": "league/factory-muffin",
+ "version": "v2.1.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/thephpleague/factory-muffin.git",
+ "reference": "91f0adcdac6b5f7bf2277ac2c90f94352afe65de"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/thephpleague/factory-muffin/zipball/91f0adcdac6b5f7bf2277ac2c90f94352afe65de",
+ "reference": "91f0adcdac6b5f7bf2277ac2c90f94352afe65de",
+ "shasum": ""
+ },
+ "require": {
+ "fzaninotto/faker": "1.4.*",
+ "php": ">=5.3.3"
+ },
+ "replace": {
+ "zizaco/factory-muff": "self.version"
+ },
+ "require-dev": {
+ "illuminate/database": "~4.1",
+ "phpunit/phpunit": "~4.0"
+ },
+ "suggest": {
+ "illuminate/database": "Factory Muffin works well with eloquent models."
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\FactoryMuffin\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Zizaco Zizuini",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Scott Robertson",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "The goal of this package is to enable the rapid creation of objects for the purpose of testing.",
+ "homepage": "http://factory-muffin.thephpleague.com/",
+ "keywords": [
+ "factory",
+ "laravel",
+ "testing"
+ ],
+ "time": "2014-09-18 18:29:06"
+ },
{
"name": "maximebf/debugbar",
"version": "v1.10.4",
@@ -3022,6 +3433,48 @@
],
"time": "2015-02-05 07:51:20"
},
+ {
+ "name": "myclabs/deep-copy",
+ "version": "1.2.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/DeepCopy.git",
+ "reference": "d93c485e71bcd22df0a994e9e3e03a3ef3a3e3f3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/d93c485e71bcd22df0a994e9e3e03a3ef3a3e3f3",
+ "reference": "d93c485e71bcd22df0a994e9e3e03a3ef3a3e3f3",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "doctrine/collections": "1.*",
+ "phpunit/phpunit": "~4.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Create deep copies (clones) of your objects",
+ "homepage": "https://github.com/myclabs/DeepCopy",
+ "keywords": [
+ "clone",
+ "copy",
+ "duplicate",
+ "object",
+ "object graph"
+ ],
+ "time": "2014-11-20 05:11:17"
+ },
{
"name": "phpspec/php-diff",
"version": "v1.0.2",
@@ -3606,6 +4059,74 @@
"description": "A lightweight implementation of CommonJS Promises/A for PHP",
"time": "2014-12-30 13:32:42"
},
+ {
+ "name": "satooshi/php-coveralls",
+ "version": "v0.6.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/satooshi/php-coveralls.git",
+ "reference": "dd0df95bd37a7cf5c5c50304dfe260ffe4b50760"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/dd0df95bd37a7cf5c5c50304dfe260ffe4b50760",
+ "reference": "dd0df95bd37a7cf5c5c50304dfe260ffe4b50760",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "ext-json": "*",
+ "ext-simplexml": "*",
+ "guzzle/guzzle": ">=3.0",
+ "php": ">=5.3",
+ "psr/log": "1.0.0",
+ "symfony/config": ">=2.0",
+ "symfony/console": ">=2.0",
+ "symfony/stopwatch": ">=2.2",
+ "symfony/yaml": ">=2.0"
+ },
+ "require-dev": {
+ "apigen/apigen": "2.8.*@stable",
+ "pdepend/pdepend": "dev-master",
+ "phpmd/phpmd": "dev-master",
+ "phpunit/php-invoker": ">=1.1.0,<1.2.0",
+ "phpunit/phpunit": "3.7.*@stable",
+ "sebastian/finder-facade": "dev-master",
+ "sebastian/phpcpd": "1.4.*@stable",
+ "squizlabs/php_codesniffer": "1.4.*@stable",
+ "theseer/fdomdocument": "dev-master"
+ },
+ "bin": [
+ "composer/bin/coveralls"
+ ],
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Contrib\\Component": "src/",
+ "Contrib\\Bundle": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Kitamura Satoshi",
+ "email": "[email protected]",
+ "homepage": "https://www.facebook.com/satooshi.jp"
+ }
+ ],
+ "description": "PHP client library for Coveralls API",
+ "homepage": "https://github.com/satooshi/php-coveralls",
+ "keywords": [
+ "ci",
+ "coverage",
+ "github",
+ "test"
+ ],
+ "time": "2013-05-04 08:07:33"
+ },
{
"name": "sebastian/comparator",
"version": "1.1.1",
@@ -4032,6 +4553,54 @@
"homepage": "http://symfony.com",
"time": "2015-01-03 08:01:59"
},
+ {
+ "name": "symfony/config",
+ "version": "v2.6.4",
+ "target-dir": "Symfony/Component/Config",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/Config.git",
+ "reference": "a9f781ba1221067d1f07c8cec0bc50f81b8d7408"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/Config/zipball/a9f781ba1221067d1f07c8cec0bc50f81b8d7408",
+ "reference": "a9f781ba1221067d1f07c8cec0bc50f81b8d7408",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "symfony/filesystem": "~2.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.6-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\Config\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ },
+ {
+ "name": "Fabien Potencier",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Symfony Config Component",
+ "homepage": "http://symfony.com",
+ "time": "2015-01-21 20:57:55"
+ },
{
"name": "symfony/css-selector",
"version": "v2.6.4",
@@ -4136,6 +4705,53 @@
"homepage": "http://symfony.com",
"time": "2015-01-03 08:01:59"
},
+ {
+ "name": "symfony/stopwatch",
+ "version": "v2.6.4",
+ "target-dir": "Symfony/Component/Stopwatch",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/Stopwatch.git",
+ "reference": "e8da5286132ba75ce4b4275fbf0f4cd369bfd71c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/Stopwatch/zipball/e8da5286132ba75ce4b4275fbf0f4cd369bfd71c",
+ "reference": "e8da5286132ba75ce4b4275fbf0f4cd369bfd71c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.6-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\Stopwatch\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ },
+ {
+ "name": "Fabien Potencier",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Symfony Stopwatch Component",
+ "homepage": "http://symfony.com",
+ "time": "2015-01-03 08:01:59"
+ },
{
"name": "symfony/yaml",
"version": "v2.6.4",
@@ -4193,7 +4809,8 @@
"watson/validating": 20,
"barryvdh/laravel-debugbar": 0,
"codeception/codeception": 0,
- "codeception/c3": 0
+ "codeception/c3": 0,
+ "codeclimate/php-test-reporter": 20
},
"prefer-stable": false,
"prefer-lowest": false,
diff --git a/tests/functional.suite.yml b/tests/functional.suite.yml
index d3effb537d..26dd2115fe 100644
--- a/tests/functional.suite.yml
+++ b/tests/functional.suite.yml
@@ -6,7 +6,7 @@
class_name: FunctionalTester
modules:
- enabled: [Db, Filesystem, FunctionalHelper, Laravel4]
+ enabled: [Db, Filesystem, FunctionalHelper, Laravel5]
config:
Db:
populate: false