Skip to content

Commit 6d4d3a2

Browse files
committed
:octocat: dependency updates
1 parent 4e10658 commit 6d4d3a2

11 files changed

Lines changed: 35 additions & 39 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,20 @@ jobs:
3030
name: "Static Code Analysis"
3131
runs-on: ubuntu-latest
3232

33-
env:
34-
PHAN_ALLOW_XDEBUG: 0
35-
PHAN_DISABLE_XDEBUG_WARN: 1
33+
# env:
34+
# PHAN_ALLOW_XDEBUG: 0
35+
# PHAN_DISABLE_XDEBUG_WARN: 1
3636

3737
strategy:
3838
fail-fast: true
3939
matrix:
4040
php-version:
41-
- "8.1"
42-
- "8.2"
43-
- "8.3"
4441
- "8.4"
42+
- "8.5"
4543

4644
steps:
4745
- name: "Checkout"
48-
uses: actions/checkout@v4
46+
uses: actions/checkout@v6
4947

5048
- name: "Install PHP"
5149
uses: shivammathur/setup-php@v2
@@ -56,10 +54,10 @@ jobs:
5654
coverage: none
5755

5856
- name: "Validate composer.json"
59-
run: composer validate --ansi --strict
57+
run: composer validate --no-interaction --ansi --verbose --with-dependencies --strict
6058

6159
- name: "Install dependencies with composer"
62-
uses: ramsey/composer-install@v3
60+
uses: ramsey/composer-install@v4
6361

6462
- name: "Run PHP_CodeSniffer"
6563
run: php vendor/bin/phpcs -v
@@ -83,14 +81,12 @@ jobs:
8381
- ubuntu-latest
8482
- windows-latest
8583
php-version:
86-
- "8.1"
87-
- "8.2"
88-
- "8.3"
8984
- "8.4"
85+
- "8.5"
9086

9187
steps:
9288
- name: "Checkout"
93-
uses: actions/checkout@v4
89+
uses: actions/checkout@v6
9490

9591
- name: "Install PHP with extensions"
9692
uses: shivammathur/setup-php@v2
@@ -101,13 +97,13 @@ jobs:
10197
coverage: pcov
10298

10399
- name: "Install dependencies with composer"
104-
uses: ramsey/composer-install@v3
100+
uses: ramsey/composer-install@v4
105101

106102
- name: "Run tests with phpunit"
107103
run: php vendor/bin/phpunit --colors=always --configuration=phpunit.xml.dist
108104

109105
# - name: "Send code coverage report to Codecov.io"
110-
# uses: codecov/codecov-action@v5
106+
# uses: codecov/codecov-action@v6
111107
# with:
112108
# token: ${{ secrets.CODECOV_TOKEN }}
113109
# files: .build/coverage/clover.xml
@@ -126,12 +122,12 @@ jobs:
126122

127123
steps:
128124
- name: "Checkout sources"
129-
uses: actions/checkout@v4
125+
uses: actions/checkout@v6
130126

131127
- name: "Install PHP"
132128
uses: shivammathur/setup-php@v2
133129
with:
134-
php-version: "8.3"
130+
php-version: "8.5"
135131
extensions: simplexml, ${{ env.PHP_EXTENSIONS }}
136132
ini-values: ${{ env.PHP_INI_VALUES }}
137133
coverage: none
@@ -155,7 +151,7 @@ jobs:
155151

156152
steps:
157153
- name: "Checkout sources"
158-
uses: actions/checkout@v4
154+
uses: actions/checkout@v6
159155

160156
- name: "Install Sphinx"
161157
run: pip install sphinx myst-parser sphinx-rtd-theme

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ version: 2
66

