Skip to content

Commit 2ffa111

Browse files
committed
Configure shop 7.3 dependencies
Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
1 parent e220691 commit 2ffa111

6 files changed

Lines changed: 26 additions & 34 deletions

File tree

.github/fresh-advance/module-invoice.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ install:
1212
{
1313
"require": {
1414
"oxid-esales/oxideshop-ce": "{{ .Data.global.composer.dev_ref }}",
15+
"oxid-esales/twig-component": "{{ .Data.install.composer.dev_ref }}",
1516
"oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
16-
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}",
17-
"symfony/filesystem": "v6.4.3"
17+
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}"
1818
}
1919
}
2020
custom_script_container: |
@@ -60,4 +60,4 @@ sonarcloud:
6060
-Dsonar.scm.provider=git
6161
-Dsonar.sources=src
6262
-Dsonar.tests=tests
63-
-Dsonar.branch.target=b-7.2.x
63+
-Dsonar.branch.target=b-7.3.x

.github/workflows/dispatch_module.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ on:
77
type: choice
88
options:
99
- 'no'
10-
- 'PHP8.0/MySQL5.7'
11-
- 'PHP8.0/MySQL8.0'
12-
- 'PHP8.0/MariaDB11'
13-
- 'PHP8.1/MySQL5.7'
14-
- 'PHP8.1/MySQL8.0'
15-
- 'PHP8.1/MariaDB11'
1610
- 'PHP8.2/MySQL5.7'
1711
- 'PHP8.2/MySQL8.0'
1812
- 'PHP8.2/MariaDB11'
1913
- 'PHP8.3/MySQL5.7'
2014
- 'PHP8.3/MySQL8.0'
2115
- 'PHP8.3/MariaDB11'
22-
default: 'PHP8.1/MySQL8.0'
16+
- 'PHP8.4/MySQL5.7'
17+
- 'PHP8.4/MySQL8.0'
18+
- 'PHP8.4/MariaDB11'
19+
default: 'PHP8.3/MySQL8.0'
2320
description: 'Limit to one PHP/MySQL combination'
2421

2522
jobs:
@@ -34,22 +31,19 @@ jobs:
3431
# shellcheck disable=SC2088
3532
case "${{ inputs.limit }}" in
3633
"no") LIMIT='';;
37-
"PHP8.0/MySQL5.7") LIMIT='~/defaults/php8.0_mysql5.7_only.yaml,' ;;
38-
"PHP8.0/MySQL8.0") LIMIT='~/defaults/php8.0_mysql8.0_only.yaml,' ;;
39-
"PHP8.0/MariaDB11") LIMIT='~/defaults/php8.0_mariadb11_only.yaml,' ;;
40-
"PHP8.1/MySQL5.7") LIMIT='~/defaults/php8.1_mysql5.7_only.yaml,' ;;
41-
"PHP8.1/MySQL8.0") LIMIT='~/defaults/php8.1_mysql8.0_only.yaml,' ;;
42-
"PHP8.1/MariaDB11") LIMIT='~/defaults/php8.1_mariadb11_only.yaml,' ;;
4334
"PHP8.2/MySQL5.7") LIMIT='~/defaults/php8.2_mysql5.7_only.yaml,' ;;
4435
"PHP8.2/MySQL8.0") LIMIT='~/defaults/php8.2_mysql8.0_only.yaml,' ;;
4536
"PHP8.2/MariaDB11") LIMIT='~/defaults/php8.2_mariadb11_only.yaml,' ;;
4637
"PHP8.3/MySQL5.7") LIMIT='~/defaults/php8.3_mysql5.7_only.yaml,' ;;
4738
"PHP8.3/MySQL8.0") LIMIT='~/defaults/php8.3_mysql8.0_only.yaml,' ;;
4839
"PHP8.3/MariaDB11") LIMIT='~/defaults/php8.3_mariadb11_only.yaml,' ;;
40+
"PHP8.4/MySQL5.7") LIMIT='~/defaults/php8.4_mysql5.7_only.yaml,' ;;
41+
"PHP8.4/MySQL8.0") LIMIT='~/defaults/php8.4_mysql8.0_only.yaml,' ;;
42+
"PHP8.4/MariaDB11") LIMIT='~/defaults/php8.4_mariadb11_only.yaml,' ;;
4943
esac
5044
5145
# shellcheck disable=SC2088
52-
TESTPLAN="~/defaults/7.2.x.yaml,${LIMIT}~/module-invoice.yaml"
46+
TESTPLAN="~/defaults/7.3.x.yaml,${LIMIT}~/module-invoice.yaml"
5347
echo "testplan=${TESTPLAN}" | tee -a "${GITHUB_OUTPUT}"
5448
5549
dispatch_stable:

.github/workflows/trigger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ on:
55
pull_request: {}
66
push:
77
branches:
8-
- 'b-7.2.x*'
8+
- 'b-7.3.x*'
99

1010
jobs:
1111
push_trigger:
1212
uses: oxid-eSales/github-actions/.github/workflows/universal_workflow_light.yaml@v5
1313
with:
14-
testplan: '~/defaults/7.2.x.yaml,~/defaults/php8.2_mysql8.0_only.yaml,~/module-invoice.yaml'
14+
testplan: '~/defaults/7.3.x.yaml,~/defaults/php8.3_mysql8.0_only.yaml,~/module-invoice.yaml'
1515
runs_on: '"ubuntu-latest"'
1616
defaults: 'v5'
1717
plan_folder: '.github/fresh-advance'

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PDF Invoice module for OXID eShop
22

