- Fixes made mostly for PHP 8.5
This commit is contained in:
1 parent
0471c0ab83
commit
6d8763a22c
7 files changed
+16
-22
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user