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

Commit

Permalink
Rewriting as Laminas Project package
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Dec 31, 2019
1 parent a059a09 commit fe1e1d4
Show file tree
Hide file tree
Showing 90 changed files with 677 additions and 2,926 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/composer.lock export-ignore
/docs/ export-ignore
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/clover.xml
/composer.lock
/coveralls-upload.json
/docs/html/
/laminas-mkdoc-theme.tgz
/laminas-mkdoc-theme/
/phpunit.xml
/vendor/
/zf-mkdoc-theme.tgz
/zf-mkdoc-theme/
20 changes: 2 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,17 @@ env:
- COVERAGE_DEPS="php-coveralls/php-coveralls"

matrix:
fast_finish: true
include:
- php: 5.6
env:
- DEPS=lowest
- php: 5.6
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- php: 5.6
env:
- DEPS=latest
- php: 7
env:
- DEPS=lowest
- php: 7
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- php: 7
env:
- DEPS=latest
Expand All @@ -36,27 +29,18 @@ matrix:
- DEPS=lowest
- php: 7.1
env:
- DEPS=locked
- DEPS=latest
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPS=latest
- php: 7.2
env:
- DEPS=lowest
- php: 7.2
env:
- DEPS=locked
- php: 7.2
env:
- DEPS=latest
- php: 7.3
env:
- DEPS=lowest
- php: 7.3
env:
- DEPS=locked
- php: 7.3
env:
- DEPS=latest
Expand Down
32 changes: 16 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- [#41](https://github.com/zendframework/zend-console/pull/41) adds support for PHP 7.3.
- [zendframework/zend-console#41](https://github.com/zendframework/zend-console/pull/41) adds support for PHP 7.3.

### Changed

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

### Removed

- [#41](https://github.com/zendframework/zend-console/pull/41) removes support for zend-stdlib v2 releases.
- [zendframework/zend-console#41](https://github.com/zendframework/zend-console/pull/41) removes support for laminas-stdlib v2 releases.

### Fixed

- [#44](https://github.com/zendframework/zend-console/pull/44) fixes usage of `array_unique()` within the `DefaultRouteMatcher` to
- [zendframework/zend-console#44](https://github.com/zendframework/zend-console/pull/44) fixes usage of `array_unique()` within the `DefaultRouteMatcher` to
properly re-assign the array when invoked.

## 2.7.0 - 2018-01-25

### Added

- [#32](https://github.com/zendframework/zend-console/pull/32) adds a new route
- [zendframework/zend-console#32](https://github.com/zendframework/zend-console/pull/32) adds a new route
match type, the "catch-all". Such types are always optional (thus, appear in
`[]` sets), and are specified using `...` within: `command [...options]`.

Parameters matched this way will always be returned as an array of values.

- [#39](https://github.com/zendframework/zend-console/pull/39) adds support for
- [zendframework/zend-console#39](https://github.com/zendframework/zend-console/pull/39) adds support for
PHP 7.2.

### Changed
Expand All @@ -70,24 +70,24 @@ All notable changes to this project will be documented in this file, in reverse

### Removed

- [#39](https://github.com/zendframework/zend-console/pull/39) removes support
- [zendframework/zend-console#39](https://github.com/zendframework/zend-console/pull/39) removes support
for PHP 5.5.

- [#39](https://github.com/zendframework/zend-console/pull/39) removes support
- [zendframework/zend-console#39](https://github.com/zendframework/zend-console/pull/39) removes support
for HHVM.

### Fixed

- [#19](https://github.com/zendframework/zend-console/pull/19) updated link
- [zendframework/zend-console#19](https://github.com/zendframework/zend-console/pull/19) updated link
to the documentation in the [README](README.md)

## 2.6.0 - 2016-02-9

### Added

- [#16](https://github.com/zendframework/zend-console/pull/16) updates,
- [zendframework/zend-console#16](https://github.com/zendframework/zend-console/pull/16) updates,
reorganizes, and publishes the documentation to
https://zendframework.github.io/zend-console
https://docs.laminas.dev/laminas-console

### Deprecated

Expand All @@ -99,12 +99,12 @@ All notable changes to this project will be documented in this file, in reverse

### Fixed

- [#13](https://github.com/zendframework/zend-console/pull/13) updates the
component to make it forwards-compatible with the zend-stdlib and
zend-servicemanager v3 versions.
- [#4](https://github.com/zendframework/zend-console/pull/4) fixes an error in
- [zendframework/zend-console#13](https://github.com/zendframework/zend-console/pull/13) updates the
component to make it forwards-compatible with the laminas-stdlib and
laminas-servicemanager v3 versions.
- [zendframework/zend-console#4](https://github.com/zendframework/zend-console/pull/4) fixes an error in
`getTitle()` whereby the `$output` array was being incorrectly used as a
string.
- [#12](https://github.com/zendframework/zend-console/pull/12) updates the
`Zend\Console\Prompt\Char::show()` method to call on the composed adapter's
- [zendframework/zend-console#12](https://github.com/zendframework/zend-console/pull/12) updates the
`Laminas\Console\Prompt\Char::show()` method to call on the composed adapter's
`write()`/`writeLine()` methods instead of calling `echo()`.
2 changes: 2 additions & 0 deletions COPYRIGHT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright (c) 2019, Laminas Foundation.
All rights reserved. (https://getlaminas.org/)
18 changes: 9 additions & 9 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Copyright (c) 2005-2017, Zend Technologies USA, Inc.
Copyright (c) 2019, Laminas Foundation
All rights reserved.

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

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

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

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

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# zend-console
# laminas-console

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

`Zend\Console` is a component to design and implement console applications in PHP.
`Laminas\Console` is a component to design and implement console applications in PHP.

> ### Deprecated
>
> Both the zend-console and the [zend-mvc-console](https://docs.zendframework.com/zend-mvc-console/)
> Both the laminas-console and the [laminas-mvc-console](https://docs.laminas.dev/laminas-mvc-console/)
> components will likely not be maintained long-term, as there are more complete
> implementations available elsewhere. We strongly urge developers to start
> migrating their console tooling to use other libraries, such as
> [symfony/console](https://github.com/symfony/console).
- File issues at https://github.com/zendframework/zend-console/issues
- Documentation is at https://docs.zendframework.com/zend-console/
- File issues at https://github.com/laminas/laminas-console/issues
- Documentation is at https://docs.laminas.dev/laminas-console/
60 changes: 32 additions & 28 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
{
"name": "zendframework/zend-console",
"name": "laminas/laminas-console",
"description": "Build console applications using getopt syntax or routing, complete with prompts",
"license": "BSD-3-Clause",
"keywords": [
"zf",
"zendframework",
"laminas",
"console"
],
"homepage": "https://laminas.dev",
"support": {
"docs": "https://docs.zendframework.com/zend-console/",
"issues": "https://github.com/zendframework/zend-console/issues",
"source": "https://github.com/zendframework/zend-console",
"rss": "https://github.com/zendframework/zend-console/releases.atom",
"slack": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/components"
"docs": "https://docs.laminas.dev/laminas-console/",
"issues": "https://github.com/laminas/laminas-console/issues",
"source": "https://github.com/laminas/laminas-console",
"rss": "https://github.com/laminas/laminas-console/releases.atom",
"chat": "https://laminas.dev/chat",
"forum": "https://discourse.laminas.dev"
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "2.8.x-dev",
"dev-develop": "2.9.x-dev"
}
},
"require": {
"php": "^5.6 || ^7.0",
"zendframework/zend-stdlib": "^3.2.1"
"laminas/laminas-stdlib": "^3.2.1",
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-filter": "^2.7.2",
"zendframework/zend-json": "^2.6 || ^3.0",
"zendframework/zend-validator": "^2.10.1"
"laminas/laminas-coding-standard": "~1.0.0",
"laminas/laminas-filter": "^2.7.2",
"laminas/laminas-json": "^2.6 || ^3.0",
"laminas/laminas-validator": "^2.10.1",
"phpunit/phpunit": "^5.7.23 || ^6.4.3"
},
"suggest": {
"zendframework/zend-filter": "To support DefaultRouteMatcher usage",
"zendframework/zend-validator": "To support DefaultRouteMatcher usage"
"laminas/laminas-filter": "To support DefaultRouteMatcher usage",
"laminas/laminas-validator": "To support DefaultRouteMatcher usage"
},
"autoload": {
"psr-4": {
"Zend\\Console\\": "src/"
"Laminas\\Console\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Console\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "2.8.x-dev",
"dev-develop": "2.9.x-dev"
"LaminasTest\\Console\\": "test/"
}
},
"scripts": {
Expand All @@ -58,5 +59,8 @@
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"replace": {
"zendframework/zend-console": "self.version"
}
}
Loading

0 comments on commit fe1e1d4

Please sign in to comment.