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
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<name>productcomments</name>
<displayName><![CDATA[Product Comments]]></displayName>
<version><![CDATA[8.0.1]]></version>
<version><![CDATA[9.0.0]]></version>
<description><![CDATA[Allows users to post reviews and rate products on specific criteria.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
Expand Down
2 changes: 1 addition & 1 deletion productcomments.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{
$this->name = 'productcomments';
$this->tab = 'front_office_features';
$this->version = '8.0.1';
$this->version = '9.0.0';
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->bootstrap = true;
Expand Down Expand Up @@ -944,7 +944,7 @@
$nbComments = $commentRepository->getCommentsNumber($params['object']->id, (bool) Configuration::get('PRODUCT_COMMENTS_MODERATE'));

/* @phpstan-ignore-next-line */
$params['object']->productComments = [

Check failure on line 947 in productcomments.php

View workflow job for this annotation

GitHub Actions / PHPStan (PHP 8.1 - 8.5) (develop, 8.1)

No error to ignore is reported on line 947.

Check failure on line 947 in productcomments.php

View workflow job for this annotation

GitHub Actions / PHPStan (PHP 8.1 - 8.5) (develop, 8.5)

No error to ignore is reported on line 947.
'averageRating' => $averageRating,
'nbComments' => $nbComments,
];
Expand Down
2 changes: 1 addition & 1 deletion upgrade/install-8.0.1.php → upgrade/install-9.0.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
exit;
}

function upgrade_module_8_0_1($object)
function upgrade_module_9_0_0($object)
{
return $object->registerHook('actionFrontControllerSetVariables');
}
Loading