Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit 50b6688

Browse files
committed
Rewriting as Laminas Project package
1 parent d9b2e95 commit 50b6688

File tree

105 files changed

+983
-3809
lines changed

Some content is hidden

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

105 files changed

+983
-3809
lines changed

Diff for: .gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/.gitattributes export-ignore
33
/.gitignore export-ignore
44
/.travis.yml export-ignore
5-
/composer.lock export-ignore
65
/docs/ export-ignore
76
/mkdocs.yml export-ignore
87
/phpcs.xml export-ignore

Diff for: .gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/clover.xml
2+
/composer.lock
23
/coveralls-upload.json
34
/docs/html/
5+
/laminas-mkdoc-theme.tgz
6+
/laminas-mkdoc-theme/
47
/phpunit.xml
58
/vendor/
6-
/zf-mkdoc-theme.tgz
7-
/zf-mkdoc-theme/

Diff for: .travis.yml

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
sudo: false
2-
31
language: php
42

53
cache:
@@ -12,24 +10,17 @@ env:
1210
- COVERAGE_DEPS="php-coveralls/php-coveralls"
1311

1412
matrix:
13+
fast_finish: true
1514
include:
1615
- php: 5.6
1716
env:
1817
- DEPS=lowest
19-
- php: 5.6
20-
env:
21-
- DEPS=locked
22-
- LEGACY_DEPS="phpunit/phpunit"
2318
- php: 5.6
2419
env:
2520
- DEPS=latest
2621
- php: 7
2722
env:
2823
- DEPS=lowest
29-
- php: 7
30-
env:
31-
- DEPS=locked
32-
- LEGACY_DEPS="phpunit/phpunit"
3324
- php: 7
3425
env:
3526
- DEPS=latest
@@ -38,18 +29,12 @@ matrix:
3829
- DEPS=lowest
3930
- php: 7.1
4031
env:
41-
- DEPS=locked
32+
- DEPS=latest
4233
- CS_CHECK=true
4334
- TEST_COVERAGE=true
44-
- php: 7.1
45-
env:
46-
- DEPS=latest
4735
- php: 7.2
4836
env:
4937
- DEPS=lowest
50-
- php: 7.2
51-
env:
52-
- DEPS=locked
5338
- php: 7.2
5439
env:
5540
- DEPS=latest

Diff for: CHANGELOG.md

+29-29
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ All notable changes to this project will be documented in this file, in reverse
2828

2929
### Added
3030

