Skip to content

Commit

Permalink
Update dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Feb 1, 2025
1 parent 69dab57 commit 09f3716
Show file tree
Hide file tree
Showing 5 changed files with 367 additions and 368 deletions.
8 changes: 6 additions & 2 deletions .dev-tools/.php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@
use PhpCsFixer\Finder;
use PhpCsFixerConfig\Factory;

return Factory::createForLibrary('composer-smaller-lock', 'Kuba Werłos', 2021)
$config = Factory::createForLibrary('composer-smaller-lock', 'Kuba Werłos', 2021)
->setUsingCache(false)
->setFinder(
Finder::create()
->files()
->in(__DIR__ . '/../src')
->in(__DIR__ . '/../tests')
->in(__DIR__)
->append([
__DIR__ . '/generate_readme.php',
__FILE__,
]),
);
$rules = $config->getRules();
$rules['php_unit_attributes'] = false; // @todo: remove when support for PHP 7.4 is dropped

return $config->setRules($rules);
16 changes: 8 additions & 8 deletions .dev-tools/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"type": "project",
"require": {
"php": "^8.4",
"composer/composer": "^2.7.7",
"ergebnis/composer-normalize": "^2.44.0",
"composer/composer": "^2.8.5",
"ergebnis/composer-normalize": "^2.45",
"kubawerlos/composer-smaller-lock": "^1.0.1",
"kubawerlos/php-cs-fixer-config": "^3.27",
"kubawerlos/php-cs-fixer-config": "^4.3",
"mi-schi/phpmd-extension": "^4.3",
"phpmd/phpmd": "^2.15",
"phpstan/extension-installer": "^1.4.1",
"phpstan/phpstan": "^1.11.10",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpstan/extension-installer": "^1.4.3",
"phpstan/phpstan": "^2.1.2",
"phpstan/phpstan-phpunit": "^2.0.4",
"phpstan/phpstan-strict-rules": "^2.0.3",
"shipmonk/composer-dependency-analyser": "^1.8.2",
"squizlabs/php_codesniffer": "^3.10.2",
"squizlabs/php_codesniffer": "^3.11.3",
"vimeo/psalm": "^6.1"
},
"config": {
Expand Down
Loading

0 comments on commit 09f3716

Please sign in to comment.