77
# Set the OS, Python version and other tools you might need
88
build:
9-
os: ubuntu-22.04
9+
os: ubuntu-26.04
1010
tools:
11-
python: "3.11"
11+
python: "3.14"
1212
# You can also specify other tool versions:
1313
# nodejs: "19"
1414
# rust: "1.64"

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2024 smiley <smiley@chillerlan.net>
3+
Copyright (c) 2026 smiley <smiley@chillerlan.net>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ A template/boilerplate for PHP libraries.
1818
[license]: https://github.com/chillerlan/php-library-template/blob/main/LICENSE
1919
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-library-template/ci.yml?branch=main&logo=github&logoColor=fff
2020
[gh-action]: https://github.com/chillerlan/php-library-template/actions/workflows/ci.yml?query=branch%3Amain
21-
[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-library-template.svg?logo=codecov&logoColor=fff
22-
[coverage]: https://codecov.io/github/chillerlan/php-library-template
23-
[codacy-badge]: https://img.shields.io/codacy/grade/917022229a8f432e9a15481ebf0c587c?logo=codacy&logoColor=fff
24-
[codacy]: https://app.codacy.com/gh/chillerlan/php-library-template/dashboard
21+
[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-library-template/main?logo=codecov&logoColor=fff
22+
[coverage]: https://codecov.io/github/chillerlan/php-library-template/tree/main
23+
[codacy-badge]: https://img.shields.io/codacy/grade/917022229a8f432e9a15481ebf0c587c/main?logo=codacy&logoColor=fff
24+
[codacy]: https://app.codacy.com/gh/chillerlan/php-library-template/dashboard?branch=main
2525
[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-library-template.svg?logo=packagist&logoColor=fff
2626
[downloads]: https://packagist.org/packages/chillerlan/php-library-template/stats
2727

@@ -43,7 +43,7 @@ A template/boilerplate for PHP libraries.
4343

4444
### Requirements
4545

46-
- PHP 8.1+
46+
- PHP 8.4+
4747

4848

4949
## Documentation

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
"minimum-stability": "stable",
3232
"prefer-stable": true,
3333
"require": {
34-
"php": "^8.1"
34+
"php": "^8.4"
3535
},
3636
"require-dev": {
37-
"phan/phan": "^5.5.0",
37+
"phan/phan": "^6.0",
3838
"phpmd/phpmd": "^2.15",
39-
"phpstan/phpstan": "^2.1.22",
40-
"phpstan/phpstan-deprecation-rules": "^2.0.3",
41-
"phpunit/phpunit": "^10.5",
42-
"slevomat/coding-standard": "^8.15",
43-
"squizlabs/php_codesniffer": "^3.10"
39+
"phpstan/phpstan": "^2.1.44",
40+
"phpstan/phpstan-deprecation-rules": "^2.0.4",
41+
"phpunit/phpunit": "^13.0",
42+
"slevomat/coding-standard": "^8.28.1",
43+
"squizlabs/php_codesniffer": "^4.0"
4444
},
4545
"suggest": {
4646
},

docs/Appendix/License.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ License
44

55
.. code-block:: text
66
7-
Copyright (c) 2024 smiley.
7+
Copyright (c) 2026 smiley.
88
99
This work is licensed under the Creative Commons
1010
Attribution 4.0 International (CC BY 4.0)

docs/Usage/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Installation via [`composer.json`](https://getcomposer.org/doc/04-schema.md):
1212
```json
1313
{
1414
"require": {
15-
"php": "^8.1",
15+
"php": "^8.4",
1616
"chillerlan/php-library-template": "dev-main"
1717
}
1818
}

docs/Usage/Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
## Requirements
88

9-
- PHP 8.1+
9+
- PHP 8.4+

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_version():
6868
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
6969

7070
# If your documentation needs a minimal Sphinx version, state it here.
71-
needs_sphinx = '6.0.0'
71+
needs_sphinx = '9.1.0'
7272

7373
# Add any Sphinx extension module names here, as strings. They can be
7474
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
myst-parser>=2.0.0
2-
Sphinx==6.0.0
2+
Sphinx==9.1.0
33
sphinx_rtd_theme>=1.2.1

0 commit comments

Comments
 (0)