31-
- [#24](https://github.com/zendframework/zend-mvc-console/pull/24) adds support for PHP 7.1 and 7.2.
31+
- [zendframework/zend-mvc-console#24](https://github.com/zendframework/zend-mvc-console/pull/24) adds support for PHP 7.1 and 7.2.
3232

3333
### Changed
3434

@@ -40,11 +40,11 @@ All notable changes to this project will be documented in this file, in reverse
4040

4141
### Removed
4242

43-
- [#24](https://github.com/zendframework/zend-mvc-console/pull/24) removes support for HHVM.
43+
- [zendframework/zend-mvc-console#24](https://github.com/zendframework/zend-mvc-console/pull/24) removes support for HHVM.
4444

4545
### Fixed
4646

47-
- [#21](https://github.com/zendframework/zend-mvc-console/pull/21) adds a missing import statement for `Zend\Router\RouteMatch` to the
47+
- [zendframework/zend-mvc-console#21](https://github.com/zendframework/zend-mvc-console/pull/21) adds a missing import statement for `Laminas\Router\RouteMatch` to the
4848
`ConsoleViewHelperManagerDelegatorFactory` class.
4949

5050
## 1.1.11 - 2016-08-29
@@ -63,12 +63,12 @@ All notable changes to this project will be documented in this file, in reverse
6363

6464
### Fixed
6565

66-
- [#11](https://github.com/zendframework/zend-mvc-console/pull/11) ups the
67-
minimum supported zend-mvc version to 3.0.3, to ensure that the
66+
- [zendframework/zend-mvc-console#11](https://github.com/zendframework/zend-mvc-console/pull/11) ups the
67+
minimum supported laminas-mvc version to 3.0.3, to ensure that the
6868
`SendResponseListenerFactory` is present, fixing an issue with console output.
69-
- [#15](https://github.com/zendframework/zend-mvc-console/pull/15) promotes
70-
`Zend\Mvc\Console\View\ViewManager::getView()` to public visibility,
71-
matching the API of `Zend\Mvc\View\Http\ViewManager`.
69+
- [zendframework/zend-mvc-console#15](https://github.com/zendframework/zend-mvc-console/pull/15) promotes
70+
`Laminas\Mvc\Console\View\ViewManager::getView()` to public visibility,
71+
matching the API of `Laminas\Mvc\View\Http\ViewManager`.
7272

7373
## 1.1.10 - 2016-05-31
7474

@@ -86,14 +86,14 @@ All notable changes to this project will be documented in this file, in reverse
8686

8787
### Fixed
8888

89-
- [#8](https://github.com/zendframework/zend-mvc-console/pull/8) marks zend-mvc
89+
- [zendframework/zend-mvc-console#8](https://github.com/zendframework/zend-mvc-console/pull/8) marks laminas-mvc
9090
versions less than 3.0.0 as conflicts.
9191

9292
## 1.1.9 - 2016-05-31
9393

9494
### Added
9595

96-
- [#7](https://github.com/zendframework/zend-mvc-console/pull/7) adds support
96+
- [zendframework/zend-mvc-console#7](https://github.com/zendframework/zend-mvc-console/pull/7) adds support
9797
for handling any PHP 7 `Throwable`, not just `Exception`s, within the
9898
`RouteNotFoundStrategy` and `ExceptionStrategy`.
9999

@@ -129,15 +129,15 @@ All notable changes to this project will be documented in this file, in reverse
129129
### Fixed
130130

131131
- Re-maps the `ConsoleRouterDelegatorFactory` to
132-
`Zend\Router\RouteStackInterface` instead of `Router`, as the former is what
133-
zend-router now defines as the canonical service name; this change ensures the
132+
`Laminas\Router\RouteStackInterface` instead of `Router`, as the former is what
133+
laminas-router now defines as the canonical service name; this change ensures the
134134
delegator factory intercepts correctly.
135135

136136
## 1.1.7 - 2016-05-24
137137

138138
### Added
139139

140-
- Adds `Zend\Mvc\Console\Service\ViewManagerDelegatorFactory`, which listens for
140+
- Adds `Laminas\Mvc\Console\Service\ViewManagerDelegatorFactory`, which listens for
141141
the `ViewManager` service and, if in a console environment, returns the
142142
`ConsoleViewManager` service instead.
143143

@@ -229,8 +229,8 @@ All notable changes to this project will be documented in this file, in reverse
229229

230230
### Fixed
231231

232-
- Updates the zend-mvc constraint to allow using either current development
233-
versions of zend-mvc, or stable 3.0 releases once available.
232+
- Updates the laminas-mvc constraint to allow using either current development
233+
versions of laminas-mvc, or stable 3.0 releases once available.
234234

235235
## 1.1.2 - 2016-04-07
236236

@@ -249,7 +249,7 @@ All notable changes to this project will be documented in this file, in reverse
249249
### Fixed
250250

251251
- This release fixes development requirements to ensure tests can be executed.
252-
- [#5](https://github.com/zendframework/zend-mvc-console/pull/5) fixes the
252+
- [zendframework/zend-mvc-console#5](https://github.com/zendframework/zend-mvc-console/pull/5) fixes the
253253
`ConsoleExceptionStrategyFactory` to only inject an exception message if one
254254
was present in configuration; previously, it was overriding the default
255255
message with an empty string in such situations.
@@ -270,7 +270,7 @@ All notable changes to this project will be documented in this file, in reverse
270270

271271
### Fixed
272272

273-
- [#4](https://github.com/zendframework/zend-mvc-console/pull/4) updates the
273+
- [zendframework/zend-mvc-console#4](https://github.com/zendframework/zend-mvc-console/pull/4) updates the
274274
code base to work with zendframework/zend-mvc@e1e42c33. As that revision (a)
275275
removes console-related functionality, and (b) removes routing functionality,
276276
it detailed further changes to this component required to ensure it runs
@@ -280,13 +280,13 @@ All notable changes to this project will be documented in this file, in reverse
280280

281281
### Added
282282

283-
- [#3](https://github.com/zendframework/zend-mvc-console/pull/3) adds the
284-
`CreateConsoleNotFoundModel` controller plugin from zend-mvc. This also
285-
required adding `Zend\Mvc\Console\Service\ControllerPluginManagerDelegatorFactory`
283+
- [zendframework/zend-mvc-console#3](https://github.com/zendframework/zend-mvc-console/pull/3) adds the
284+
`CreateConsoleNotFoundModel` controller plugin from laminas-mvc. This also
285+
required adding `Laminas\Mvc\Console\Service\ControllerPluginManagerDelegatorFactory`
286286
to ensure it is present in the controller plugin manager when in a console
287287
context.
288-
- [#3](https://github.com/zendframework/zend-mvc-console/pull/3) adds
289-
`Zend\Mvc\Console\Service\ControllerManagerDelegatorFactory`, to add an
288+
- [zendframework/zend-mvc-console#3](https://github.com/zendframework/zend-mvc-console/pull/3) adds
289+
`Laminas\Mvc\Console\Service\ControllerManagerDelegatorFactory`, to add an
290290
initializer for injecting a console adapter into `AbstractConsoleController`
291291
instances.
292292

@@ -300,23 +300,23 @@ All notable changes to this project will be documented in this file, in reverse
300300

301301
### Fixed
302302

303-
- [#3](https://github.com/zendframework/zend-mvc-console/pull/3) updates the
303+
- [zendframework/zend-mvc-console#3](https://github.com/zendframework/zend-mvc-console/pull/3) updates the
304304
`AbstractConsoleController` to override the `notFoundAction()` and always
305305
return the return value of the `CreateConsoleNotFoundModel` plugin.
306-
- [#3](https://github.com/zendframework/zend-mvc-console/pull/3) updates the
306+
- [zendframework/zend-mvc-console#3](https://github.com/zendframework/zend-mvc-console/pull/3) updates the
307307
`AbstractConsoleController` to mark it as abstract, as was always intended,
308-
but evidently never implemented, in zend-mvc.
308+
but evidently never implemented, in laminas-mvc.
309309

310310
## 1.0.0 - 2016-03-23
311311

312312
First stable release.
313313

314-
This component replaces the various console utilities in zend-mvc, zend-router,
315-
and zend-view, and provides integration between each of those components and
316-
zend-console.
314+
This component replaces the various console utilities in laminas-mvc, laminas-router,
315+
and laminas-view, and provides integration between each of those components and
316+
laminas-console.
317317

318318
While this is a stable release, please wait to use it until a v3 release of
319-
zend-mvc, which will remove those features, to ensure everything works together
319+
laminas-mvc, which will remove those features, to ensure everything works together
320320
as expected.
321321

322322
### Added

Diff for: COPYRIGHT.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Copyright (c) 2019, Laminas Foundation.
2+
All rights reserved. (https://getlaminas.org/)

Diff for: LICENSE.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
Copyright (c) 2005-2018, Zend Technologies USA, Inc.
1+
Copyright (c) 2019, Laminas Foundation
22
All rights reserved.
33

4-
Redistribution and use in source and binary forms, with or without modification,
5-
are permitted provided that the following conditions are met:
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
66

77
- Redistributions of source code must retain the above copyright notice, this
88
list of conditions and the following disclaimer.
99

10-
- Redistributions in binary form must reproduce the above copyright notice, this
11-
list of conditions and the following disclaimer in the documentation and/or
12-
other materials provided with the distribution.
10+
- Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
1313

14-
- Neither the name of Zend Technologies USA, Inc. nor the names of its
15-
contributors may be used to endorse or promote products derived from this
16-
software without specific prior written permission.
14+
- Neither the name of Laminas Foundation nor the names of its contributors may
15+
be used to endorse or promote products derived from this software without
16+
specific prior written permission.
1717

1818
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1919
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

Diff for: README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
# zend-mvc-console
1+
# laminas-mvc-console
22

3-
[![Build Status](https://secure.travis-ci.org/zendframework/zend-mvc-console.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-mvc-console)
4-
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-mvc-console/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-mvc-console?branch=master)
3+
[![Build Status](https://travis-ci.org/laminas/laminas-mvc-console.svg?branch=master)](https://travis-ci.org/laminas/laminas-mvc-console)
4+
[![Coverage Status](https://coveralls.io/repos/github/laminas/laminas-mvc-console/badge.svg?branch=master)](https://coveralls.io/github/laminas/laminas-mvc-console?branch=master)
55

6-
zend-mvc-console provides integration between:
6+
laminas-mvc-console provides integration between:
77

8-
- zend-console
9-
- zend-mvc
10-
- zend-router
11-
- zend-view
8+
- laminas-console
9+
- laminas-mvc
10+
- laminas-router
11+
- laminas-view
1212

1313
and replaces the console functionality found in the v2 releases of the latter
1414
three components.
1515

16-
- File issues at https://github.com/zendframework/zend-mvc-console/issues
17-
- Documentation is at https://docs.zendframework.com/zend-mvc-console/
16+
- File issues at https://github.com/laminas/laminas-mvc-console/issues
17+
- Documentation is at https://docs.laminas.dev/laminas-mvc-console/
1818

1919
## Installation
2020

2121
```console
22-
$ composer require zendframework/zend-mvc-console
22+
$ composer require laminas/laminas-mvc-console
2323
```
2424

2525
Assuming you are using the [component
26-
installer](https://docs.zendframework.com/zend-component-installer), doing so
26+
installer](https://docs.laminas.dev/laminas-component-installer), doing so
2727
will enable the component in your application, allowing you to immediately start
2828
developing console applications via your MVC. If you are not, please read the
29-
[introduction](https://docs.zendframework.com/zend-mvc-console/intro/) for
29+
[introduction](https://docs.laminas.dev/laminas-mvc-console/intro/) for
3030
details on how to register the functionality with your application.
3131

32-
## For use with zend-mvc v3 and up
32+
## For use with laminas-mvc v3 and up
3333

3434
While this component has an initial stable release, please do not use it with
35-
zend-mvc releases prior to v3, as it is not compatible.
35+
laminas-mvc releases prior to v3, as it is not compatible.
3636

37-
## Migrating from zend-mvc v2 console to zend-mvc-console
37+
## Migrating from laminas-mvc v2 console to laminas-mvc-console
3838

39-
Please see the [migration guide](http://docs.zendframework.com/zend-mvc-console/migration/v2-to-v3/)
40-
for details on how to migrate your existing zend-mvc console functionality to
39+
Please see the [migration guide](http://docs.laminas.dev/laminas-mvc-console/migration/v2-to-v3/)
40+
for details on how to migrate your existing laminas-mvc console functionality to
4141
the features exposed by this component.

0 commit comments

Comments
 (0)