File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 20
20
21
21
use MetaModels \AttributeSelectBundle \Attribute \AttributeTypeFactory ;
22
22
use MetaModels \AttributeSelectBundle \Attribute \Select ;
23
+ use MetaModels \AttributeSelectBundle \FilterRule \FilterRuleSelect ;
23
24
24
25
// This hack is to load the "old locations" of the classes.
25
26
spl_autoload_register (
26
27
function ($ class ) {
27
28
static $ classes = [
28
- 'MetaModels\Attribute\Select\Select ' => Select::class,
29
- 'MetaModels\Attribute\Select\AttributeTypeFactory ' => AttributeTypeFactory::class
29
+ 'MetaModels\Attribute\Select\Select ' => Select::class,
30
+ 'MetaModels\Attribute\Select\AttributeTypeFactory ' => AttributeTypeFactory::class,
31
+ 'MetaModels\Filter\Rules\FilterRuleSelect ' => FilterRuleSelect::class,
30
32
];
31
33
32
34
if (isset ($ classes [$ class ])) {
Original file line number Diff line number Diff line change 22
22
23
23
use MetaModels \AttributeSelectBundle \Attribute \Select ;
24
24
use MetaModels \AttributeSelectBundle \Attribute \AttributeTypeFactory ;
25
+ use MetaModels \AttributeSelectBundle \FilterRule \FilterRuleSelect ;
25
26
use PHPUnit \Framework \TestCase ;
26
27
27
28
/**
@@ -38,7 +39,8 @@ class DeprecatedAutoloaderTest extends TestCase
38
39
*/
39
40
private static $ classes = [
40
41
'MetaModels\AttributeSelectBundle\Attribute\Select ' => Select::class,
41
- 'MetaModels\AttributeSelectBundle\Attribute\AttributeTypeFactory ' => AttributeTypeFactory::class
42
+ 'MetaModels\AttributeSelectBundle\Attribute\AttributeTypeFactory ' => AttributeTypeFactory::class,
43
+ 'MetaModels\Filter\Rules\FilterRuleSelect ' => FilterRuleSelect::class
42
44
];
43
45
44
46
/**
You can’t perform that action at this time.
0 commit comments