Skip to content

feat: add debounce #243

feat: add debounce

feat: add debounce #243

Triggered via pull request November 30, 2023 09:09
Status Failure
Total duration 39s
Artifacts

quality-check.yml

on: pull_request
Composer validate
6s
Composer validate
PHP-CS-FIXER
17s
PHP-CS-FIXER
PHP Unit
8s
PHP Unit
Matrix: PHP Syntax check
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

19 errors
PHPStan (8.1.1): src/Repository/LiveSyncRepository.php#L12
Constructor of class PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository has an unused parameter $context.
PHPStan (8.1.1): src/Repository/LiveSyncRepository.php#L35
Cannot access offset 0 on non-empty-array|mysqli_result|PDOStatement|resource|true.
PHPStan (8.1.1): src/Repository/LiveSyncRepository.php#L46
PHPDoc tag @param for parameter $lastChangeAt with type PrestaShop\Module\PsEventbus\Repository\Date is incompatible with native type string.
PHPStan (8.1.1): src/Repository/LiveSyncRepository.php#L46
Parameter $lastChangeAt of method PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository::upsertDebounce() has invalid type PrestaShop\Module\PsEventbus\Repository\Date.
PHPStan (8.1.1): src/Service/SynchronizationService.php#L139
Method PrestaShop\Module\PsEventbus\Service\SynchronizationService::debounceLiveSync() has no return type specified.
PHPStan (8.1.1): src/Service/SynchronizationService.php#L139
Method PrestaShop\Module\PsEventbus\Service\SynchronizationService::debounceLiveSync() has parameter $shopContents with no type specified.
PHPStan (8.1.1): src/Service/SynchronizationService.php#L145
Parameter #1 $time of function strtotime expects string, array|bool|mysqli_result|PDOStatement|resource given.
PHPStan (8.1.1): src/Service/SynchronizationService.php#L153
Parameter #2 $lastChangeAt of method PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository::upsertDebounce() expects string, int|false given.
PHPStan (8.1.1)
Process completed with exit code 2.
PHPStan (1.7.8.10)
The job was canceled because "_8_1_1" failed.
PHPStan (1.7.8.10): src/Repository/LiveSyncRepository.php#L12
Constructor of class PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository has an unused parameter $context.
PHPStan (1.7.8.10): src/Repository/LiveSyncRepository.php#L35
Cannot access offset 0 on non-empty-array|mysqli_result|PDOStatement|resource.
PHPStan (1.7.8.10): src/Repository/LiveSyncRepository.php#L46
PHPDoc tag @param for parameter $lastChangeAt with type PrestaShop\Module\PsEventbus\Repository\Date is incompatible with native type string.
PHPStan (1.7.8.10): src/Repository/LiveSyncRepository.php#L46
Parameter $lastChangeAt of method PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository::upsertDebounce() has invalid type PrestaShop\Module\PsEventbus\Repository\Date.
PHPStan (1.7.8.10): src/Service/SynchronizationService.php#L139
Method PrestaShop\Module\PsEventbus\Service\SynchronizationService::debounceLiveSync() has no return type specified.
PHPStan (1.7.8.10): src/Service/SynchronizationService.php#L139
Method PrestaShop\Module\PsEventbus\Service\SynchronizationService::debounceLiveSync() has parameter $shopContents with no type specified.
PHPStan (1.7.8.10): src/Service/SynchronizationService.php#L145
Parameter #1 $time of function strtotime expects string, array|bool|mysqli_result|PDOStatement|resource given.
PHPStan (1.7.8.10): src/Service/SynchronizationService.php#L153
Parameter #2 $lastChangeAt of method PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository::upsertDebounce() expects string, int|false given.
PHPStan (1.7.8.10)
Process completed with exit code 2.