Skip to content

Commit 57e6fb4

Browse files
author
Alexander Miertsch
committed
Merge pull request #57 from prooph/develop
prooph/psr7-middleware and expressive 1.0
2 parents a0cbcfb + 3cb29cb commit 57e6fb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+637
-471
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# for php-coveralls
22
service_name: travis-ci
3-
src_dir: src
43
coverage_clover: build/logs/clover.xml

.php_cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$finder = Symfony\CS\Finder\DefaultFinder::create()
33
->in('src')
44
->in('config')
5-
->in('view')
5+
->in('templates')
66
->in('tests')
77
->in('scripts')
88
->in('migrations');

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ script:
1313
- php ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml
1414
- ./vendor/bin/php-cs-fixer fix -v --diff --dry-run
1515

16-
after_script:
16+
after_success:
1717
- php vendor/bin/coveralls -v
1818

1919
notifications:

bin/migrations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.
8-
*
8+
*
99
* Date: 9/5/15 - 10:10 PM
1010
*/
1111
/**
@@ -17,7 +17,7 @@
1717
// Setup autoloading
1818
require 'vendor/autoload.php';
1919

20-
$container = require 'config/services.php';
20+
$container = require 'config/container.php';
2121

2222
$cli = new \Symfony\Component\Console\Application('Doctrine Command Line Interface', \Doctrine\DBAL\Migrations\MigrationsVersion::VERSION());
2323

bin/setup_mongodb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
cd $DIR
55

66
echo "using adapter mongodb"
7-
touch ./config/mongo_client.local.php
7+
touch ./config/autoload/mongo_client.local.php
88

99
php composer.phar require prooph/event-store-mongodb-adapter --update-no-dev -o --prefer-dist
1010

11-
cat > config/mongo_client.local.php << EOL
11+
cat > config/autoload/mongo_client.local.php << EOL
1212
<?php
1313
return [
1414
'mongo_client' => function () {
@@ -18,7 +18,7 @@ return [
1818
];
1919
EOL
2020

21-
cat > config/event_store.local.php << EOL
21+
cat > config/autoload/event_store.local.php << EOL
2222
<?php
2323
return [
2424
'prooph' => [

bin/setup_mysql.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
cd $DIR
55

66
echo "using adapter: mysql"
7-
touch ./config/dbal_connection.local.php
7+
touch ./config/autoload/dbal_connection.local.php
88

99
php composer.phar require prooph/event-store-doctrine-adapter --update-no-dev -o --prefer-dist
1010

11-
cat > config/dbal_connection.local.php <<EOL
11+
cat > config/autoload/dbal_connection.local.php <<EOL
1212
<?php
1313
return [
1414
'doctrine' => [
@@ -30,7 +30,7 @@ return [
3030
];
3131
EOL
3232

33-
cat > config/event_store.local.php <<EOL
33+
cat > config/autoload/event_store.local.php <<EOL
3434
<?php
3535
return [
3636
'prooph' => [

bin/snapshot_server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
require_once 'vendor/autoload.php';
1010

11-
$container = require 'config/services.php';
11+
$container = require 'config/container.php';
1212

1313
$context = new ZMQContext;
1414
$socket = new ZMQSocket($context, ZMQ::SOCKET_PULL);

composer.json

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,25 @@
44
"license": "BSD-3-Clause",
55
"keywords": [
66
"example",
7+
"prooph",
78
"proophessor",
8-
"zf2"
9+
"zend-expressive",
10+
"cqrs",
11+
"service bus",
12+
"event sourcing",
13+
"snapshots",
14+
"integration"
915
],
1016
"authors": [
1117
{
1218
"name": "Alexander Miertsch",
1319
"email": "[email protected]",
14-
"homepage": "http://www.prooph.de"
20+
"homepage": "http://prooph-software.com/"
21+
},
22+
{
23+
"name": "Sandro Keil",
24+
"email": "[email protected]",
25+
"homepage": "http://prooph-software.com/"
1526
},
1627
{
1728
"name": "Sascha-Oliver Prolic",
@@ -20,26 +31,33 @@
2031
],
2132
"homepage": "http://getprooph.org/",
2233
"require": {
23-
"php": "~5.5|~7.0",
24-
"prooph/event-store" : "^6.0",
25-
"prooph/event-sourcing" : "^4.0",
26-
"prooph/service-bus" : "^5.0",
27-
"prooph/event-store-bus-bridge" : "^2.0",
28-
"zendframework/zend-expressive" : "^0.3",
29-
"zendframework/zend-servicemanager" : "~2.6",
30-
"zendframework/zend-config": "^2.5",
31-
"zendframework/zend-view": "^2.5",
32-
"zendframework/zend-filter": "^2.5",
34+
"php": "^5.5 || ^7.0",
3335
"aura/router" : "^2.3",
3436
"doctrine/dbal": "^2.5",
3537
"doctrine/migrations": "^1.0",
36-
"nicolopignatelli/valueobjects": "~3.0",
37-
"sandrokeil/interop-config": "^0.3.1"
38+
"nicolopignatelli/valueobjects": "^3.0",
39+
"prooph/event-sourcing" : "^4.0",
40+
"prooph/event-store" : "^6.0",
41+
"prooph/event-store-bus-bridge" : "^2.0",
42+
"prooph/psr7-middleware": "^0.1",
43+
"prooph/service-bus" : "^5.0",
44+
"roave/security-advisories": "dev-master",
45+
"sandrokeil/interop-config": "^0.3.1",
46+
"zendframework/zend-config": "^2.6",
47+
"zendframework/zend-expressive" : "^1.0",
48+
"zendframework/zend-expressive-aurarouter": "^1.0",
49+
"zendframework/zend-expressive-helpers": "^2.0",
50+
"zendframework/zend-expressive-zendviewrenderer": "^1.0.1",
51+
"zendframework/zend-filter": "^2.6",
52+
"zendframework/zend-servicemanager" : "^2.7.5 || ^3.0.3"
3853
},
3954
"require-dev" : {
40-
"fabpot/php-cs-fixer": "1.7.*",
41-
"phpunit/phpunit": "^4.7",
42-
"symfony/stopwatch": "^2.7"
55+
"fabpot/php-cs-fixer": "^1.9.3",
56+
"filp/whoops": "^1.1",
57+
"phpunit/phpunit": "^4.8 || ^5.2",
58+
"proophsoftware/prooph-cli": "^0.1.2",
59+
"symfony/stopwatch": "^2.7",
60+
"satooshi/php-coveralls": "^1.0"
4361
},
4462
"suggest" : {
4563
"prooph/event-store-doctrine-adapter" : "^3.0 Use doctrine dbal event store adapter",

config/autoload/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
local.php
2+
*.local.php

config/autoload/config.global.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
return [
4+
'debug' => true,
5+
6+
'config_cache_enabled' => false,
7+
];

0 commit comments

Comments
 (0)