3-
[![Development](https://github.com/Fresh-Advance/Invoice/actions/workflows/trigger.yaml/badge.svg?branch=b-7.2.x)](https://github.com/Fresh-Advance/Invoice/actions/workflows/trigger.yaml)
3+
[![Development](https://github.com/Fresh-Advance/Invoice/actions/workflows/trigger.yaml/badge.svg?branch=b-7.3.x)](https://github.com/Fresh-Advance/Invoice/actions/workflows/trigger.yaml)
44
[![Latest Version](https://img.shields.io/packagist/v/Fresh-Advance/Invoice?logo=composer&label=latest&include_prereleases&color=orange)](https://packagist.org/packages/Fresh-Advance/Invoice)
55
[![PHP Version](https://img.shields.io/packagist/php-v/Fresh-Advance/Invoice)](https://github.com/Fresh-Advance/Invoice)
66

@@ -31,12 +31,10 @@
3131
## Limitations
3232

3333
* Only Twig shop installations supported
34-
* Tested with:
35-
* Shop 7.1 - PHP 8.1, 8.2, MySQL 5.7 and 8.0
36-
* Shop 7.2 - PHP 8.2, 8.3, MySQL 5.7 and 8.0
3734

3835
## Branch compatibility
3936

37+
* Branch **b-7.3.x** is compatible with OXID Shop compilation **7.3.0 and up**
4038
* Branch **b-7.2.x** is compatible with OXID Shop compilation **7.2.0 and up**
4139
* Branch **b-7.1.x** is compatible with OXID Shop compilation **7.1.0 and up**
4240
* Branch **b-7.0.x** is compatible with OXID Shop compilation **7.0.0-rc.2 and up**
@@ -77,7 +75,7 @@ In case of different environment usage, please adjust by your own needs.
7775
# Development installation on Fresh Advance Development Base
7876

7977
The installation instructions below are shown for the current [Fresh Advance Development Base](https://github.com/Fresh-Advance/development)
80-
for shop 7.2. Make sure your system meets the requirements of the Development Base.
78+
for shop 7.3. Make sure your system meets the requirements of the Development Base.
8179

8280
0. Ensure all docker containers are down to avoid port conflicts
8381

@@ -88,7 +86,7 @@ echo MyProject && git clone https://github.com/Fresh-Advance/development.git $_
8886

8987
2. Clone the repository to the source directory
9088
```shell
91-
git clone --recurse-submodules https://github.com/Fresh-Advance/Invoice.git --branch=b-7.2.x ./source
89+
git clone --recurse-submodules https://github.com/Fresh-Advance/Invoice.git --branch=b-7.3.x ./source
9290
```
9391

9492
3. Run the recipe to setup the development environment

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"kwn/number-to-words": "^2.7"
2020
},
2121
"conflict": {
22-
"oxid-esales/oxideshop-ce": "<7.2.0"
22+
"oxid-esales/oxideshop-ce": "<7.3.0"
2323
},
2424
"require-dev": {
25-
"oxid-esales/oxideshop-ce": "dev-b-7.2.x",
25+
"oxid-esales/oxideshop-ce": "dev-b-7.3.x",
2626
"phpunit/phpunit": "^11",
2727
"phpstan/phpstan": "^2.1",
2828
"squizlabs/php_codesniffer": "4.*",
@@ -33,9 +33,9 @@
3333
"codeception/module-db": "^3.0",
3434
"codeception/module-filesystem": "^3.0",
3535
"codeception/module-webdriver": "^4.0",
36-
"oxid-esales/codeception-modules": "dev-b-7.2.x",
37-
"oxid-esales/codeception-page-objects": "dev-b-7.2.x",
38-
"oxid-esales/developer-tools": "dev-b-7.2.x"
36+
"oxid-esales/codeception-modules": "dev-b-7.3.x",
37+
"oxid-esales/codeception-page-objects": "dev-b-7.3.x",
38+
"oxid-esales/developer-tools": "dev-b-7.3.x"
3939
},
4040
"autoload": {
4141
"psr-4": {

recipes/setup-development.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ perl -pi\
3535
mkdir source
3636
docker compose up --build -d php
3737

38-
$SCRIPT_PATH/parts/shared/require_shop_edition_packages.sh -e"${edition}" -v"dev-b-7.2.x"
39-
$SCRIPT_PATH/parts/shared/require_twig_components.sh -e"${edition}" -b"b-7.2.x"
40-
$SCRIPT_PATH/parts/shared/require.sh -n"oxid-esales/apex-theme" -v"dev-b-7.2.x"
41-
$SCRIPT_PATH/parts/shared/require_demodata_package.sh -e"${edition}" -b"b-7.2.x"
38+
$SCRIPT_PATH/parts/shared/require_shop_edition_packages.sh -e"${edition}" -v"dev-b-7.3.x"
39+
$SCRIPT_PATH/parts/shared/require_twig_components.sh -e"${edition}" -b"b-7.3.x"
40+
$SCRIPT_PATH/parts/shared/require.sh -n"oxid-esales/apex-theme" -v"dev-b-7.3.x"
41+
$SCRIPT_PATH/parts/shared/require_demodata_package.sh -e"${edition}" -b"b-7.3.x"
4242

4343
docker compose exec php composer update --no-interaction
4444

0 commit comments

Comments
 (0)