-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstanBootstrap-6.5.php
41 lines (35 loc) · 1.43 KB
/
phpstanBootstrap-6.5.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
include "./shops/6.5/vendor/autoload.php";
include "./shops/6.5/source/oxfunctions.php";
if (class_exists('\OxidEsales\Eshop\Application\Controller\OrderController') &&
!class_exists('Endereco\Oxid6Client\Controller\OrderController_parent')
) {
class_alias(
'\OxidEsales\Eshop\Application\Controller\OrderController',
'Endereco\Oxid6Client\Controller\OrderController_parent'
);
}
if (class_exists('OxidEsales\Eshop\Application\Component\UserComponent') &&
!class_exists('Endereco\Oxid6Client\Controller\UserComponent_parent')
) {
class_alias(
'OxidEsales\Eshop\Application\Component\UserComponent',
'Endereco\Oxid6Client\Controller\UserComponent_parent'
);
}
if (class_exists('OxidEsales\Eshop\Application\Model\User\UserShippingAddressUpdatableFields') &&
!class_exists('Endereco\Oxid6Client\Model\User\UserShippingAddressUpdatableFields_parent')
) {
class_alias(
'OxidEsales\Eshop\Application\Model\User\UserShippingAddressUpdatableFields',
'Endereco\Oxid6Client\Model\User\UserShippingAddressUpdatableFields_parent'
);
}
if (class_exists('OxidEsales\Eshop\Application\Model\User\UserUpdatableFields') &&
!class_exists('Endereco\Oxid6Client\Model\User\UserUpdatableFields_parent')
) {
class_alias(
'OxidEsales\Eshop\Application\Model\User\UserUpdatableFields',
'Endereco\Oxid6Client\Model\User\UserUpdatableFields_parent'
);
}