Skip to content

Commit b2e053f

Browse files
committed
update dependencies
1 parent 4135517 commit b2e053f

5 files changed

Lines changed: 11 additions & 33 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
php-versions: [ '8.2', '8.3' ]
18+
php-versions: [ '8.4', '8.5' ]
1919

2020
steps:
2121
- uses: actions/checkout@v2

composer-require-checker.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

composer.json

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,19 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^8.1",
28+
"php": "^8.4",
2929

30-
"twig/twig": "^3.8"
30+
"twig/twig": "^3.22"
3131
},
3232
"require-dev": {
33-
"doctrine/coding-standard": "^12.0",
33+
"doctrine/coding-standard": "^14.0",
3434
"roave/security-advisories": "dev-master",
35-
"squizlabs/php_codesniffer": "^3.7",
36-
"phpstan/phpstan": "^1.10",
37-
"phpstan/phpstan-deprecation-rules": "^1.1",
38-
"phpstan/phpstan-phpunit": "^1.3",
39-
"phpstan/phpstan-strict-rules": "^1.5",
40-
"maglnet/composer-require-checker": "^4.7",
41-
"phpunit/phpunit": "^10.5"
35+
"squizlabs/php_codesniffer": "^4",
36+
"phpstan/phpstan": "^2.1",
37+
"phpstan/phpstan-deprecation-rules": "^2.0",
38+
"phpstan/phpstan-phpunit": "^2.0",
39+
"phpstan/phpstan-strict-rules": "^2.0",
40+
"phpunit/phpunit": "^12.5"
4241
},
4342
"autoload": {
4443
"psr-4": {
@@ -52,13 +51,11 @@
5251
},
5352
"scripts": {
5453
"check": [
55-
"@crc",
5654
"@cs-check",
5755
"@phpstan",
5856
"@phpunit"
5957
],
6058
"phpstan": "./vendor/bin/phpstan analyse ./src",
61-
"crc": "./vendor/bin/composer-require-checker --config-file=./composer-require-checker.json",
6259
"phpunit": "./vendor/bin/phpunit --colors=always",
6360
"cs-fix": "./vendor/bin/phpcbf",
6461
"cs-check": "./vendor/bin/phpcs -s"
File renamed without changes.

src/Twig/Loader/StringLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use function preg_match;
1313
use function sprintf;
1414

15-
class StringLoader implements LoaderInterface
15+
final readonly class StringLoader implements LoaderInterface
1616
{
1717
public function getSourceContext(string $name): Source
1818
{

0 commit comments

Comments
 (0)