Skip to content

Commit

Permalink
Update dev tools (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Aug 13, 2024
1 parent b07fa09 commit 5fd4fe3
Show file tree
Hide file tree
Showing 6 changed files with 383 additions and 370 deletions.
7 changes: 5 additions & 2 deletions .dev-tools/.php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@

require_once __DIR__ . '/vendor/autoload.php';

return PhpCsFixerConfig\Factory::createForLibrary('composer-smaller-lock', 'Kuba Werłos', 2021)
use PhpCsFixer\Finder;
use PhpCsFixerConfig\Factory;

return Factory::createForLibrary('composer-smaller-lock', 'Kuba Werłos', 2021)
->setUsingCache(false)
->setFinder(
PhpCsFixer\Finder::create()
Finder::create()
->files()
->in(__DIR__ . '/../src')
->in(__DIR__ . '/../tests')
Expand Down
2 changes: 1 addition & 1 deletion .dev-tools/README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Composer plugin to keep composer.lock small and readable.

[![Latest stable version](https://img.shields.io/packagist/v/kubawerlos/composer-smaller-lock.svg?label=current%20version)](https://packagist.org/packages/kubawerlos/composer-smaller-lock)
[![PHP version](https://img.shields.io/packagist/php-v/kubawerlos/composer-smaller-lock.svg)](https://php.net)
[![CI Status](https://github.com/kubawerlos/composer-smaller-lock/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/kubawerlos/composer-smaller-lock/actions)
[![CI status](https://github.com/kubawerlos/composer-smaller-lock/actions/workflows/ci.yaml/badge.svg)](https://github.com/kubawerlos/composer-smaller-lock/actions/workflows/ci.yaml)

Removes unnecessary keys and makes reviewing changes much easier.

Expand Down
20 changes: 10 additions & 10 deletions .dev-tools/composer.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"type": "project",
"require": {
"composer/composer": "^2.7.1",
"ergebnis/composer-normalize": "^2.42.0",
"composer/composer": "^2.7.7",
"ergebnis/composer-normalize": "^2.43.0",
"kubawerlos/composer-smaller-lock": "^1.0.1",
"kubawerlos/php-cs-fixer-config": "^3.26",
"maglnet/composer-require-checker": "^4.8",
"kubawerlos/php-cs-fixer-config": "^3.27",
"maglnet/composer-require-checker": "^4.11",
"mi-schi/phpmd-extension": "^4.3",
"phpmd/phpmd": "^2.15",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.59",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-strict-rules": "^1.5.2",
"squizlabs/php_codesniffer": "^3.9.0",
"vimeo/psalm": "^5.22.2"
"phpstan/extension-installer": "^1.4.1",
"phpstan/phpstan": "^1.11.10",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"squizlabs/php_codesniffer": "^3.10.2",
"vimeo/psalm": "^5.25.0"
},
"config": {
"allow-plugins": {
Expand Down
Loading

0 comments on commit 5fd4fe3

Please sign in to comment.