Skip to content

Commit c2e5aff

Browse files
committed
Merge pull request #515 from phalcon/2.0.x
2.0.8
2 parents 66b628c + 777b593 commit c2e5aff

File tree

424 files changed

+37698
-534
lines changed

Some content is hidden

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

424 files changed

+37698
-534
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
# Contributing to Phalcon Developer Tools
22

3-
Phalcon Developer Tools is an open source project and a volunteer effort. Phalcon Developer Tools welcomes contribution from everyone.
3+
Phalcon Developer Tools is an open source project and a volunteer effort.
44

5-
Contributions to Phalcon Developer Tools should be made in the form of GitHub pull requests. *We only accept bug reports, new feature requests and pull requests in GitHub*.
5+
We are welcome contribution from everyone. Contributions to Phalcon Developer Tools should be made in the form of GitHub [pull requests][0].
6+
*We only accept bug reports, new feature requests and pull requests in GitHub*.
67

7-
IDE stubs must not be modified manually, if you want to improve them please submit a PR to [cphalcon](https://github.com/phalcon/cphalcon).
8+
IDE stubs must not be modified manually, if you want to improve them please submit a PR to [cphalcon][1].
89

910
## Getting Support
1011

11-
For questions regarding the usage of the framework or support requests please visit the [official forums](http://forum.phalconphp.com/).
12+
For questions regarding the usage of the Phalcon Developer Tools or support requests please visit the [official forums][2].
1213

1314
## Requesting Features
1415

15-
If you have a change or new feature in mind, please fill an [NFR](https://github.com/phalcon/cphalcon/wiki/New-Feature-Request---NFR).
16+
If you have a change or new feature in mind, please fill an [NFR][3].
1617

1718
Thanks! <br />
1819
Phalcon Team
20+
21+
22+
[0]: https://help.github.com/articles/using-pull-requests/
23+
[1]: https://github.com/phalcon/cphalcon
24+
[2]: http://forum.phalconphp.com/
25+
[3]: https://github.com/phalcon/cphalcon/wiki/New-Feature-Request---NFR

README.md

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -77,30 +77,11 @@ chmod +xr ./phalcon.phar
7777
php ./phalcon.phar
7878
```
7979

80-
## Installation via PEAR
80+
## Installation via Git
8181

82-
Phalcon Devtools can be installed using PEAR. Since the current version of Devtools
83-
is in beta state, you might need to update your PEAR config. You can execute following to check
84-
your current state:
82+
Phalcon Devtools can be installed by using Git.
8583

86-
```bash
87-
pear config-show | grep preferred_state | awk '{split($0, s, " "); print s[5]}'
88-
```
89-
90-
If it prints "stable" you need to set the preferred_state to beta:
91-
92-
```bash
93-
pear config-set preferred_state beta
94-
```
95-
96-
After that just discover the channel and install the package:
97-
98-
```bash
99-
pear channel-discover pear.phalconphp.com
100-
pear install phalcon/Devtools
101-
```
102-
103-
Alternatively you can just clone the repo and checkout the current branch
84+
Just clone the repo and checkout the current branch:
10485

10586
```bash
10687
cd ~
@@ -122,26 +103,26 @@ chmod ugo+x /usr/bin/phalcon
122103
To get a list of available commands just execute following:
123104

124105
```bash
125-
$ phalcon commands
106+
$ phalcon commands help
126107
```
127108

128109
This command should display something similar to:
129110

130111
```bash
131-
Phalcon DevTools (2.0.7)
112+
Phalcon DevTools (2.0.8)
132113

133114
Help:
134115
Lists the commands available in Phalcon devtools
135116

136117
Available commands:
137-
commands (alias of: list, enumerate)
138-
controller (alias of: create-controller)
139-
model (alias of: create-model)
140-
all-models (alias of: create-all-models)
141-
project (alias of: create-project)
142-
scaffold (alias of: create-scaffold)
143-
migration (alias of: create-migration)
144-
webtools (alias of: create-webtools)
118+
commands (alias of: list, enumerate)
119+
controller (alias of: create-controller)
120+
model (alias of: create-model)
121+
all-models (alias of: create-all-models)
122+
project (alias of: create-project)
123+
scaffold (alias of: create-scaffold)
124+
migration (alias of: create-migration)
125+
webtools (alias of: create-webtools)
145126
```
146127

147128
## Update WebTools from old version
@@ -182,4 +163,7 @@ $config = [
182163

183164
## License
184165

185-
Phalcon Developer Tools is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more.
166+
Phalcon Developer Tools is open source software licensed under the [New BSD License][1].
167+
© Phalcon Framework Team and contributors
168+
169+
[1]: https://github.com/phalcon/phalcon-devtools/blob/master/docs/LICENSE.md

box.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"directories": "resources",
2+
"directories": [
3+
"resources",
4+
"scripts",
5+
"templates"
6+
],
37
"files": "webtools.php",
48
"finder": [
59
{
@@ -9,16 +13,11 @@
913
"LICENSE",
1014
"phalcon.bat",
1115
"phalcon.sh"
12-
],
13-
"in": "scripts",
14-
"name": [
15-
"*.phtml",
16-
"*.php"
1716
]
1817
}
1918
],
2019
"git-version": "git_tag",
2120
"main": "phalcon.php",
2221
"output": "phalcon.phar",
2322
"stub": true
24-
}
23+
}

docs/LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
New BSD License
2+
---------------
3+
4+
Copyright (c) 2011-2015, Phalcon Team
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions are met:
9+
* Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
* Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
* Neither the name of the Phalcon Team nor the
15+
names of its contributors may be used to endorse or promote products
16+
derived from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL "PHALCON TEAM" BE LIABLE FOR ANY
22+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ide/2.0.7/Phalcon/FilterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function add($name, $handler);
2323
*
2424
* @param mixed $value
2525
* @param mixed $filters
26-
* @return variable
26+
* @return mixed
2727
*/
2828
public function sanitize($value, $filters);
2929

ide/2.0.7/Phalcon/Registry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public final function offsetExists($offset) {}
6565
* Returns an index in the registry
6666
*
6767
* @param string $offset
68-
* @return variable
68+
* @return mixed
6969
*/
7070
public final function offsetGet($offset) {}
7171

@@ -132,7 +132,7 @@ public final function __set($key, $value) {}
132132
* Returns an index in the registry
133133
*
134134
* @param string $key
135-
* @return variable
135+
* @return mixed
136136
*/
137137
public final function __get($key) {}
138138

ide/2.0.7/Phalcon/acl/Resource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public function getName() {}
3232

3333
/**
3434
* Resource name
35+
*
36+
* @return string
3537
*/
3638
public function __toString() {}
3739

ide/2.0.7/Phalcon/acl/Role.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public function getName() {}
3232

3333
/**
3434
* Role name
35+
*
36+
* @return string
3537
*/
3638
public function __toString() {}
3739

ide/2.0.7/Phalcon/assets/Collection.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,4 @@ public function getRealTargetPath($basePath) {}
265265
*/
266266
public function addFilter(\Phalcon\Assets\FilterInterface $filter) {}
267267

268-
269-
function zephir_init_properties_Phalcon_Assets_Collection() {}
270-
271268
}

ide/2.0.7/Phalcon/db/RawValue.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public function getValue() {}
3232

3333
/**
3434
* Raw value without quoting or formating
35+
*
36+
* @return string
3537
*/
3638
public function __toString() {}
3739

0 commit comments

Comments
 (0)