Git Product home page Git Product logo

aop's People

Contributors

alecsammon avatar asm89 avatar evandotpro avatar geraldcroes avatar juliens avatar kdambekalns avatar pangudashu avatar ralphschindler avatar siad007 avatar stealth35 avatar tyx avatar walterwoshid avatar

Stargazers

 avatar

Watchers

 avatar

aop's Issues

PHP 8.1 Support

Status: 102/145 Tests passing

Number of Tests: 145
Tests skipped: 7
Tests failed: 36
Tests passed: 102


after_returning [6/6] ✔️
  • aop_add_after_returning global function ✔️
  • aop_add_after_returning method with exception ✔️
  • aop_add_after_returning class method ✔️
  • aop_add_after_returning class method with exception ✔️
  • aop_add_after_returning static class method ✔️
  • aop_add_after_returning static class method with exception ✔️
after_throwing [6/6] ✔️
  • aop_add_after_throwing global function ✔️
  • aop_add_after_throwing method with exception ✔️
  • aop_add_after_throwing class method ✔️
  • aop_add_after_throwing class method with exception ✔️
  • aop_add_after_throwing static class method ✔️
  • aop_add_after_throwing static class method with exception ✔️
arguments_overload [6/6] ✔️
  • Args overload arguments call (try in the first around declared) ✔️
  • Args overload arguments call (try in the second around declared) ✔️
  • Common argument overload ✔️
  • Extra argument overload ✔️
  • AopJoinpoint::setArguments() set more arguments than required ✔️
  • Overload variadic argument ✔️
articles [1/1] ✔️
  • Fluent interface fun with aop ✔️
autoload [1/1] ✔️
  • No autoload for selector ✔️
bugs [6/8]
  • Two call to getTriggeringMethodName doesn't segfault ✔️
  • Call tostring is property is object
  • AOP on private property
  • AOP on private property ✔️
  • Try using finfo_open ✔️
  • Try using new finfo() ✔️
  • Try using finfo_open (may cause segmentation fault) ✔️
  • Try using finfo_open (may cause segmentation fault) ✔️
cache [0/3]
  • Test if cache is refresh
  • Test if handle number is enough and realloc if problem
  • Test if handle number is enough and realloc if problem
complete [1/1] ✔️
  • Caching example with multiple objects with advices on ✔️
consts [4/4] ✔️
  • Testing AOP_KIND_AROUND constant ✔️
  • Testing AOP_KIND_BEFORE constant ✔️
  • Testing AOP_KIND_AFTER constant ✔️
  • Testing that AOP_* consts are different ✔️
context [2/2] ✔️
  • Verify this context in method caught (private version) ✔️
  • Verify this context in method caught (public version) ✔️
docsexample [22/28]
  • Docs Example 1 ✔️
  • Docs Example 2 ✔️
  • Internal Return ✔️
  • Docs Test 0 ✔️
  • Docs Test 1 ✔️
  • Docs Test 2 ✔️
  • Docs Test 3 ✔️
  • Docs Test 4 ✔️
  • Docs Test 5 ✔️
  • Docs Test 6 ✔️
  • Docs Test 7 ✔️
  • Docs Test 8 ✔️
  • Docs Test 9 ✔️
  • Docs Test 10 ✔️
  • Docs Test 11 ✔️
  • Docs Test 12 ✔️
  • Docs Test 13 ✔️
  • Docs Test 14 ✔️
  • Docs Test 15 ✔️
  • An advice that knows you're dealing with an object's property
  • An advice that is interested only in properties writing
  • An advice that knows what happened on the hooked properties
  • An advice that updates the assigned value of a property
  • setAssignedValue
  • First doc example in aop_add_after in phpdoc ✔️
  • Pointcut syntax for functions ✔️
  • Pointcut syntax for methods ✔️
  • Test of method syntax for pointcuts ✔️
exception [1/1] ✔️
  • Exception in method caught ✔️
getargs [2/2] ✔️
  • getArguments return caught method call arguments ✔️
  • getArguments return method caught arguments (in all arounder) ✔️
getthis [2/2] ✔️
  • Method getTriggeringObject can overload public data ✔️
  • In function context getTriggeringObject return null ✔️
inheritance [6/6] ✔️
  • Not Parent class, not caught ✔️
  • Inherited class is caught (with selector on parent) ✔️
  • Inherited class is caught (with selector on child) ✔️
  • Inherited class is caught (with selector on interface on parent) ✔️
  • Inherited class is caught (with selector on interface on child) ✔️
  • Inheritance of interfaces are caught (with selector on parent interface) ✔️
ini_directives [1/1] ✔️
  • Tests if the directive aop.enable is correctly handled ✔️
issues [10/17]
  • No segfault with selector just * ✔️
  • Testing that the use of static is still enabled ✔️
  • Validate that aop does not disturb create_function
  • Exception propagation is not correct ✔️
  • Exceptions thrown by a before is caught by an around ✔️
  • Extract symbol table reset after method call ✔️
  • Private method and properties in parent class ✔️
  • Issue 34 ✔️
  • Issue 37
  • Issue 58
  • Issue 58 ✔️
  • getPropertyValue with private properties
  • getPropertyValue with protected properties
  • Absolute namespaces ✔️
  • Absolute namespaces ✔️
  • Absolute namespaces in functions ✔️
  • Absolute namespaces in functions ✔️
joker [9/9] ✔️
  • Method in selector is just a Joker ✔️
  • Function call with a Joker in selector ✔️
  • Method in selector is partial with a Joker ✔️
  • Class in selector is partial with a Joker ✔️
  • Class in selector is partial with a Joker ✔️
  • Just a joker and test no bug with recursion ✔️
  • Joker at the beginning ✔️
  • Joker at the beginning ✔️
  • Joker at the end ✔️
keywords [0/3]
  • Testing if include, include_once, require and require_once are caught
  • Testing if echo is hooked
  • Testing if print is hooked
misc [2/3]
  • Using a variable as a selector and unsetting it ✔️
  • Using a variable as a selector and updating its value ✔️
  • Trying to use an array as a selector (won't work)
ns [1/1] ✔️
  • TU on namespace ✔️
properties [1/10]
  • Test the hook on a property
  • Test the hook on a property (write only) ✔️
  • Test the hook on a property while writing data (write only)
  • Test the hook on a property read / write
  • Test the hook on a property after
  • Tests on read property (setReturnedValue)
  • Test the hook on a property while writing data (write only) after writing its value
  • Scope on write and read property
  • Accessing undefined properties
  • getPropertyValue
read_properties [0/2]
  • Read Property Test
  • Read Property Test
runtimecache [0/2]
  • Read property when use runtime cache
  • Write property when use runtime cache
scope [3/3] ✔️
  • Scope ✔️
  • Scope ✔️
  • Scope with static ✔️
simple [6/9]
  • Just an around method test (version with echo) ✔️
  • Just an around method test (version with return) ✔️
  • An around method test without call to process ✔️
  • Just an around method test (version with 2 Pointcuts) ✔️
  • Function call (exact name) ✔️
  • Testing alternative separator for selectors (-> instead of ::) ✔️
  • Testing invalid callback given to aop_add_around()
  • Testing invalid callback given to aop_add_before()
  • Testing invalid callback given to aop_add_after()
traits [1/1] ✔️
  • Traits test ✔️
write_properties [0/7]
  • Write Property Test
  • Write Property Test Test Recursion Loop
  • Write Property Selector -> ->$ :: ::$
  • Read / Write Property with inc or dec
  • Write Property Test
  • Write Property Test
  • Write General API

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.