- Fixes made mostly for PHP 8.5

This commit is contained in:
mcndave committed 2026-07-14 15:45:38 +00:00
1 parent 0471c0ab83
commit 6d8763a22c
7 files changed
+16 -22

No files matched your search

+1 -8
View File
@@ -24,18 +24,11 @@ trait ConsoleControllerTrait
#[Inject]
protected ContainerInterface $container;
#[Ignore]
public function __construct(? Picea\Picea $picea, Session $session, ContainerInterface $container) {
$this->picea = $picea;
$this->session = $session;
$this->container = $container;
}
#[Ignore]
public function version() : string
{
$version = iterator_to_array(
(new Form\Update\Git(getenv('PROJECT_PATH')))->run("/usr/bin/git describe --tags")
new Form\Update\Git(getenv('PROJECT_PATH'))->run("/usr/bin/git describe --tags")
);
# dump($version);