Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ jobs:
cd e2e/composer-version-config
composer install
../../bin/phpstan analyze test.php --level=0
- script: |
cd e2e/bug13425
timeout 15 ../bashunit -a exit_code "1" "../../bin/phpstan analyze src/ plugins/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find where is this timeout command coming from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its a linux command line tool, usually contained in stock installations.

brew install coreutils installs it on macos


steps:
- name: "Checkout"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201607 extends MobileServiceApi39
{
public const string VERSION = '2016.07';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;

class MobileServiceApi201609 extends MobileServiceApi201607
{
public const string VERSION = '2016.09';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201610 extends MobileServiceApi201609
{
public const string VERSION = '2016.10';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;
use EosUptrade\TICKeos\Plugins\SecurityFeatures\ColorFeature\ColorFeatureService;

class MobileServiceApi201612 extends MobileServiceApi201610
{
public const string VERSION = '2016.12';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;

class MobileServiceApi201703 extends MobileServiceApi201612
{
public const string VERSION = '2017.03';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201704 extends MobileServiceApi201703
{
public const string VERSION = '2017.04';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

class MobileServiceApi201706 extends MobileServiceApi201704
{
public const string VERSION = '2017.06';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201707 extends MobileServiceApi201706
{
public const string VERSION = '2017.07';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201709 extends MobileServiceApi201707
{
public const string VERSION = '2017.09';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

class MobileServiceApi201710 extends MobileServiceApi201709
{
public const string VERSION = '2017.10';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;

class MobileServiceApi201712 extends MobileServiceApi201710
{
public const string VERSION = '2017.12';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;

class MobileServiceApi201803 extends MobileServiceApi201712
{
public const string VERSION = '2018.03';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?php

use EosUptrade\TICKeos\Bundle\EtsPaymentFacadeClientBundle\Helper\BrowserType\BrowserTypeConfiguration;
use EosUptrade\TICKeos\Bundle\TICKeosCoreBundle\Domain\AnonymousCustomerSessionHandler;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Domain\Authentication\CreateAccessToken;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Domain\Certificate\LegacyCertificateProvider;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;
use EosUptrade\TICKeos\Core\Domain\Customer\CustomerDeviceManager;
use EosUptrade\TICKeos\Core\License\License;
use EosUptrade\TICKeos\Core\Repository\CustomerDeviceRepository;
use EosUptrade\TICKeos\Core\Repository\GenericRepository;
use EosUptrade\TICKeos\Core\Repository\OrderProductRepository;
use EosUptrade\TICKeos\Core\UseCase\Order\ClaimOrderProduct\ClaimOrderProduct;
use EosUptrade\TICKeos\Core\UseCase\Order\ClaimOrderProduct\ClaimOrderProductException;
use EosUptrade\TICKeos\Core\UseCase\Order\ClaimOrderProduct\ClaimOrderProductRequest;
use EosUptrade\TICKeos\Library\TickeosContracts\Repository\CustomerRepository;
use EosUptrade\TICKeos\MajorCustomer\Repository\CustomerToMajorCustomerRepository;
use EosUptrade\TICKeos\Shop\Domain\Customer\CustomerDisabledByChecker;
use Psr\Log\LoggerInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
use Symfony\Contracts\Translation\TranslatorInterface;

class MobileServiceApi201806 extends MobileServiceApi201803
{
public const string VERSION = '2018.06';

public function __construct(
sfUser $user,
AuthorizationCheckerInterface $authorizationChecker,
LegacyCertificateProvider $certificateProvider,
MobileServiceClient $client,
AnonymousCustomerSessionHandler $anonymousCustomerSessionHandler,
CustomerRepository $customerRepository,
CustomerDisabledByChecker $customerDisabledByChecker,
LoggerInterface $logger,
?BrowserTypeConfiguration $browserTypeConfiguration,
CustomerToMajorCustomerRepository $customerToMajorCustomerRepository,
protected CustomerDeviceRepository $customerDeviceRepository,
protected CustomerDeviceManager $customerDeviceManager,
protected GenericRepository $genericRepository,
protected CreateAccessToken $createAccessToken,
protected TranslatorInterface $translator,
protected ClaimOrderProduct $claimOrderProduct,
protected OrderProductRepository $orderProductRepository,
) {
parent::__construct(
$user,
$authorizationChecker,
$certificateProvider,
$client,
$anonymousCustomerSessionHandler,
$customerRepository,
$customerDisabledByChecker,
$logger,
$browserTypeConfiguration,
$customerToMajorCustomerRepository,
$customerDeviceRepository,
$customerDeviceManager,
$genericRepository
);
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use EosUptrade\TICKeos\Core\License\License;

class MobileServiceApi201807 extends \MobileServiceApi201806
{
public const string VERSION = '2018.07';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

class MobileServiceApi201809 extends \MobileServiceApi201807
{
public const string VERSION = '2018.09';


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

use EosUptrade\TICKeos\Core\Model\Service\ProductServiceType;
use EosUptrade\TICKeos\Core\Service\Product\TICKeos;

class MobileServiceApi201810 extends \MobileServiceApi201809
{
public const string VERSION = '2018.10';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201812 extends \MobileServiceApi201810
{
public const string VERSION = '2018.12';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

class MobileServiceApi201901 extends MobileServiceApi201812
{
public const string VERSION = '2019.01';



}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

class MobileServiceApi201903 extends MobileServiceApi201901
{
public const string VERSION = '2019.03';
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

class MobileServiceApi201904 extends MobileServiceApi201903
{
public const string VERSION = '2019.04';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

class MobileServiceApi201905 extends MobileServiceApi201904
{
public const string VERSION = '2019.05';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?php

declare(strict_types=1);

use Doctrine\ORM\EntityManagerInterface;
use EosUptrade\TICKeos\Bundle\EtsPaymentFacadeClientBundle\Helper\BrowserType\BrowserTypeConfiguration;
use EosUptrade\TICKeos\Bundle\OrderProcessBundle\Domain\ProcessLockService;
use EosUptrade\TICKeos\Bundle\TICKeosCoreBundle\Domain\AnonymousCustomerSessionHandler;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Domain\Authentication\CreateAccessToken;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Domain\Certificate\LegacyCertificateProvider;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Event\V2019_06\FilterCartPriceRequestEvent;
use EosUptrade\TICKeos\Core\Domain\Customer\CustomerDeviceManager;
use EosUptrade\TICKeos\Core\Repository\CustomerDeviceRepository;
use EosUptrade\TICKeos\Core\Repository\GenericRepository;
use EosUptrade\TICKeos\Core\Repository\OrderProductRepository;
use EosUptrade\TICKeos\Core\UseCase\Order\ClaimOrderProduct\ClaimOrderProduct;
use EosUptrade\TICKeos\Library\TickeosContracts\Entity\Customer;
use EosUptrade\TICKeos\Library\TickeosContracts\Repository\CustomerRepository;
use EosUptrade\TICKeos\MajorCustomer\Domain\MandatoryFieldConfiguration\MandatoryFieldsChecker;
use EosUptrade\TICKeos\MajorCustomer\Entity\MajorCustomerEmployeeMandatoryFieldsConfiguration;
use EosUptrade\TICKeos\MajorCustomer\Repository\CustomerToMajorCustomerRepository;
use EosUptrade\TICKeos\Mobile\Domain\Layout\AccountError\AccountErrorBuilder;
use EosUptrade\TICKeos\Mobile\Domain\Layout\AccountField\AccountFieldBuilder;
use EosUptrade\TICKeos\Mobile\Domain\Layout\AccountField\AccountFieldContentBuilder;
use EosUptrade\TICKeos\Mobile\Domain\Layout\LayoutBlockBuilder;
use EosUptrade\TICKeos\Shop\Domain\Customer\CustomerDisabledByChecker;
use Psr\Log\LoggerInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
use Symfony\Contracts\Translation\TranslatorInterface;

class MobileServiceApi201906 extends MobileServiceApi201905
{
public const string VERSION = '2019.06';

private const string MAJOR_CUSTOMER_EMPLOYEE = 'major_customer_employee';

public function __construct(
sfUser $user,
AuthorizationCheckerInterface $authorizationChecker,
LegacyCertificateProvider $certificateProvider,
MobileServiceClient $client,
AnonymousCustomerSessionHandler $anonymousCustomerSessionHandler,
CustomerRepository $customerRepository,
CustomerDisabledByChecker $customerDisabledByChecker,
LoggerInterface $logger,
?BrowserTypeConfiguration $browserTypeConfiguration,
protected CustomerToMajorCustomerRepository $customerToMajorCustomerRepository,
CustomerDeviceRepository $customerDeviceRepository,
CustomerDeviceManager $customerDeviceManager,
GenericRepository $genericRepository,
CreateAccessToken $createAccessToken,
protected TranslatorInterface $translator,
ClaimOrderProduct $claimOrderProduct,
OrderProductRepository $orderProductRepository,
protected EntityManagerInterface $entityManager,
protected MandatoryFieldsChecker $mandatoryFieldsChecker,
ProcessLockService $processLockService,
) {
parent::__construct(
$user,
$authorizationChecker,
$certificateProvider,
$client,
$anonymousCustomerSessionHandler,
$customerRepository,
$customerDisabledByChecker,
$logger,
$browserTypeConfiguration,
$customerToMajorCustomerRepository,
$customerDeviceRepository,
$customerDeviceManager,
$genericRepository,
$createAccessToken,
$translator,
$claimOrderProduct,
$orderProductRepository,
);
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Event\ManifestTickeosConnectServerFilterEvent;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;
use EosUptrade\TICKeos\Core\Domain\Customer\CustomerId;
use EosUptrade\TICKeos\Core\Repository\GenericRepository;

class MobileServiceApi38 extends MobileServiceApi
{
public const string VERSION = '3.8';

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php

use EosUptrade\TICKeos\Bundle\EosConnectBundle\Domain\MobileAuthMapper;
use EosUptrade\TICKeos\Bundle\EtsPaymentFacadeClientBundle\Helper\BrowserType\BrowserTypeConfiguration;
use EosUptrade\TICKeos\Bundle\TICKeosCoreBundle\Domain\AnonymousCustomerSessionHandler;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Domain\Certificate\LegacyCertificateProvider;
use EosUptrade\TICKeos\Bundle\TICKeosMobileBundle\Exception\MobileServiceException;
use EosUptrade\TICKeos\Core\Domain\Customer\CustomerDeviceManager;
use EosUptrade\TICKeos\Core\Domain\Customer\CustomerId;
use EosUptrade\TICKeos\Core\Domain\Customer\DeviceNotSavedException;
use EosUptrade\TICKeos\Core\Repository\CustomerDeviceRepository;
use EosUptrade\TICKeos\Core\Repository\GenericRepository;
use EosUptrade\TICKeos\Library\TickeosContracts\Repository\CustomerRepository;
use EosUptrade\TICKeos\MajorCustomer\Repository\CustomerToMajorCustomerRepository;
use EosUptrade\TICKeos\Shop\Domain\Customer\CustomerDisabledByChecker;
use Psr\Log\LoggerInterface;
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;

class MobileServiceApi39 extends MobileServiceApi38
{
public const string VERSION = '3.9';


public function __construct(
sfUser $user,
AuthorizationCheckerInterface $authorizationChecker,
LegacyCertificateProvider $certificateProvider,
MobileServiceClient $client,
AnonymousCustomerSessionHandler $anonymousCustomerSessionHandler,
CustomerRepository $customerRepository,
CustomerDisabledByChecker $customerDisabledByChecker,
LoggerInterface $logger,
?BrowserTypeConfiguration $browserTypeConfiguration,
protected CustomerToMajorCustomerRepository $customerToMajorCustomerRepository,
protected CustomerDeviceRepository $customerDeviceRepository,
protected CustomerDeviceManager $customerDeviceManager,
protected GenericRepository $genericRepository,
) {
parent::__construct(
$user,
$authorizationChecker,
$certificateProvider,
$client,
$anonymousCustomerSessionHandler,
$customerRepository,
$customerDisabledByChecker,
$logger,
$browserTypeConfiguration
);
}
}
Loading
Loading