Skip to content

Commit 5212eb5

Browse files
committed
feat!: upgrade for php 8.5
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 13afcb9 commit 5212eb5

File tree

7 files changed

+41
-7
lines changed

7 files changed

+41
-7
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Debian",
2+
"name": "php-css-lint",
33
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
44
"features": {
55
"ghcr.io/devcontainers/features/docker-in-docker:2": {},

.github/dependabot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
33
- package-ecosystem: composer
4-
versioning-strategy: increase
4+
versioning-strategy: widen
55
directories:
66
- "/"
77
- "/tools"
@@ -26,7 +26,9 @@ updates:
2626
- "*"
2727

2828
- package-ecosystem: github-actions
29-
directory: "/"
29+
directories:
30+
- "/"
31+
- "/.github/workflows/actions/**/*"
3032
schedule:
3133
interval: weekly
3234
day: friday

.github/release-config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
template: |
3+
# What's Changed
4+
$CHANGES
5+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
6+
name-template: "Version $RESOLVED_VERSION"
7+
tag-template: "$RESOLVED_VERSION"
8+
tag-prefix: ""
9+
prerelease-identifier: "rc"
10+
version-resolver:
11+
major:
12+
labels:
13+
- "release-major"
14+
minor:
15+
labels:
16+
- "release-minor"
17+
patch:
18+
labels:
19+
- "release-patch"
20+
default: patch
21+
autolabeler:
22+
- label: "release-major"
23+
title:
24+
- "/^BREAKING CHANGE:/"
25+
- "/^\\w+!:/"
26+
- "/^\\w+\\(.+\\)!:/"
27+
- label: "release-minor"
28+
title:
29+
- "/^feat:/"
30+
- "/^feat\\(.+\\):/"

.github/workflows/actions/setup-php/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: ⚙️ Setup PHP, with composer and extensions
13-
uses: shivammathur/setup-php@cf4cade2721270509d5b1c766ab3549210a39a2a # 2.33.0
13+
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
1414
with:
1515
php-version: ${{ inputs.php-version }}
1616
extensions: none,iconv,dom,curl,mbstring,tokenizer,xml,xmlwriter,simplexml,ctype
@@ -22,7 +22,7 @@ runs:
2222
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
2323

2424
- name: ♻️ Cache composer dependencies
25-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
25+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
2626
with:
2727
path: ${{ steps.composer-cache.outputs.dir }}
2828
key: ${{ runner.os }}-composer-${{ inputs.php-versions }}-${{ hashFiles('**/composer.json') }}

.github/workflows/update-css-referential.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: ⚙️ Setup PHP, with composer and extensions
2323
uses: ./.github/workflows/actions/setup-php
2424
with:
25-
php-version: 8.4
25+
php-version: 8.5
2626

2727
- name: Generate CSS Referential
2828
run: composer run-script generate-css-referentials

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"issues": "https://github.com/neilime/php-css-lint/issues"
2929
},
3030
"require": {
31-
"php": "^8.1",
31+
"php": "^8.2",
3232
"ext-json": "*"
3333
},
3434
"require-dev": {

tools/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"optimize-autoloader": true,
1212
"sort-packages": true,
1313
"allow-plugins": {
14+
"optimize-autoloader": true,
15+
"sort-packages": true,
1416
"phpstan/extension-installer": true
1517
}
1618
}

0 commit comments

Comments
 (0)