Skip to content

Commit

Permalink
Rewriting as Laminas Project package
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Jan 8, 2020
1 parent dc8d1b7 commit d5283e9
Show file tree
Hide file tree
Showing 235 changed files with 1,797 additions and 3,974 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,8 +1,9 @@
/.phpunit.result.cache
/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/
17 changes: 2 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
global:
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="php-coveralls/php-coveralls"
- TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT=true
- TESTS_LAMINAS_CODE_ANNOTATION_DOCTRINE_SUPPORT=true

matrix:
fast_finish: true
Expand All @@ -18,37 +18,24 @@ matrix:
- DEPS=lowest
- php: 7.1
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- 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
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- DEPS=locked
- php: 7.4
env:
- DEPS=latest
Expand Down
216 changes: 108 additions & 108 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions COPYRIGHT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright (c) 2020, 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-2019, Zend Technologies USA, Inc.
Copyright (c) 2020, 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,14 +1,14 @@
# zend-code
# laminas-code

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

`Zend\Code\Generator` provides facilities to generate arbitrary code using an
`Laminas\Code\Generator` provides facilities to generate arbitrary code using an
object-oriented interface, both to create new code as well as to update existing
code. While the current implementation is limited to generating PHP code, you
can easily extend the base class in order to provide code generation for other
tasks: JavaScript, configuration files, apache vhosts, etc.

- File issues at https://github.com/zendframework/zend-code/issues
- Documentation is at https://docs.zendframework.com/zend-code/
- Migration documentation from v2 to v3 is at https://docs.zendframework.com/zend-code/migration/
- File issues at https://github.com/laminas/laminas-code/issues
- Documentation is at https://docs.laminas.dev/laminas-code/
- Migration documentation from v2 to v3 is at https://docs.laminas.dev/laminas-code/migration/
57 changes: 31 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,55 @@
{
"name": "zendframework/zend-code",
"name": "laminas/laminas-code",
"description": "Extensions to the PHP Reflection API, static code scanning, and code generation",
"license": "BSD-3-Clause",
"keywords": [
"zf",
"zendframework",
"laminas",
"laminasframwork",
"code"
],
"homepage": "https://laminasframwork.dev",
"support": {
"docs": "https://docs.zendframework.com/zend-code/",
"issues": "https://github.com/zendframework/zend-code/issues",
"source": "https://github.com/zendframework/zend-code",
"rss": "https://github.com/zendframework/zend-code/releases.atom",
"chat": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/components"
"docs": "https://docs.laminasframwork.dev/laminas-code/",
"issues": "https://github.com/laminasframwork/laminas-code/issues",
"source": "https://github.com/laminasframwork/laminas-code",
"rss": "https://github.com/laminasframwork/laminas-code/releases.atom",
"chat": "https://laminas.dev/chat",
"forum": "https://discourse.laminas.dev"
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "3.4.x-dev",
"dev-develop": "3.5.x-dev",
"dev-dev-4.0": "4.0.x-dev"
}
},
"require": {
"php": "^7.1"
"php": "^7.1",
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
"ext-phar": "*",
"phpunit/phpunit": "^7.5.16 || ^8.4",
"zendframework/zend-coding-standard": "^1.0",
"zendframework/zend-stdlib": "^2.7 || ^3.0"
"laminas/laminas-coding-standard": "^1.0",
"laminas/laminas-stdlib": "^2.7 || ^3.0",
"phpunit/phpunit": "^7.5.16 || ^8.4"
},
"conflict": {
"phpspec/prophecy": "<1.9.0"
},
"suggest": {
"zendframework/zend-stdlib": "Zend\\Stdlib component"
"laminas/laminas-stdlib": "Laminas\\Stdlib component"
},
"autoload": {
"psr-4": {
"Zend\\Code\\": "src/"
"Laminas\\Code\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Code\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "3.4.x-dev",
"dev-develop": "3.5.x-dev",
"dev-dev-4.0": "4.0.x-dev"
"LaminasTest\\Code\\": "test/"
}
},
"scripts": {
Expand All @@ -59,5 +61,8 @@
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"replace": {
"zendframework/zend-code": "self.version"
}
}
Loading

0 comments on commit d5283e9

Please sign in to comment.