File tree Expand file tree Collapse file tree 6 files changed +24
-19
lines changed
Expand file tree Collapse file tree 6 files changed +24
-19
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ #### 4.0.0
4+
5+ * Changed php version to ^8.0
6+ * Switched goaop/framework to lanfix/goaop-framework
7+
38#### 3.0.0
49
510* Upgraded to Go AOP 2.2
3944
4045#### 0.5.3
4146
42- * Updated to goaop/ framework 0.6.x and codeception 2.1
47+ * Updated to lanfix/goaop- framework 0.6.x and codeception 2.1
4348
4449
4550#### 0.5.1
5459* Fixed mocking functions with arguments passed by reference (#34 )
5560* Fixed passing arguments by reference in InstanceProxy
5661* Debug mode can be disabled in options with ` debug => false `
57- * Updated to Go \Aop 0.5.0
62+ * Updated to Lanfix \Aop 0.5.0
5863
5964
6065#### 0.5.0-beta 05/14/2014
6166
62- * Moved to Go \Aop 0.5.x-dev
67+ * Moved to Lanfix \Aop 0.5.x-dev
6368
6469
6570#### 0.4.2 05/09/2014
Original file line number Diff line number Diff line change 11{
2- "name" : " codeception /aspect-mock" ,
2+ "name" : " lanfix /aspect-mock" ,
33 "description" : " Experimental Mocking Framework powered by Aspects" ,
44 "authors" : [
55 {
1313 }
1414 },
1515 "require" : {
16- "php" : " ^7.4 " ,
17- "goaop/ framework" : " ^3 .0" ,
16+ "php" : " ^8.0 " ,
17+ "lanfix/goaop- framework" : " ^4 .0" ,
1818 "phpunit/phpunit" : " ^9.5" ,
1919 "symfony/finder" : " >=4.4 <6.0"
2020 },
Original file line number Diff line number Diff line change 33namespace AspectMock \Core ;
44
55use AspectMock \Intercept \FunctionInjector ;
6- use Go \Aop \Aspect ;
6+ use Lanfix \Aop \Aspect ;
77use AspectMock \Intercept \MethodInvocation ;
88
99class Mocker implements Aspect
Original file line number Diff line number Diff line change 11<?php
22namespace AspectMock \Intercept ;
3- use Go \Aop \Aspect ;
4- use Go \Instrument \Transformer \StreamMetaData ;
5- use Go \Instrument \Transformer \WeavingTransformer ;
6- use Go \ParserReflection \ReflectionFile ;
7- use Go \ParserReflection \ReflectionMethod ;
3+ use Lanfix \Aop \Aspect ;
4+ use Lanfix \Instrument \Transformer \StreamMetaData ;
5+ use Lanfix \Instrument \Transformer \WeavingTransformer ;
6+ use Lanfix \ParserReflection \ReflectionFile ;
7+ use Lanfix \ParserReflection \ReflectionMethod ;
88
99class BeforeMockTransformer extends WeavingTransformer
1010{
Original file line number Diff line number Diff line change 33
44use AspectMock \Core \Registry ;
55use AspectMock \Intercept \BeforeMockTransformer ;
6- use Go \Core \AspectContainer ;
7- use Go \Core \AspectKernel ;
8- use Go \Instrument \ClassLoading \SourceTransformingLoader ;
9- use Go \Instrument \Transformer \CachingTransformer ;
10- use Go \Instrument \Transformer \FilterInjectorTransformer ;
11- use Go \Instrument \Transformer \MagicConstantTransformer ;
6+ use Lanfix \Core \AspectContainer ;
7+ use Lanfix \Core \AspectKernel ;
8+ use Lanfix \Instrument \ClassLoading \SourceTransformingLoader ;
9+ use Lanfix \Instrument \Transformer \CachingTransformer ;
10+ use Lanfix \Instrument \Transformer \FilterInjectorTransformer ;
11+ use Lanfix \Instrument \Transformer \MagicConstantTransformer ;
1212use Symfony \Component \Finder \Finder ;
1313
1414require_once __DIR__ . '/Core/Registry.php ' ;
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function traits()
124124
125125 private function getRealClass ()
126126 {
127- if (in_array ('Go \Aop\Proxy ' , $ this ->reflected ->getInterfaceNames ())) {
127+ if (in_array ('Lanfix \Aop\Proxy ' , $ this ->reflected ->getInterfaceNames ())) {
128128 return $ this ->reflected ->getParentClass ();
129129 }
130130 return $ this ->reflected ;
You can’t perform that action at this time.
0 commit comments