Skip to content

Commit 163dc44

Browse files
authored
Merge pull request #16 from delyriand/feature/sylius-2-0
2 parents 3611e70 + 5aebf04 commit 163dc44

File tree

22 files changed

+66
-61
lines changed

22 files changed

+66
-61
lines changed

.github/workflows/recipe.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Flex Recipe
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ $default-branch ]
66
pull_request:
77

88
jobs:
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php: ['8.1', '8.2', '8.3']
18-
sylius: ["~1.12.0", "~1.13.0", "1.14.0"]
17+
php: ['8.2', '8.3']
18+
sylius: ["~2.0.0"]
1919

2020
steps:
2121
- name: Setup PHP

.github/workflows/security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: ['8.1', '8.2', '8.3']
16+
php: ['8.2', '8.3']
1717

1818
steps:
1919
- uses: actions/checkout@v3

.github/workflows/tests.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Tests
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ $default-branch ]
66
pull_request:
77

88
jobs:
@@ -14,7 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php: ['8.1', '8.2', '8.3']
17+
php: ['8.2', '8.3']
18+
node: ['20']
1819

1920
env:
2021
SYMFONY_ARGS: --no-tls
@@ -25,7 +26,7 @@ jobs:
2526
- uses: actions/checkout@v2
2627
- uses: actions/setup-node@v2
2728
with:
28-
node-version: '14'
29+
node-version: ${{ matrix.node }}
2930
- name: Setup PHP
3031
uses: shivammathur/setup-php@v2
3132
with:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DEFAULT_GOAL := help
22
SHELL=/bin/bash
33
APP_DIR=tests/Application
4-
SYLIUS_VERSION=1.14.0
4+
SYLIUS_VERSION=2.0.0
55
SYMFONY=cd ${APP_DIR} && symfony
66
COMPOSER=symfony composer
77
CONSOLE=${SYMFONY} console

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ The messages can be different for logged-in customers.
1414
The message is displayed just after the opening `body`. You can change the HTML template directly in the admin panel.
1515
By default it'll use the Semantic UI classes.
1616

17-
![](screenshot.png)
17+
![](docs/images/alert-message.png)
1818

1919
## Compatibility
2020

2121
| Sylius Version | PHP Version |
2222
|----------------|-----------------|
23-
| 1.12 | 8.1 - 8.2 - 8.3 |
24-
| 1.13 | 8.1 - 8.2 - 8.3 |
25-
| 1.14 | 8.1 - 8.2 - 8.3 |
23+
| 2.0 | 8.2 - 8.3 |
24+
25+
ℹ️ For Sylius 1.x, see our [1.x branch](https://github.com/monsieurbiz/SyliusAlertMessagePlugin/tree/1.x) and all 1.x releases.
2626

2727
## Installation
2828

@@ -64,7 +64,7 @@ Being able to add a well seen message on your shop can be useful.
6464

6565
## Admin form
6666

67-
![](admin-form.jpg)
67+
![](docs/images/admin-form.png)
6868

6969
## Testing
7070

admin-form.jpg

-275 KB
Binary file not shown.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "Adds a simple message on top of your shop.",
66
"license": "MIT",
77
"require": {
8-
"php": "^8.1",
9-
"sylius/sylius": ">=1.12 <2.0"
8+
"php": "^8.2",
9+
"sylius/sylius": "~2.0.0"
1010
},
1111
"require-dev": {
1212
"friendsofphp/php-cs-fixer": "^3.16",
@@ -36,7 +36,7 @@
3636
},
3737
"extra": {
3838
"branch-alias": {
39-
"dev-master": "1.2-dev"
39+
"dev-master": "2.0-dev"
4040
},
4141
"symfony": {
4242
"docker": false,

docs/images/admin-form.png

79.1 KB
Loading

docs/images/alert-message.png

34.5 KB
Loading

screenshot.png

-792 KB
Binary file not shown.

0 commit comments

Comments
 (0)