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.
2013-07-31 22:39:13 +03:00
2013-07-31 07:18:59 -04:00
2013-07-28 11:49:46 -04:00
2013-07-29 16:30:45 +02:00
2013-05-19 14:57:00 -04:00

Yii 2.0 Public Preview

Thank you for choosing Yii - a high-performance component-based PHP framework.

If you are looking for a production-ready PHP framework, please use Yii v1.1.

Yii 2.0 is still under heavy development. We may make significant changes without prior notices. Yii 2.0 is not ready for production use yet.

Build Status Dependency Status

DIRECTORY STRUCTURE

  apps/                ready-to-use Web apps built on Yii 2
      advanced/        advanced app template with complex features
      basic/           a simple app supporting user login and contact page
      benchmark/       app demonstrating the minimal overhead introduced by the framework
  build/               internally used build tools
  docs/                documentation
  extensions/          extensions 
  framework/           framework files
      yii/             framework source files
  tests/               tests of the core framework code

REQUIREMENTS

The minimum requirement by Yii is that your Web server supports PHP 5.3.?.

DOCUMENTATION

For 1.1 users, you may refer to Upgrading from Yii 1.1 to have a general idea of what has changed in 2.0.

We are writing more documentation to get you started and learn more in depth.

HOW TO PARTICIPATE

Your participation to Yii 2 development is very welcome!

You may participate in the following ways:

  • Report issues
  • Give us feedback or start a design discussion
  • Fix issues, develop features, write/polish documentation
    • Before you start, please adopt an existing issue (labelled with "ready for adoption") or start a new one to avoid duplicated efforts.
    • Please submit a merge request after you finish development.
Description
Yii 2: The Fast, Secure and Professional PHP Framework
Readme 165 MiB
Languages
PHP 95.9%
JavaScript 3.4%
PLSQL 0.3%
TSQL 0.2%
HTML 0.2%