Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.
Mainly on transactions but also some other places where some values are
reset before exiting.
Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.
fixes#12619
This section had the "under development note" for a long time and was
lacking a lot of information.
It should also contain info about `yii.js` but that is to be added in
another PR.
* Added JS tests for yii.captcha.js (#12840), fixes#13159
* Sinon needs to be imported in similar fashion in other test files
* Added according line to CHANGELOG [skip ci]
* Update CHANGELOG.md
* Try to run tests with default timeout in Travis
* Added note about JS tests to the docs [skip ci]
* Simplified tests for multiple elements (init, destroy methods)
* Closes#6242: Access to validator in inline validation
* Updated PHPDoc according to PR review [skip ci]
* Imrpoved PHPDoc, updated guide info [skip ci]
* Fixes related with PR review
* Corrected CHANGELOG [skip ci]
* Update input-validation.md
added version info
* fixes#8354 to improve docs on table prefixes
* accents
* patched silverfires comments
* Update db-active-record.md
improved wording and added link about quoting.
* fix link to DAO guide
This allows to auto-complete commands available by the `./yii`
executable on the bash by expanding the first argument with the TAB key.
E.g. Typing `./yii [TAB]` will list all commands. `./yii mig[TAB]` will
auto-complete to `./yii migrate` and tab after that will list all
migration sub-commands(actions).
fixes#475
* Added documentation about Host header attack
Added info about Host header attack (#13050) to the guide and the Request class.
When we introduce a filter or property to protect against this, these
sections should be updated to link to that option.