Skip to content

Commit

Permalink
Merge pull request #515 from phalcon/2.0.x
Browse files Browse the repository at this point in the history
2.0.8
  • Loading branch information
sergeyklay committed Sep 25, 2015
2 parents 66b628c + 777b593 commit c2e5aff
Show file tree
Hide file tree
Showing 424 changed files with 37,698 additions and 534 deletions.
17 changes: 12 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
# Contributing to Phalcon Developer Tools

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

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*.
We are welcome contribution from everyone. Contributions to Phalcon Developer Tools should be made in the form of GitHub [pull requests][0].
*We only accept bug reports, new feature requests and pull requests in GitHub*.

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

## Getting Support

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

## Requesting Features

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

Thanks! <br />
Phalcon Team


[0]: https://help.github.com/articles/using-pull-requests/
[1]: https://github.com/phalcon/cphalcon
[2]: http://forum.phalconphp.com/
[3]: https://github.com/phalcon/cphalcon/wiki/New-Feature-Request---NFR
50 changes: 17 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,30 +77,11 @@ chmod +xr ./phalcon.phar
php ./phalcon.phar
```

## Installation via PEAR
## Installation via Git

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

```bash
pear config-show | grep preferred_state | awk '{split($0, s, " "); print s[5]}'
```

If it prints "stable" you need to set the preferred_state to beta:

```bash
pear config-set preferred_state beta
```

After that just discover the channel and install the package:

```bash
pear channel-discover pear.phalconphp.com
pear install phalcon/Devtools
```

Alternatively you can just clone the repo and checkout the current branch
Just clone the repo and checkout the current branch:

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

```bash
$ phalcon commands
$ phalcon commands help
```

This command should display something similar to:

```bash
Phalcon DevTools (2.0.7)
Phalcon DevTools (2.0.8)

Help:
Lists the commands available in Phalcon devtools

