We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca63f98 commit c90961eCopy full SHA for c90961e
.github/workflows/tests.yml
@@ -7,7 +7,7 @@ jobs:
7
runs-on: ubuntu-latest
8
strategy:
9
matrix:
10
- php: ['8.0', '8.1', '8.2', '8.3']
+ php: ['8.0', '8.1', '8.2', '8.3', '8.4']
11
12
fail-fast: false
13
composer.json
@@ -15,7 +15,7 @@
15
}
16
],
17
"require": {
18
- "php": "8.0 - 8.3",
+ "php": "8.0 - 8.4",
19
"nette/utils": "^3.2.9 || ^4.0"
20
},
21
"require-dev": {
readme.md
@@ -26,7 +26,7 @@ Download and install the library using the [Composer](https://doc.nette.org/en/b
26
composer require nette/php-generator
27
```
28
29
-PhpGenerator 4.1 is compatible with PHP 8.0 to 8.3. Documentation can be found on the [library's website](https://doc.nette.org/php-generator).
+PhpGenerator 4.1 is compatible with PHP 8.0 to 8.4. Documentation can be found on the [library's website](https://doc.nette.org/php-generator).
30
31
<!---->
32
tests/PhpGenerator/fixtures/bodies.php
@@ -36,7 +36,7 @@ function long()
36
throw new Nette\InvalidArgumentException('Argument must be Method|Property|Constant.');
37
38
39
- function resolving($a = a\FOO, self $b = null, $c = self::FOO)
+ function resolving($a = a\FOO, ?self $b = null, $c = self::FOO)
40
{
41
// constants
42
echo FOO;
tests/PhpGenerator/fixtures/classes.php
@@ -72,7 +72,7 @@ private function &func3(/** foo */array $a, Class2 $b, \Abc\Unknown $c, \Xyz\Unk
72
73
74
75
- private function func4(array $a = [], Class2 $b = null, $c = Unknown::ABC)
+ private function func4(array $a = [], ?Class2 $b = null, $c = Unknown::ABC)
76
77
78
@@ -97,7 +97,7 @@ class Class4
97
/** */
98
class Class5
99
100
- public function func1(\A $a, ?\B $b, ?\C $c = null, \D $d = null, ?int $i = 1, ?array $arr = [])
+ public function func1(\A $a, ?\B $b, ?\C $c = null, ?\D $d = null, ?int $i = 1, ?array $arr = [])
101
102
103
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments