Skip to content

Commit 30a79f7

Browse files
committed
build with PHP 8.4 & 8.5
1 parent b508495 commit 30a79f7

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/build.yaml

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

2121
strategy:
2222
matrix:
23-
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
23+
php-version: [ '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
2424

2525
steps:
2626
- name: Checkout

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"latte/latte": "~3.0",
2222
"nette/bootstrap": "~3.0",
2323
"nette/di": "~3.0",
24-
"nette/robot-loader": "~3.0",
25-
"nette/tester": "~2.1",
26-
"phpstan/phpstan-nette": "^1.3",
27-
"phpstan/phpstan": "^1.12",
24+
"nette/robot-loader": "~3.0 || ~4.0",
25+
"nette/tester": "dev-master",
26+
"phpstan/phpstan-nette": "^2.0",
27+
"phpstan/phpstan": "^2.1",
2828
"tracy/tracy": "~2.5"
2929
},
3030
"extra": {

src/Controls/AutocompleteControl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public function handleAutocomplete(string $q): void
6464

6565
$out = call_user_func($this->callback, $q);
6666
$presenter = $this->getPresenter();
67-
assert($presenter !== null);
6867
$presenter->sendJson($out);
6968
}
7069
}

0 commit comments

Comments
 (0)