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 a389bbb

Browse files
author
DKravtsov
committed
Updated RabbitMQ, composer dependencies, docs. Added composer tools.
1 parent 69f8116 commit a389bbb

24 files changed

+3966
-1767
lines changed

‎Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,15 @@ ifeq ($(INSIDE_DOCKER_CONTAINER), 1)
310310
else
311311
@make exec cmd="make phpinsights"
312312
endif
313+
314+
composer-normalize: ## Normalizes composer.json file content
315+
@make exec cmd="composer normalize"
316+
317+
composer-validate: ## Validate composer.json file content
318+
@make exec cmd="composer validate --no-check-version"
319+
320+
composer-require-checker: ## Check the defined dependencies against your code
321+
@make exec-bash cmd="XDEBUG_MODE=off php ./vendor/bin/composer-require-checker"
322+
323+
composer-unused: ## Show unused packages by scanning and comparing package namespaces against your code
324+
@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",
@@ -79,11 +79,10 @@
7979
"bamarni/composer-bin-plugin": "^1.5",
8080
"doctrine/doctrine-fixtures-bundle": "^3.4",
8181
"systemsdk/easy-log-bundle": "1.10.*",
82-
"ergebnis/composer-normalize": "^2.22",
8382
"roave/security-advisories": "dev-latest",
8483
"symfony/browser-kit": "6.1.*",
8584
"symfony/debug-bundle": "6.1.*",
86-
"symfony/maker-bundle": "^1.43",
85+
"symfony/maker-bundle": "^1.45",
8786
"symfony/requirements-checker": "^2.0",
8887
"symfony/stopwatch": "6.1.*",
8988
"symfony/var-dumper": "6.1.*",

0 commit comments

Comments
(0)

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