Skip to content

Commit

Permalink
Merge branch 'release/2.0.0-alpha'
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Dec 22, 2014
2 parents b4bab49 + 2a794b4 commit e6d254d
Show file tree
Hide file tree
Showing 29 changed files with 300 additions and 255 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ vendor
cache.properties
build
composer.phar
docs/demo/tmp/*
tests/tmp/*
composer.lock
tmp
20 changes: 20 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
$config = Symfony\CS\Config\Config::create();
$config->level(null);
$config->fixers(
array(
'indentation',
'linefeed',
'trailing_spaces',
'short_tag',
'visibility',
'php_closing_tag',
'braces',
'function_declaration',
'psr0',
'elseif',
'eof_ending',
'unused_use',
)
);
return $config;
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Aspect Oriented Framework for PHP
=======
# Ray.Aop

## Aspect Oriented Framework for PHP

[![Latest Stable Version](https://poser.pugx.org/ray/aop/v/stable.png)](https://packagist.org/packages/ray/aop)
[![Build Status](https://secure.travis-ci.org/koriym/Ray.Aop.png?branch=master)](http://travis-ci.org/koriym/Ray.Aop)
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/koriym/Ray.Aop/badges/quality-score.png?s=bb5414751b994336b6310caf61029ac09b907779)](https://scrutinizer-ci.com/g/koriym/Ray.Aop/)
[![Latest Unstable Version](http://img.shields.io/badge/unstable-~2.0%40dev-green.svg)](https://packagist.org/packages/ray/aop)
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/koriym/Ray.Aop/badges/quality-score.png?develop-2)](https://scrutinizer-ci.com/g/koriym/Ray.Aop/)
[![Code Coverage](https://scrutinizer-ci.com/g/koriym/Ray.Aop/badges/coverage.png?s=5604fdfae48a5a31242d3e46018515e2f30083d7)](https://scrutinizer-ci.com/g/koriym/Ray.Aop/)
[![Build Status](https://secure.travis-ci.org/koriym/Ray.Aop.png?branch=develop-2)](http://travis-ci.org/koriym/Ray.Aop)

[[Japanese]](https://github.com/koriym/Ray.Aop/blob/develop/README.ja.md)

Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"autoload": {
"psr-4": { "Ray\\Aop\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Ray\\Aop\\": "tests/" },
"psr-4": { "Ray\\Aop\\": "tests/Fake/" },
"files": ["tests/Fake/FakeAnnotateClassNoName.php"]
},
"suggest": {
"ray/di": "Guice style annotation-driven dependency injection framework"
},
Expand Down
184 changes: 0 additions & 184 deletions composer.lock

This file was deleted.

18 changes: 18 additions & 0 deletions src/AnnotatedMatcher.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
/**
* This file is part of the Ray.Aop package
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*/
namespace Ray\Aop;

final class AnnotatedMatcher extends BuiltinMatcher
{
public $annotation;

public function __construct($matcherName, array $arguments)
{
parent::__construct($matcherName, $arguments);
$this->annotation = $arguments[0];
}
}
Loading

0 comments on commit e6d254d

Please sign in to comment.