Skip to content

Commit c10f020

Browse files
authored
Merge pull request #84 from sasezaki/php84
Add support for PHP 8.4
2 parents 5581dd1 + eedd648 commit c10f020

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.laminas-ci.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"command": "diff <(./vendor/bin/phpstan analyse -c ./example/phpstan.neon --no-progress --error-format=junit | xmllint --format -) ./test/example.output"
2222
}
2323
}
24-
]
25-
}
24+
],
25+
"ignore_php_platform_requirements": {
26+
"8.4": true
27+
}
28+
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ parameters:
3131
This extension depends on our psr/log stub to serve strictness.
3232

3333
* eg.
34-
* `@param LogLevel::* $level` at `log()` method
35-
* `@param array{exception?: \Throwable} $context`
34+
* `@param LogLevel::* $level` at `log()` method
35+
* `@param array{exception?: \Throwable} $context`
3636

3737
See [psr/log stub](https://github.com/struggle-for-php/sfp-stubs-psr-log) repository page to get more detail.
3838

@@ -113,7 +113,7 @@ $logger->info('user {user_id} gets an error {error} .', ['user_id' => $user_id])
113113
| sfpPsrLog.contextKeyOriginalPattern |
114114

115115
* reports when context key is not matched you defined pattern.
116-
* if `contextKeyOriginalPattern` parameter is not set, this check would be ignored.
116+
* if `contextKeyOriginalPattern` parameter is not set, this check would be ignored.
117117

118118
#### Configuration
119119

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
"MIT"
88
],
99
"require": {
10-
"php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
11-
"phpstan/phpstan": "^1.11",
10+
"php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
11+
"phpstan/phpstan": "^1.12",
1212
"struggle-for-php/sfp-stubs-psr-log": "^1.0.1 || ^2 || ^3.0.1"
1313
},
1414
"require-dev": {
1515
"laminas/laminas-coding-standard": "^2.0.0",
1616
"maglnet/composer-require-checker": "^2|^3|^4",
1717
"phpstan/phpstan-phpunit": "^1.3",
1818
"phpstan/phpstan-strict-rules": "^1.5",
19-
"phpunit/phpunit": "^8.5.31 || ^9.5.10",
19+
"phpunit/phpunit": "^8.5.31 || ^9.5.10 || ^10.5.35",
2020
"roave/security-advisories": "dev-master",
2121
"squizlabs/php_codesniffer": "^3.7",
22-
"vimeo/psalm": "^4 || ^5.9"
22+
"vimeo/psalm": "^4 || ^5.26"
2323
},
2424
"conflict": {
2525
"nikic/php-parser": "<4.13.0"

0 commit comments

Comments
 (0)