Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ksassnowski committed Jan 5, 2024
1 parent 13ac968 commit 2b9efb5
Show file tree
Hide file tree
Showing 9 changed files with 208 additions and 92 deletions.
14 changes: 9 additions & 5 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@
use Ergebnis\PhpCsFixer\Config;

$header = <<<EOF
Copyright (c) 2023 Kai Sassnowski
Copyright (c) 2024 Kai Sassnowski
For the full copyright and license information, please view
the LICENSE file that was distributed with this source code.
@see https://github.com/roach-php/laravel
EOF;

$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php80($header), [
'php_unit_test_class_requires_covers' => false,
'phpdoc_to_property_type' => false,
]);
$ruleSet = Config\RuleSet\Php80::create()
->withHeader($header)
->withRules(Config\Rules::fromArray([
'php_unit_test_class_requires_covers' => false,
'phpdoc_to_property_type' => false,
]));

$config = Config\Factory::fromRuleSet($ruleSet);

$config->getFinder()
->in(__DIR__)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15",
"ergebnis/php-cs-fixer-config": "^5.0",
"ergebnis/php-cs-fixer-config": "^6.19",
"orchestra/testbench": "^7.0 || ^8.0",
"phpunit/phpunit": "^10.4",
"roave/security-advisories": "dev-latest",
Expand Down
269 changes: 191 additions & 78 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Commands/SpiderMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion src/RoachServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
5 changes: 2 additions & 3 deletions tests/Fixtures/TestSpider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand All @@ -13,7 +13,6 @@

namespace RoachPHP\Laravel\Tests\Fixtures;

use Generator;
use RoachPHP\Http\Response;
use RoachPHP\Spider\BasicSpider;

Expand All @@ -22,7 +21,7 @@
*/
final class TestSpider extends BasicSpider
{
public function parse(Response $response): Generator
public function parse(Response $response): \Generator
{
yield from [];
}
Expand Down
2 changes: 1 addition & 1 deletion tests/RegisterDefaultNamespaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion tests/SpiderMakeCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
declare(strict_types=1);

/**
* Copyright (c) 2023 Kai Sassnowski
* Copyright (c) 2024 Kai Sassnowski
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
Expand Down

0 comments on commit 2b9efb5

Please sign in to comment.