Skip to content

Commit

Permalink
Update dependencies (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloKowalczyk committed May 21, 2022
1 parent 5201e3f commit 1cfe396
Show file tree
Hide file tree
Showing 14 changed files with 384 additions and 434 deletions.
7 changes: 3 additions & 4 deletions bin/nvfc
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/usr/bin/env php
<?php

use NvFanController\UserInterface\WatchCommand;
use Symfony\Component\Console\Application;

$generatePath = static function (string ...$parts) {
return \implode(DIRECTORY_SEPARATOR, $parts);
};
$generatePath = static fn (string ...$parts) => \implode(DIRECTORY_SEPARATOR, $parts);
$autoloadPaths = [
// Dependency
$generatePath(
Expand Down Expand Up @@ -48,5 +47,5 @@ if (false === $autoloadFileFound) {
}

$application = new Application('NVidia Fan Controller', 'v0.2.0');
$application->add(new \NvFanController\UserInterface\WatchCommand());
$application->add(new WatchCommand());
$application->run();
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"fan-controller"
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-pcntl": "*",
"react/child-process": "^0.6.1",
"react/event-loop": "^1.1",
"react/promise": "^2.7",
"react/stream": "^1.1",
"symfony/console": "^5.2",
"symfony/process": "^5.2"
"symfony/console": "^6.0",
"symfony/process": "^6.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.13",
Expand Down
Loading

0 comments on commit 1cfe396

Please sign in to comment.