Available commands:
commands (alias of: list, enumerate)
controller (alias of: create-controller)
model (alias of: create-model)
all-models (alias of: create-all-models)
project (alias of: create-project)
scaffold (alias of: create-scaffold)
migration (alias of: create-migration)
webtools (alias of: create-webtools)
commands (alias of: list, enumerate)
controller (alias of: create-controller)
model (alias of: create-model)
all-models (alias of: create-all-models)
project (alias of: create-project)
scaffold (alias of: create-scaffold)
migration (alias of: create-migration)
webtools (alias of: create-webtools)
```

## Update WebTools from old version
Expand Down Expand Up @@ -182,4 +163,7 @@ $config = [

## License

Phalcon Developer Tools is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more.
Phalcon Developer Tools is open source software licensed under the [New BSD License][1].
© Phalcon Framework Team and contributors

[1]: https://github.com/phalcon/phalcon-devtools/blob/master/docs/LICENSE.md
13 changes: 6 additions & 7 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"directories": "resources",
"directories": [
"resources",
"scripts",
"templates"
],
"files": "webtools.php",
"finder": [
{
Expand All @@ -9,16 +13,11 @@
"LICENSE",
"phalcon.bat",
"phalcon.sh"
],
"in": "scripts",
"name": [
"*.phtml",
"*.php"
]
}
],
"git-version": "git_tag",
"main": "phalcon.php",
"output": "phalcon.phar",
"stub": true
}
}
27 changes: 27 additions & 0 deletions docs/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
New BSD License
---------------

Copyright (c) 2011-2015, Phalcon Team
All rights reserved.

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.
* Neither the name of the Phalcon Team 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
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL "PHALCON TEAM" BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion ide/2.0.7/Phalcon/FilterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function add($name, $handler);
*
* @param mixed $value
* @param mixed $filters
* @return variable
* @return mixed
*/
public function sanitize($value, $filters);

Expand Down
4 changes: 2 additions & 2 deletions ide/2.0.7/Phalcon/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public final function offsetExists($offset) {}
* Returns an index in the registry
*
* @param string $offset
* @return variable
* @return mixed
*/
public final function offsetGet($offset) {}

Expand Down Expand Up @@ -132,7 +132,7 @@ public final function __set($key, $value) {}
* Returns an index in the registry
*
* @param string $key
* @return variable
* @return mixed
*/
public final function __get($key) {}

Expand Down
2 changes: 2 additions & 0 deletions ide/2.0.7/Phalcon/acl/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public function getName() {}

/**
* Resource name
*
* @return string
*/
public function __toString() {}

Expand Down
2 changes: 2 additions & 0 deletions ide/2.0.7/Phalcon/acl/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public function getName() {}

/**
* Role name
*
* @return string
*/
public function __toString() {}

Expand Down
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/assets/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,4 @@ public function getRealTargetPath($basePath) {}
*/
public function addFilter(\Phalcon\Assets\FilterInterface $filter) {}


function zephir_init_properties_Phalcon_Assets_Collection() {}

}
2 changes: 2 additions & 0 deletions ide/2.0.7/Phalcon/db/RawValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public function getValue() {}

/**
* Raw value without quoting or formating
*
* @return string
*/
public function __toString() {}

Expand Down
2 changes: 1 addition & 1 deletion ide/2.0.7/Phalcon/http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function getBestAccept() {}
/**
* Gets a charsets array and their quality accepted by the browser/client from _SERVER["HTTP_ACCEPT_CHARSET"]
*
* @return variable
* @return mixed
*/
public function getClientCharsets() {}

Expand Down
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/http/response/Headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,4 @@ public function toArray() {}
*/
public static function __set_state($data) {}


function zephir_init_properties_Phalcon_Http_Response_Headers() {}

}
5 changes: 1 addition & 4 deletions ide/2.0.7/Phalcon/mvc/model/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getOptions() {}
*
* @param string $option
* @param mixed $defaultValue
* @return variable
* @return mixed
*/
public function getOption($option, $defaultValue = "") {}

Expand All @@ -62,7 +62,4 @@ public function getOption($option, $defaultValue = "") {}
*/
public function isSetOption($option) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,4 @@ class Email extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Model\V
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Email() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Exclusionin.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ class Exclusionin extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\M
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Exclusionin() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Inclusionin.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ class Inclusionin extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\M
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Inclusionin() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,4 @@ class Ip extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Model\Vali
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Ip() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Numericality.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,4 @@ class Numericality extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Numericality() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/PresenceOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ class PresenceOf extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Mo
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_PresenceOf() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Regex.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,4 @@ class Regex extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Model\V
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Regex() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/StringLength.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,4 @@ class StringLength extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_StringLength() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Uniqueness.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,4 @@ class Uniqueness extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Mo
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Uniqueness() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/mvc/model/validator/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,4 @@ class Url extends \Phalcon\Mvc\Model\Validator implements \Phalcon\Mvc\Model\Val
*/
public function validate(\Phalcon\Mvc\EntityInterface $record) {}


function zephir_init_properties_Phalcon_Mvc_Model_Validator_Url() {}

}
3 changes: 0 additions & 3 deletions ide/2.0.7/Phalcon/translate/adapter/Csv.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,4 @@ public function query($index, $placeholders = null) {}
*/
public function exists($index) {}


function zephir_init_properties_Phalcon_Translate_Adapter_Csv() {}

}
2 changes: 1 addition & 1 deletion ide/2.0.7/Phalcon/validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function hasOption($key) {}
*
* @param string $key
* @param mixed $defaultValue
* @return variable
* @return mixed
*/
public function getOption($key, $defaultValue = null) {}

Expand Down
2 changes: 1 addition & 1 deletion ide/2.0.7/Phalcon/validation/ValidatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function hasOption($key);
*
* @param string $key
* @param mixed $defaultValue
* @return variable
* @return mixed
*/
public function getOption($key, $defaultValue = null);

Expand Down
Loading

0 comments on commit c2e5aff

Please sign in to comment.