Skip to content

Commit

Permalink
Feat: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Sep 21, 2024
1 parent 9ea0c09 commit cb8d7d8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"friendsofphp/php-cs-fixer": "^3.2",
"monolog/monolog": "^3.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.0",
"symfony/console": "^6.3",
"symfony/filesystem": "^6.3",
"symfony/process": "^6.3",
"symfony/var-dumper": "^6.3",
"phpunit/phpunit": "^11",
"symfony/console": "^7",
"symfony/filesystem": "^7",
"symfony/process": "^7",
"symfony/var-dumper": "^7",
"thecodingmachine/phpstan-safe-rule": "^1.2"
},
"autoload": {
Expand Down
5 changes: 4 additions & 1 deletion src/Command/GenerateDocumentationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ final class GenerateDocumentationCommand extends Command

private const DOC_FORMATS = [self::DOC_FORMAT_PHP, self::DOC_FORMAT_PHPSTAN];

protected static $defaultName = 'doc:generate';
public function getName(): ?string
{
return 'doc:generate';
}

protected function configure(): void
{
Expand Down
1 change: 0 additions & 1 deletion src/Puppeteer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Composer\Semver\Semver;
use Exception;

use Nesk\Rialto\AbstractEntryPoint;
use Psr\Log\LoggerInterface;
use Symfony\Component\Process\Process;
Expand Down
2 changes: 1 addition & 1 deletion tests/PuphpeteerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function check_all_resources_are_supported(string $name)
$this->markTestIncomplete($reason);
}

public function resourceProvider(): \Generator
public static function resourceProvider(): \Generator
{
$resourceNames = (new ResourceInstantiator([], ''))->getResourceNames();

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function setUp(): void
{
parent::setUp();

$methodName = explode(' ', $this->getName())[0] ?? '';
$methodName = explode(' ', $this->name())[0] ?? '';
$testMethod = new \ReflectionMethod($this, $methodName);
$docComment = $testMethod->getDocComment();

Expand Down

0 comments on commit cb8d7d8

Please sign in to comment.