Skip to content

Commit d5283e9

Browse files
committed
Rewriting as Laminas Project package
1 parent dc8d1b7 commit d5283e9

File tree

235 files changed

+1797
-3974
lines changed

Some content is hidden

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

235 files changed

+1797
-3974
lines changed

.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

.gitignore

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

.travis.yml

+2-15
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ env:
88
global:
99
- COMPOSER_ARGS="--no-interaction"
1010
- COVERAGE_DEPS="php-coveralls/php-coveralls"
11-
- TESTS_ZEND_CODE_ANNOTATION_DOCTRINE_SUPPORT=true
11+
- TESTS_LAMINAS_CODE_ANNOTATION_DOCTRINE_SUPPORT=true
1212

1313
matrix:
1414
fast_finish: true
@@ -18,37 +18,24 @@ matrix:
1818
- DEPS=lowest
1919
- php: 7.1
2020
env:
21-
- DEPS=locked
22-
- LEGACY_DEPS="phpunit/phpunit"
21+
- DEPS=latest
2322
- CS_CHECK=true
2423
- TEST_COVERAGE=true
25-
- php: 7.1
26-
env:
27-
- DEPS=latest
2824
- php: 7.2
2925
env:
3026
- DEPS=lowest
31-
- php: 7.2
32-
env:
33-
- DEPS=locked
3427
- php: 7.2
3528
env:
3629
- DEPS=latest
3730
- php: 7.3
3831
env:
3932
- DEPS=lowest
40-
- php: 7.3
41-
env:
42-
- DEPS=locked
4333
- php: 7.3
4434
env:
4535
- DEPS=latest
4636
- php: 7.4
4737
env:
4838
- DEPS=lowest
49-
- php: 7.4
50-
env:
51-
- DEPS=locked
5239
- php: 7.4
5340
env:
5441
- DEPS=latest

CHANGELOG.md

+108-108
Large diffs are not rendered by default.

COPYRIGHT.md

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

LICENSE.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
Copyright (c) 2005-2019, Zend Technologies USA, Inc.
1+
Copyright (c) 2020, 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

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# zend-code
1+
# laminas-code
22

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

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

12-
- File issues at https://github.com/zendframework/zend-code/issues
13-
- Documentation is at https://docs.zendframework.com/zend-code/
14-
- Migration documentation from v2 to v3 is at https://docs.zendframework.com/zend-code/migration/
12+
- File issues at https://github.com/laminas/laminas-code/issues
13+
- Documentation is at https://docs.laminas.dev/laminas-code/
14+
- Migration documentation from v2 to v3 is at https://docs.laminas.dev/laminas-code/migration/

composer.json

+31-26
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,55 @@
11
{
2-
"name": "zendframework/zend-code",
2+
"name": "laminas/laminas-code",
33
"description": "Extensions to the PHP Reflection API, static code scanning, and code generation",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf",
7-
"zendframework",
6+
"laminas",
7+
"laminasframwork",
88
"code"
99
],
10+
"homepage": "https://laminasframwork.dev",
1011
"support": {
11-
"docs": "https://docs.zendframework.com/zend-code/",
12-
"issues": "https://github.com/zendframework/zend-code/issues",
13-
"source": "https://github.com/zendframework/zend-code",
14-
"rss": "https://github.com/zendframework/zend-code/releases.atom",
15-
"chat": "https://zendframework-slack.herokuapp.com",
16-
"forum": "https://discourse.zendframework.com/c/questions/components"
12+
"docs": "https://docs.laminasframwork.dev/laminas-code/",
13+
"issues": "https://github.com/laminasframwork/laminas-code/issues",
14+
"source": "https://github.com/laminasframwork/laminas-code",
15+
"rss": "https://github.com/laminasframwork/laminas-code/releases.atom",
16+
"chat": "https://laminas.dev/chat",
17+
"forum": "https://discourse.laminas.dev"
18+
},
19+
"config": {
20+
"sort-packages": true
21+
},
22+
"extra": {
23+
"branch-alias": {
24+
"dev-master": "3.4.x-dev",
25+
"dev-develop": "3.5.x-dev",
26+
"dev-dev-4.0": "4.0.x-dev"
27+
}
1728
},
1829
"require": {
19-
"php": "^7.1"
30+
"php": "^7.1",
31+
"laminas/laminas-zendframework-bridge": "^1.0"
2032
},
2133
"require-dev": {
2234
"ext-phar": "*",
23-
"phpunit/phpunit": "^7.5.16 || ^8.4",
24-
"zendframework/zend-coding-standard": "^1.0",
25-
"zendframework/zend-stdlib": "^2.7 || ^3.0"
35+
"laminas/laminas-coding-standard": "^1.0",
36+
"laminas/laminas-stdlib": "^2.7 || ^3.0",
37+
"phpunit/phpunit": "^7.5.16 || ^8.4"
2638
},
2739
"conflict": {
2840
"phpspec/prophecy": "<1.9.0"
2941
},
3042
"suggest": {
31-
"zendframework/zend-stdlib": "Zend\\Stdlib component"
43+
"laminas/laminas-stdlib": "Laminas\\Stdlib component"
3244
},
3345
"autoload": {
3446
"psr-4": {
35-
"Zend\\Code\\": "src/"
47+
"Laminas\\Code\\": "src/"
3648
}
3749
},
3850
"autoload-dev": {
3951
"psr-4": {
40-
"ZendTest\\Code\\": "test/"
41-
}
42-
},
43-
"config": {
44-
"sort-packages": true
45-
},
46-
"extra": {
47-
"branch-alias": {
48-
"dev-master": "3.4.x-dev",
49-
"dev-develop": "3.5.x-dev",
50-
"dev-dev-4.0": "4.0.x-dev"
52+
"LaminasTest\\Code\\": "test/"
5153
}
5254
},
5355
"scripts": {
@@ -59,5 +61,8 @@
5961
"cs-fix": "phpcbf",
6062
"test": "phpunit --colors=always",
6163
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
64+
},
65+
"replace": {
66+
"zendframework/zend-code": "self.version"
6267
}
6368
}

0 commit comments

Comments
 (0)