Michael Bodnarchuk
58083f6ed0
A simple patch to get AspectMock and Go Aop working with Yii2
...
This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock ) and Go Aop working with Yii2.
Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working.
I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78 ) but looks like, the only option is to fix that in Yii2.
AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
12 years ago
Suralc
1ce7344e18
Additional tests in EmailValidator.
12 years ago
creocoder
02581c59e7
Make ActiveRecord::getNamespacedClass() static
12 years ago
Qiang Xue
a23f233457
enhanced the usage of StringValidator.
12 years ago
Qiang Xue
eda171e1be
Added more YII_ENV constants.
12 years ago
Qiang Xue
5d9c23c67b
Added Sort::hasAttribute().
12 years ago
Qiang Xue
f2ceef4c76
Fixes #686
12 years ago
Alexander Makarov
0645445523
fixes #677
12 years ago
Ilya Antipenko
7fd68199e5
Fix SORT_DESC comment in Query.php
12 years ago
Suralc
ec1dfeaa58
Ignoring javascript generating methods in coverage for now.
12 years ago
Suralc
fc1d2af36c
UrlValidator Tests
12 years ago
Qiang Xue
458f50acd0
typo fix
12 years ago
Qiang Xue
539be8ebaa
Refactored ListView.
12 years ago
Qiang Xue
dc893ec669
Added DataProvider::id
12 years ago
Luciano Baraglia
3c642f0b9c
Example usage consistent with other widgets [skip ci]
12 years ago
Qiang Xue
f4f57bf08b
Fixed method name display in error view.
12 years ago
Qiang Xue
0b1fad2089
Fixes #668
12 years ago
sv3tli0
89f11519ef
Fix description
12 years ago
Qiang Xue
b42f5181e7
reorganized debug panels.
12 years ago
Qiang Xue
6e851e9547
reorganized RequestPanel.
12 years ago
Qiang Xue
e96ef1f40b
removed tabindex attribute
12 years ago
Qiang Xue
3bef7365f1
Fixes #624 : renamed www to web.
12 years ago
Qiang Xue
ae287f12d6
Fixes #660 .
12 years ago
Qiang Xue
f7257e53f0
Fixes #659 .
12 years ago
Qiang Xue
64fe535e0a
Finished ListView.
12 years ago
resurtm
c98dae8430
Doc fix.
12 years ago
Qiang Xue
d1212bc73b
Support relative route in Controller::createUrl()
12 years ago
Qiang Xue
5c02038377
ListView WIP
12 years ago
Qiang Xue
39817de330
Ensure correct type.
12 years ago
Qiang Xue
3d10cb1852
Changed default value of Logger::traceLevel.
12 years ago
Qiang Xue
e433c98ed4
Fixes #599
12 years ago
Qiang Xue
e33089960f
Added call stack display for DB debug panel.
12 years ago
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
12 years ago
Qiang Xue
1f5d77790f
Fixed test breaks.
12 years ago
Qiang Xue
20bde29f58
Added typecasting for SQL insertion and update.
12 years ago
Qiang Xue
ec23b1b481
Added new boolean attributes.
12 years ago
Qiang Xue
f1ba923e91
Fixes #648 : EVENT_BEFORE_ACTION is triggered twice.
12 years ago
Qiang Xue
6f4e2c9b3c
Fixes #647
12 years ago
Qiang Xue
7eb33d65c6
Refactored Sort.
12 years ago
Alexander Makarov
02608626fb
class import cleanup
12 years ago
Alexander Makarov
69acc8f072
added missing GettextMessageSource phpdoc
12 years ago
Alexander Makarov
4abab7f1fb
short phpdoc descriptions for Panel subclasses
12 years ago
Alexander Makarov
fb31d8f6d8
added Panel phpdoc
12 years ago
Alexander Makarov
dd47668cba
added missing return tags to CaptchaAction
12 years ago
Alexander Makarov
02f8062435
fixed code style
12 years ago
Qiang Xue
203f4bfe3e
Fixes issue #643
12 years ago
Qiang Xue
78e61c9d94
Removed ListPager and refactored LinkPager and LinkSorter.
12 years ago
Carsten Brandt
6ce60c1666
added support for HTTP verb PATCH
...
To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.
issues #303 and yiisoft/yii#2664
12 years ago
Qiang Xue
9aa7b26184
Added LinkSorter.
12 years ago
Qiang Xue
ac8801bc63
Added SortTest
12 years ago