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.
11 years ago
Suralc
1ce7344e18
Additional tests in EmailValidator.
11 years ago
Suralc
1c57661e1f
Merge branch 'add-tests' of github.com:suralc/yii2 into add-tests
11 years ago
Suralc
777ff792c4
DateValidatorTest
11 years ago
Suralc
1c6b64e717
Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest
11 years ago
creocoder
02581c59e7
Make ActiveRecord::getNamespacedClass() static
11 years ago
Qiang Xue
a23f233457
enhanced the usage of StringValidator.
11 years ago
Qiang Xue
4e1264efbc
Merge pull request #695 from Jomaanro/master
...
[doc] Correct validation rule in model
11 years ago
Qiang Xue
eda171e1be
Added more YII_ENV constants.
11 years ago
Maikel Brouwer
aaa84df0af
Correct validation rule
11 years ago
Qiang Xue
5d9c23c67b
Added Sort::hasAttribute().
11 years ago
Qiang Xue
f2ceef4c76
Fixes #686
11 years ago
Alexander Makarov
1e0decf44d
fixes #650
11 years ago
Alexander Makarov
0645445523
fixes #677
11 years ago
Alexander Makarov
18c00be6b4
Merge pull request #681 from aivus/query
...
Fix SORT_DESC comment in Query.php
11 years ago
Ilya Antipenko
7fd68199e5
Fix SORT_DESC comment in Query.php
11 years ago
Suralc
ec1dfeaa58
Ignoring javascript generating methods in coverage for now.
11 years ago
Alexander Makarov
0e9978d6c2
Merge pull request #680 from suralc/readme
...
viewRenderers -> renderers
11 years ago
Suralc
6adad3b0bb
viewRenderers -> renderers
11 years ago
Suralc
fc1d2af36c
UrlValidator Tests
11 years ago
Suralc
09c5e61462
fix test
11 years ago
Suralc
cde97847f4
BooleanValidatorTest
11 years ago
Alexander Makarov
376bddbe18
Merge pull request #678 from suralc/coveralls-impl-2
...
Coveralls.io travis settings and phpunit
11 years ago
Suralc
53cb062e8b
Update to be in-line with composer docs.
11 years ago
Suralc
e9f22eb44e
Travis-ci and phpunit config for coveralls
11 years ago
Suralc
e5cc17f94e
Add .gitkeep for coveralls reports
11 years ago
Qiang Xue
458f50acd0
typo fix
11 years ago
Alexander Makarov
860799e3b3
Merge pull request #675 from Jomaanro/master
...
Advanced app: Rename www to web in configuration
11 years ago
Maikel Brouwer
3af5c9bf38
Resolves #674 - Remove old config files
11 years ago
Maikel Brouwer
ccb2b0f609
Resolves #674
11 years ago
Qiang Xue
ef0d709f62
Merge branch 'master' of github.com:yiisoft/yii2
11 years ago
Qiang Xue
539be8ebaa
Refactored ListView.
11 years ago
Qiang Xue
b1c67b86a9
Fixed test break.
11 years ago
Qiang Xue
68d2bc2f54
Merge branch 'master' of github.com:yiisoft/yii2
11 years ago
Qiang Xue
ea9949c729
minor doc update.
11 years ago
Qiang Xue
3d91a210f9
Merge pull request #665 from DaSourcerer/travis-ci
...
Travis CI Clean-Up
11 years ago
Qiang Xue
dc893ec669
Added DataProvider::id
11 years ago
Qiang Xue
51f64ffe66
Merge pull request #670 from lucianobaraglia/upstream
...
DetailView example usage consistent with other widgets [skip ci]
11 years ago
Luciano Baraglia
3c642f0b9c
Example usage consistent with other widgets [skip ci]
11 years ago
Qiang Xue
f4f57bf08b
Fixed method name display in error view.
11 years ago
Qiang Xue
0b1fad2089
Fixes #668
11 years ago
Qiang Xue
4ff642db47
Merge pull request #667 from sv3tli0/patch-1
...
Little typo fix at errorHandler descriptions
11 years ago
sv3tli0
89f11519ef
Fix description
11 years ago
Qiang Xue
ba8c6fcc9a
Merge pull request #664 from DaSourcerer/moar-buttons
...
Add support for VersionEye dependency tracking
11 years ago
DaSourcerer
6e4879c6f6
Simplified database setup
11 years ago
DaSourcerer
a3870c2c95
Removed DB env
11 years ago
DaSourcerer
63120b301e
Added space between buttons for improved readability
11 years ago
DaSourcerer
d256cc8389
Added VersionEye button to the readme
11 years ago
Qiang Xue
cfa590375d
Merge pull request #663 from crtlib/patch-1
...
put SiteController in correct namespace in benchmark app
11 years ago
crtlib
e0b256586b
Update SiteController.php
11 years ago