Skip to content

Commit 44cc852

Browse files
committed
Updated
1 parent b8658c6 commit 44cc852

File tree

6 files changed

+24
-19
lines changed

6 files changed

+24
-19
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
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
@@ -39,7 +44,7 @@
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
@@ -54,12 +59,12 @@
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

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "codeception/aspect-mock",
2+
"name": "lanfix/aspect-mock",
33
"description": "Experimental Mocking Framework powered by Aspects",
44
"authors": [
55
{
@@ -13,8 +13,8 @@
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
},

src/AspectMock/Core/Mocker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace AspectMock\Core;
44

55
use AspectMock\Intercept\FunctionInjector;
6-
use Go\Aop\Aspect;
6+
use Lanfix\Aop\Aspect;
77
use AspectMock\Intercept\MethodInvocation;
88

99
class Mocker implements Aspect

src/AspectMock/Intercept/BeforeMockTransformer.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22
namespace 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

99
class BeforeMockTransformer extends WeavingTransformer
1010
{

src/AspectMock/Kernel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
use AspectMock\Core\Registry;
55
use 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;
1212
use Symfony\Component\Finder\Finder;
1313

1414
require_once __DIR__ . '/Core/Registry.php';

src/AspectMock/Proxy/ClassProxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)