Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9a62a28

Browse files
author
DKravtsov
committed
Updated RabbitMQ, composer dependencies, docs. Added composer tools.
1 parent 66a1237 commit 9a62a28

24 files changed

+3965
-1766
lines changed

‎Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,15 @@ ifeq ($(INSIDE_DOCKER_CONTAINER), 1)
296296
else
297297
@make exec cmd="make phpinsights"
298298
endif
299+
300+
composer-normalize: ## Normalizes composer.json file content
301+
@make exec cmd="composer normalize"
302+
303+
composer-validate: ## Validate composer.json file content
304+
@make exec cmd="composer validate --no-check-version"
305+
306+
composer-require-checker: ## Check the defined dependencies against your code
307+
@make exec-bash cmd="XDEBUG_MODE=off php ./vendor/bin/composer-require-checker"
308+
309+
composer-unused: ## Show unused packages by scanning and comparing package namespaces against your code
310+
@make exec-bash cmd="XDEBUG_MODE=off php ./vendor/bin/composer-unused"

‎composer-unused.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use ComposerUnused\ComposerUnused\Configuration\Configuration;
6+
use ComposerUnused\ComposerUnused\Configuration\NamedFilter;
7+
use ComposerUnused\ComposerUnused\Configuration\PatternFilter;
8+
use Webmozart\Glob\Glob;
9+
10+
return static function (Configuration $config): Configuration {
11+
return $config
12+
->addPatternFilter(PatternFilter::fromString('/ext-.*/'))
13+
->addNamedFilter(NamedFilter::fromString('doctrine/doctrine-migrations-bundle'))
14+
->addNamedFilter(NamedFilter::fromString('dukecity/command-scheduler-bundle'))
15+
->addNamedFilter(NamedFilter::fromString('phpdocumentor/reflection-docblock'))
16+
->addNamedFilter(NamedFilter::fromString('nelmio/cors-bundle'))
17+
->addPatternFilter(PatternFilter::fromString('/symfony\/.*/'))
18+
->addNamedFilter(NamedFilter::fromString('twig/extra-bundle'))
19+
->setAdditionalFilesFor('icanhazstring/composer-unused', [
20+
__FILE__,
21+
...Glob::glob(__DIR__ . '/config/*.php'),
22+
]);
23+
};

‎composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"doctrine/annotations": "^1.13",
3434
"doctrine/doctrine-bundle": "^2.7",
3535
"doctrine/doctrine-migrations-bundle": "^3.2",
36-
"doctrine/orm": "^2.12",
36+
"doctrine/orm": "^2.13",
3737
"phpdocumentor/reflection-docblock": "^5.3",
3838
"dukecity/command-scheduler-bundle": "^5.0",
3939
"sensio/framework-extra-bundle": "^6.2",
@@ -80,11 +80,10 @@
8080
"bamarni/composer-bin-plugin": "^1.5",
8181
"doctrine/doctrine-fixtures-bundle": "^3.4",
8282
"systemsdk/easy-log-bundle": "1.10.*",
83-
"ergebnis/composer-normalize": "^2.22",
8483
"roave/security-advisories": "dev-latest",
8584
"symfony/browser-kit": "6.1.*",
8685
"symfony/debug-bundle": "6.1.*",
87-
"symfony/maker-bundle": "^1.43",
86+
"symfony/maker-bundle": "^1.45",
8887
"symfony/requirements-checker": "^2.0",
8988
"symfony/stopwatch": "6.1.*",
9089
"symfony/var-dumper": "6.1.*",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /