Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
eaa16a3
Bump lodash from 4.17.21 to 4.17.23
dependabot[bot] Jan 22, 2026
16a068b
Change "data" column from TEXT to LONGTEXT in layered_filter_block table
Prestaplugins Jan 27, 2026
d2216ad
switched to external ci actions
tleon Jan 28, 2026
2d6e9b1
Merge pull request #1205 from tleon/Fix-phpstan-ci
jolelievre Jan 28, 2026
e5f0ae7
Merge pull request #1203 from Prestaplugins/dev
jf-viguier Jan 29, 2026
60cea75
Bump webpack from 5.97.1 to 5.105.0
dependabot[bot] Feb 7, 2026
931bf7a
Merge pull request #1207 from PrestaShop/dependabot/npm_and_yarn/webp…
kpodemski Feb 7, 2026
ea09b3e
Merge pull request #1200 from PrestaShop/dependabot/npm_and_yarn/loda…
kpodemski Feb 7, 2026
d3d07b4
github: new workflow to add issue to project
ga-devfront Mar 2, 2026
fd6ad30
Merge pull request #1219 from ga-devfront/github/add-issue-to-project
jolelievre Mar 3, 2026
3f5430c
Change ugly "Sales, highest to lowest" to "Best sales"
jf-viguier Mar 5, 2026
cbf338e
Refactor out_of_stock filter conditions for availability
PululuK Apr 15, 2026
c88ae20
Merge pull request #1224 from PululuK Refactor out_of_stock filter co…
jf-viguier May 21, 2026
74cac20
Revert PR 1224
Hlavtox May 21, 2026
b4c37ee
Merge pull request #1231 from Hlavtox/revert-1224
kpodemski May 22, 2026
4fb2399
Fix PHPStan failures and update CI PHPStan matrix
claude Jun 1, 2026
36b0162
Fix remaining PHPStan errors across all PS version configs
claude Jun 1, 2026
4a51aad
remove 9.0.x, branch not supported anymore
jf-viguier Jun 1, 2026
8bee574
change minimum supported version from 1.7.7 to 8.1.0
jf-viguier Jun 1, 2026
0a9b740
Merge pull request #1233 from jf-viguier/fix/phpstan-ci-matrix
mattgoud Jun 2, 2026
cfadb10
Convert selected price and weight filters to floats
clotairer Jun 9, 2026
e34984f
Merge pull request #1220 from jf-viguier/namingbestsales
Touxten Jun 10, 2026
1c67c09
Align CI/CD with PrestaShop issue #41648
jf-viguier Jun 10, 2026
12c3528
Merge pull request #1237 from clotairer/patch-1
jf-viguier Jun 17, 2026
120e4a5
Merge pull request #1238 from jf-viguier/ci/align-with-issue-41648
kpodemski Jun 19, 2026
52046b1
CI: add PHPStan job targeting PrestaShop 9.0.3 (Epic #41648)
mattgoud Jun 19, 2026
ddf10ba
Fix PHPStan errors instead of suppressing them (Epic #41648)
mattgoud Jun 19, 2026
8b7e8ed
Fix PHPStan strict-comparison error in updateQueryString()
mattgoud Jun 19, 2026
b09533c
Remove remaining ignoreErrors and clean up unused foreach variables
mattgoud Jun 19, 2026
522a746
Align module on PrestaShop 8.2+ minimum and bump version to 5.0.0 (Ep…
mattgoud Jun 19, 2026
14ee4e1
Preserve GROUP BY in getCurrencies() during price indexation
mattgoud Jun 19, 2026
3389062
Bump @babel/core from 7.28.5 to 7.29.7
dependabot[bot] Jun 22, 2026
9fad5ed
Bump webpack from 5.105.0 to 5.107.2
dependabot[bot] Jun 22, 2026
e90376d
Bump css-loader from 7.1.2 to 7.1.4
dependabot[bot] Jun 22, 2026
3358a70
Bump @babel/preset-env from 7.25.8 to 7.29.7
dependabot[bot] Jun 22, 2026
1016173
Merge pull request #1249 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jun 22, 2026
98f33eb
Merge pull request #1250 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jun 22, 2026
8ec4dc8
Merge pull request #1247 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jun 22, 2026
36b9c4c
Merge pull request #1251 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jun 22, 2026
3725298
Bump js-yaml and mocha
dependabot[bot] Jun 22, 2026
4dcbbf9
Bump babel-loader from 10.0.0 to 10.1.1
dependabot[bot] Jun 23, 2026
077bbdf
Merge pull request #1254 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jun 24, 2026
7bbc176
Merge pull request #1252 from PrestaShop/dependabot/npm_and_yarn/mult…
kpodemski Jun 24, 2026
c5dcfbc
Merge pull request #1241 from mattgoud/fix-ci-add-9.0.x-phpstan
mattgoud Jun 29, 2026
9df4518
Assign language to the facets template so theme overrides can read it
boo-code Jun 26, 2026
57151ae
Bump webpack from 5.107.2 to 5.108.4
dependabot[bot] Jul 6, 2026
59bcf24
Merge pull request #1257 from boo-code/fix/assign-language-to-facets-…
mattgoud Jul 6, 2026
4c46529
Merge pull request #1266 from PrestaShop/dependabot/npm_and_yarn/dev/…
kpodemski Jul 6, 2026
2750aae
Merge branch 'master' into dev
jolelievre Jul 6, 2026
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
13 changes: 13 additions & 0 deletions .github/workflows/add-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add Issue to Project

on:
issues:
types: [ opened ]

jobs:
add-to-project:
uses: PrestaShop/.github/.github/workflows/reusable-add-to-project.yml@master
with:
project-number: 47
secrets:
TOKEN: ${{ secrets.JARVIS_TOKEN }}
133 changes: 82 additions & 51 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.1.0

- name: PHP syntax checker 7.1
uses: prestashop/github-action-php-lint/7.1@master
uses: actions/checkout@v6

- name: PHP syntax checker 7.2
uses: prestashop/github-action-php-lint/7.2@master
Expand All @@ -35,61 +32,95 @@ jobs:
- name: PHP syntax checker 8.4
uses: prestashop/github-action-php-lint/8.4@master

- name: PHP syntax checker 8.5
uses: prestashop/github-action-php-lint/8.5@master

# Check the PHP code follow the coding standards
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
- name: Run PHP-CS-Fixer
uses: PrestaShop/.github/.github/actions/php-ci/php-cs@master
with:
php-version: '7.4'
php-version: '7.4'

- name: Checkout
uses: actions/checkout@v3.1.0

- name: Cache dependencies
uses: actions/cache@v3
# Run PHPStan against the module (PHP 7.4 – 8.1)
phpstan-74:
name: PHPStan (PHP 7.4 - 8.1)
runs-on: ubuntu-latest
strategy:
matrix:
presta_version: ['8.2.x']
php_version: ['7.4', '8.1']
fail-fast: false
env:
PHPRC: ${{ github.workspace }}/${{ github.event.repository.name }}/.phpstan-php-ini
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
path: vendor
key: php-${{ hashFiles('composer.lock') }}

- name: Install dependencies
run: composer install

- name: Run PHP-CS-Fixer
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff --using-cache=no

# Run PHPStan against the module and a PrestaShop release
path: ${{ github.event.repository.name }}

- name: Prepare PHP env for PrestaShop 8 (define constants before any bootstrap)
run: |
mkdir -p ${{ github.event.repository.name }}/.phpstan-php-ini
{
echo "auto_prepend_file=$GITHUB_WORKSPACE/${{ github.event.repository.name }}/tests/php/phpstan/prepend-constants.php"
echo "memory_limit=512M"
} > ${{ github.event.repository.name }}/.phpstan-php-ini/php.ini

- name: Run PHPStan
uses: PrestaShop/.github/.github/actions/php-ci/phpstan@master
with:
php-version: ${{ matrix.php_version }}
presta-version: ${{ matrix.presta_version }}
module-name: ${{ github.event.repository.name }}
phpstan-level: '5'
phpstan-config: tests/php/phpstan/phpstan-${{ matrix.presta_version }}.neon
phpstan-version: '^0.12'
composer-version: '2.2.18'

# Run PHPStan against the module (PHP 8.1 – 8.5)
phpstan:
name: PHPStan
runs-on: ubuntu-latest
strategy:
matrix:
presta-versions: ['1.7.6', '1.7.7', '1.7.8', 'latest']
steps:
- name: Checkout
uses: actions/checkout@v3.1.0

# Add vendor folder in cache to make next builds faster
- name: Cache vendor folder
uses: actions/cache@v3
with:
path: vendor
key: php-${{ hashFiles('composer.lock') }}

# Add composer local folder in cache to make next builds faster
- name: Cache composer folder
uses: actions/cache@v3
with:
path: ~/.composer/cache
key: php-composer-cache

- run: composer install

# Docker images prestashop/prestashop may be used, even if the shop remains uninstalled
- name: Execute PHPStan on PrestaShop (Tag ${{ matrix.presta-versions }})
run: ./tests/php/phpstan.sh ${{ matrix.presta-versions }}
name: PHPStan (PHP 8.1 - 8.5)
runs-on: ubuntu-latest
strategy:
matrix:
include:
# PrestaShop 9.0.x supports PHP 8.1 up to 8.4 (8.5 is not supported)
- { presta_version: '9.0.3', php_version: '8.1' }
- { presta_version: '9.0.3', php_version: '8.4' }
# PrestaShop 9.1.x and develop support PHP 8.1 up to 8.5
- { presta_version: '9.1.x', php_version: '8.1' }
- { presta_version: '9.1.x', php_version: '8.5' }
- { presta_version: 'develop', php_version: '8.1' }
- { presta_version: 'develop', php_version: '8.5' }
fail-fast: false
env:
PHPRC: ${{ github.workspace }}/${{ github.event.repository.name }}/.phpstan-php-ini
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
path: ${{ github.event.repository.name }}

- name: Prepare PHP env for PrestaShop ${{ matrix.presta_version }} (define constants before any bootstrap)
run: |
mkdir -p ${{ github.event.repository.name }}/.phpstan-php-ini
{
echo "auto_prepend_file=$GITHUB_WORKSPACE/${{ github.event.repository.name }}/tests/php/phpstan/prepend-constants.php"
echo "memory_limit=512M"
} > ${{ github.event.repository.name }}/.phpstan-php-ini/php.ini

- name: Run PHPStan
uses: PrestaShop/.github/.github/actions/php-ci/phpstan@master
with:
php-version: ${{ matrix.php_version }}
presta-version: ${{ matrix.presta_version }}
module-name: ${{ github.event.repository.name }}
phpstan-level: '5'
phpstan-config: tests/php/phpstan/phpstan-${{ matrix.presta_version }}.neon

phpunit:
name: PHPUnit
Expand All @@ -102,7 +133,7 @@ jobs:
coverage: xdebug

- name: Checkout
uses: actions/checkout@v3.1.0
uses: actions/checkout@v6

# Add vendor folder in cache to make next builds faster
- name: Cache vendor folder
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
config_*.xml
.php_cs.cache
.idea
# PHPStan 9.x CI: custom php.ini directory (generated in workflow)
.phpstan-php-ini/
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>ps_facetedsearch</name>
<displayName><![CDATA[Faceted search]]></displayName>
<version><![CDATA[4.0.4]]></version>
<version><![CDATA[5.0.0]]></version>
<description><![CDATA[Displays a block allowing multiple filters.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[front_office_features]]></tab>
Expand Down
Loading
Loading