Skip to content

Commit c25bfd1

Browse files
authored
Update PHP deps and Node version and actions (#145)
1 parent d2cf64e commit c25bfd1

File tree

5 files changed

+47
-123
lines changed

5 files changed

+47
-123
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
- uses: actions/checkout@v4
88
with:
99
fetch-depth: 0
10-
- name: Use Node.js 18
11-
uses: actions/setup-node@v3
10+
- name: Use Node.js 20
11+
uses: actions/setup-node@v4
1212
with:
13-
node-version: 18
13+
node-version: 20
1414
- name: install
1515
#uses: docker://basaltinc/docker-node-php-base:latest
1616
run: npm ci && composer install

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
},
1010
"config": {
1111
"platfrom": {
12-
"php": "8.2"
12+
"php": "8.4"
1313
}
1414
},
1515
"require": {
16-
"php": ">=8.1",
16+
"php": ">=8.2",
1717
"ext-json": "*",
18-
"react/http": "^1.10.0",
19-
"twig/twig": "^v3.14.2"
18+
"react/http": "^1.11.0",
19+
"twig/twig": "^v3.20.0"
2020
},
2121
"require-dev": {},
2222
"sort-packages": true

composer.lock

Lines changed: 36 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
77
*Special thanks to [Salem Ghoweri](https://twitter.com/salem_ghoweri) for collaboration on this project!*
88

9-
# How to Use
9+
## How to Use
1010

1111
```bash
1212
npm install --save @basalt/twig-renderer
1313
```
1414

15-
```
15+
```php
1616
const TwigRenderer = require('@basalt/twig-renderer');
1717

1818
const config = {
@@ -32,7 +32,7 @@ twigRenderer.render('@components/card.twig', { title: 'hi' }).then(results => {
3232

3333
Looking in tests folder can help.
3434

35-
# How to Develop
35+
## How to Develop
3636

3737
```bash
3838
npm install

0 commit comments

Comments
 (0)