Skip to content

Release v3.0.0#34

Merged
kpodemski merged 11 commits into
masterfrom
dev
Jun 22, 2026
Merged

Release v3.0.0#34
kpodemski merged 11 commits into
masterfrom
dev

Conversation

@mattgoud

@mattgoud mattgoud commented Jun 19, 2026

Copy link
Copy Markdown
Contributor
Questions Answers
Description? Release v3.0.0
Type? improvement
BC breaks? yes
Deprecations? no
Fixed ticket? Part of PrestaShop/PrestaShop#41648
Sponsor company ~
How to test? ~

Merge dev into master to release v3.0.0.

Includes the PrestaShop 8.2+ CI/compatibility alignment (Epic PrestaShop/PrestaShop#41648) and the module version bump to 3.0.0 (minimum PS version raised to 8.2.0 → major / BC break).

After merge, the push to master triggers the build workflow which creates a release draft with the module zip attached. ⚠️ release-drafter proposes a patch tag (v$NEXT_PATCH_VERSION) — the draft must be published as v3.0.0.

ga-devfront and others added 11 commits March 2, 2026 17:57
Replace the Docker-based phpstan.sh approach with the shared
PrestaShop/.github PHPStan action. The old approach was failing because
the prestashop/prestashop:latest Docker image now exits immediately
(due to entrypoint changes), causing "No such container: temp-ps" errors.

- Add tests/php/phpstan/ with version-specific neon configs for
  8.1.7, 8.2.x, 9.1.x and develop
- Add prepend-constants.php for PS 9.x bootstrap constants
- Replace single Docker-based phpstan job with two action-based jobs:
  phpstan-74 (PS 8.x, PHP 7.4-8.1) and phpstan (PS 9.x, PHP 8.1-8.5)
- Remove tests/phpstan.sh (no longer needed)

Fixes #ISSUE

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Suppress three pre-existing PHPStan errors exposed by the new 8.1.7/8.2.x
analysis that were not caught by the old Docker-based 1.7.x checks.
These should be addressed in a separate code-quality PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add missing blank line after <?php in index.php (php-cs-fixer)
- Add ignoreErrors for pre-existing PHPStan errors in phpstan-9.1.x.neon
  and phpstan-develop.neon (refs #31, #32)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Drop the 8.1.7 target to match the project-wide module cleanup Epic
which standardizes native modules on PS 8.2+:
- php.yml: phpstan-74 matrix now runs against 8.2.x only (PHP 7.4/8.1)
- ps_versions_compliancy min bumped to 8.2.0
- remove the now-unreferenced phpstan-8.1.7.neon config

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Resolve the 3 pre-existing PHPStan errors directly and drop all
ignoreErrors entries from the neon configs:
- remove the unused $html property (declared, never read)
- replace isset() on the non-nullable ModuleGridCore::$_direction with !empty()
- declare the executeS() row shape via @var PHPDoc so the
  avgPriceSold/totalPriceSold array offsets are recognized

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…9.0.3

- php-linter: add missing intermediate syntax checks (7.3, 8.1, 8.2, 8.3, 8.4)
- phpstan-74: lower floor to PHP 7.2 (real minimum for PS 8.2.x)
- phpstan: add PrestaShop 9.0.3 (tag, the 9.0.x branch no longer exists) + neon config

Part of PrestaShop/PrestaShop#41648

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PrestaShop 9.0.x supports PHP 8.1 up to 8.4 only, so the cross-product
matrix was generating an invalid 9.0.3 x 8.5 combination. Switch to an
explicit include list so each PrestaShop version tests its proper PHP
floor and ceiling (9.0.3: 8.1/8.4, 9.1.x and develop: 8.1/8.5). Also
make the "Prepare PHP env" step name reflect the actual matrix version.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CI: migrate PHPStan to PrestaShop/.github action
@github-project-automation github-project-automation Bot moved this to Ready for review in PR Dashboard Jun 19, 2026
@mattgoud mattgoud self-assigned this Jun 19, 2026
@mattgoud mattgoud added this to the 3.0.0 milestone Jun 19, 2026
@ps-jarvis ps-jarvis added the Waiting for QA Status: Action required, Waiting for test feedback label Jun 19, 2026
@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Jun 19, 2026
@kpodemski
kpodemski merged commit 6d3dfd7 into master Jun 22, 2026
31 of 32 checks passed
@github-project-automation github-project-automation Bot moved this from To be tested to Merged in PR Dashboard Jun 22, 2026
@kpodemski

Copy link
Copy Markdown
Contributor

No functional changes. Merged. Thanks @mattgoud

@kpodemski kpodemski added QA ✔️ Status: Check done, Code approved and removed Waiting for QA Status: Action required, Waiting for test feedback labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

QA ✔️ Status: Check done, Code approved

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants