Skip to content

Commit

Permalink
2019-04-16 AC: Release-3.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscaya committed Apr 16, 2019
2 parents d53031e + 8cdbbf0 commit f58101a
Show file tree
Hide file tree
Showing 161 changed files with 9,984 additions and 286 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ branches:
matrix:
fast_finish: true
include:
- php: 7.1
env:
- COMPOSER_PROCESS_TIMEOUT=1200
- TEST_CHECK_COVER=false
- TEST_CHECK=true
- CS_CHECK=true
- CC_CHECK=false
- php: 7.2
env:
- COMPOSER_PROCESS_TIMEOUT=1200
Expand All @@ -32,7 +25,7 @@ matrix:
env:
- COMPOSER_PROCESS_TIMEOUT=1200
- TEST_CHECK_COVER=false
- TEST_CHECK=true
- TEST_CHECK=false
- CS_CHECK=true
- CC_CHECK=false
- php: hhvm
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## 3.0.0 (2019-04-16)

- Adds controller-based Event Sourcing aggregates to the framework with a PSR-14 compliant Event Dispatcher (event bus).

- Adds the facilities to use CQRS.

- Updates the documentation.

## 2.1.1 (2019-04-16)

- Fixes a few unit tests and a few minor issues concerning code comments.
Expand Down Expand Up @@ -51,4 +59,4 @@

## 1.0.0 (2017-06-11)

- Initial release
- Initial release
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.2",
"doctrine/dbal": "2.5.2",
"doctrine/orm": "2.5.2",
"filp/whoops": "2.3.1",
Expand All @@ -28,13 +28,14 @@
"pimple/pimple": "3.2.3",
"smarty/smarty": "3.1.33",
"twig/twig": "2.6.0",
"zendframework/zend-diactoros": "2.1.0",
"zendframework/zend-diactoros": "2.1.1",
"zendframework/zend-eventmanager": "3.2.1",
"zendframework/zend-stdlib": "3.2.1",
"zendframework/zend-stratigility": "3.0.2",
"container-interop/container-interop": "1.2.0",
"atlas/orm": "3.1.0",
"psr/cache": "^1.0"
"psr/cache": "^1.0",
"psr/event-dispatcher": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "6.5.13",
Expand All @@ -55,7 +56,8 @@
"autoload-dev": {
"psr-4": {
"AscmvcTest\\": "tests/",
"Application\\": "tests/unit/app/controllers/Application",
"Application\\Controllers\\": "tests/unit/app/controllers/Application/Controllers",
"Application\\Models\\": "tests/unit/app/models/Application/Models",
"Specialmodule\\": "tests/unit/app/controllers/Specialmodule"
}
},
Expand Down
60 changes: 53 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs-api/build/classes/Ascmvc.AbstractApp.html
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ <h3>Type(s)</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
34 changes: 32 additions & 2 deletions docs-api/build/classes/Ascmvc.AbstractController.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h3><i class="icon-custom icon-method"></i> Methods</h3>
<h2>Initializes this class by assigning the objects and arrays
contained in the referenced application object to the corresponding
properties.</h2>
<pre>__construct(array $baseConfig) </pre>
<pre>__construct(array $baseConfig, \Ascmvc\EventSourcing\EventDispatcher $eventDispatcher) </pre>
<div class="labels">
<span class="label">abstract</span> </div>

Expand All @@ -208,6 +208,10 @@ <h3>Arguments</h3>
<h4>$baseConfig</h4>
<code>array</code><p></p>
</div>
<div class="subelement argument">
<h4>$eventDispatcher</h4>
<code><a href="../classes/Ascmvc.EventSourcing.EventDispatcher.html">\Ascmvc\EventSourcing\EventDispatcher</a></code><p></p>
</div>

</div>
</div>
Expand Down Expand Up @@ -295,6 +299,32 @@ <h3>Type(s)</h3>
<code>array|null</code>
</div>
</div>
</div>
<a id="property_eventDispatcher"> </a>
<div class="element clickable property protected property_eventDispatcher" data-toggle="collapse" data-target=".property_eventDispatcher .collapse">
<h2>Contains an instance of the Ascmvc\EventSourcing\EventDispatcher class.</h2>
<pre>eventDispatcher : \Ascmvc\EventSourcing\EventDispatcher</pre>
<div class="labels">
</div>
<div class="row collapse">
<div class="detail-description">
<div class="long_description"></div>

<table class="table">
<tr>
<th>
var
</th>
<td>

</td>
</tr>
</table>

<h3>Type(s)</h3>
<code><a href="../classes/Ascmvc.EventSourcing.EventDispatcher.html">\Ascmvc\EventSourcing\EventDispatcher</a></code>
</div>
</div>
</div>
<a id="property_helpers"> </a>
<div class="element clickable property protected property_helpers" data-toggle="collapse" data-target=".property_helpers .collapse">
Expand Down Expand Up @@ -342,7 +372,7 @@ <h3>Type(s)</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ <h3>Type(s)</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs-api/build/classes/Ascmvc.AbstractModelObject.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ <h3>Type(s)</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs-api/build/classes/Ascmvc.AbstractRouter.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ <h3>Type(s)</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ <h3><i class="icon-custom icon-method"></i> Methods</h3>
<div class="element clickable method public method_factory" data-toggle="collapse" data-target=".method_factory .collapse">
<h2>Allows an implementing object to initialize itself using
application resources and parameters.</h2>
<pre>factory(array &$baseConfig, &$viewObject, \Pimple\Container &$serviceManager, \Ascmvc\Mvc\AscmvcEventManager &$eventManager) : mixed</pre>
<pre>factory(array &$baseConfig, \Ascmvc\EventSourcing\EventDispatcher &$eventDispatcher, \Pimple\Container &$serviceManager, &$viewObject) : mixed</pre>
<div class="labels">
<span class="label">static</span> </div>

Expand All @@ -194,16 +194,16 @@ <h4>$baseConfig</h4>
<code>array</code><p></p>
</div>
<div class="subelement argument">
<h4>$viewObject</h4>
<code></code><p></p>
<h4>$eventDispatcher</h4>
<code><a href="../classes/Ascmvc.EventSourcing.EventDispatcher.html">\Ascmvc\EventSourcing\EventDispatcher</a></code><p></p>
</div>
<div class="subelement argument">
<h4>$serviceManager</h4>
<code>\Pimple\Container</code><p></p>
</div>
<div class="subelement argument">
<h4>$eventManager</h4>
<code><a href="../classes/Ascmvc.Mvc.AscmvcEventManager.html">\Ascmvc\Mvc\AscmvcEventManager</a></code><p></p>
<h4>$viewObject</h4>
<code></code><p></p>
</div>

<h3>Response</h3>
Expand Down Expand Up @@ -234,7 +234,7 @@ <h3>Response</h3>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h4>$event</h4>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
<a href="http://glyphicons.com/">Glyphicons</a>.<br/>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
generated on Tue, 16 Apr 2019 22:29:08 +0000.<br/>
generated on Tue, 16 Apr 2019 03:38:30 +0000.<br/>
</footer>
</body>
</html>

0 comments on commit f58101a

Please sign in to comment.