Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .vortex/docs/content/development/composer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,6 @@ where each module is installed.
| [`drupal/testmode`](https://www.drupal.org/project/testmode) | Adjusts site behavior during automated tests, for example by filtering out generated content from listings. | [Testmode](modules/testmode.mdx), [Settings](settings.mdx#per-module-overrides) |
| [`drupal/xmlsitemap`](https://www.drupal.org/project/xmlsitemap) | Generates a multilingual XML sitemap to help search engines index the site. | [Settings](settings.mdx#per-module-overrides) |
| [`drush/drush`](https://github.com/drush-ops/drush) | A command-line shell and scripting interface for Drupal, providing a wide range of utilities to manage and interact with your Drupal sites. | [Drush](environment/drush.mdx) |
| [`webflo/drupal-finder`](https://github.com/webflo/drupal-finder) | Locates Drupal installations in a directory structure. | |

#### `require-dev`

Expand All @@ -586,26 +585,22 @@ environment keeps its full tooling.
|---------|-------------|---------------|
| [`behat/behat`](https://github.com/Behat/Behat) | A PHP framework for Behavior-Driven Development (BDD), running human-readable stories that describe the behavior of your application. It facilitates communication between developers, stakeholders and clients. | [Behat](testing/behat.mdx) |
| [`dantleech/gherkin-lint`](https://github.com/dantleech/gherkin-lint) | Lints the Gherkin feature files used in Behat tests, checking syntax and formatting for consistency. | [Gherkin Lint](code-quality/gherkin-lint.mdx) |
| [`dealerdirect/phpcodesniffer-composer-installer`](https://github.com/Dealerdirect/phpcodesniffer-composer-installer) | Registers the coding standards installed through Composer with PHP_CodeSniffer, so they can be referenced by name. | [PHPCS](code-quality/phpcs.mdx) |
| [`drevops/behat-format-progress-fail`](https://github.com/drevops/behat-format-progress-fail) | A Behat output formatter that prints compact progress and expands the detail only for failing scenarios. | [Behat](testing/behat.mdx) |
| [`drevops/behat-screenshot`](https://github.com/drevops/behat-screenshot) | Automatically captures a screenshot when a Behat scenario fails, which helps to understand why a test failed. | [Behat](testing/behat.mdx) |
| [`drevops/behat-steps`](https://github.com/drevops/behat-steps) | A collection of pre-defined Behat step definitions for Drupal, speeding up the process of writing new tests. | [Behat](testing/behat.mdx) |
| [`drevops/phpcs-standard`](https://github.com/drevops/phpcs-standard) | A PHP_CodeSniffer coding standard that extends the Drupal coding standards with additional rules and best practices. | [PHPCS](code-quality/phpcs.mdx) |
| [`drupal/coder`](https://www.drupal.org/project/coder) | Provides the PHP_CodeSniffer rules for the Drupal coding standards. The 9.x line targets PHP_CodeSniffer 4.x. | [PHPCS](code-quality/phpcs.mdx) |
| [`drupal/drupal-extension`](https://github.com/jhedstrom/drupalextension) | A Behat extension that integrates with Drupal, offering Drupal-specific step definitions and bootstrapping the site for testing. | [Behat](testing/behat.mdx) |
| [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) | A Composer plugin that normalizes the formatting and key order of `composer.json`. | |
| [`lullabot/mink-selenium2-driver`](https://github.com/lullabot/mink-selenium2-driver) | A maintained fork of the Mink Selenium2 driver that lets Behat control real browsers through Selenium WebDriver. | [Behat](testing/behat.mdx) |
| [`lullabot/php-webdriver`](https://github.com/lullabot/php-webdriver) | A maintained fork of the PHP WebDriver client used by the Mink Selenium2 driver to communicate with browsers. | [Behat](testing/behat.mdx) |
| [`mglaman/phpstan-drupal`](https://github.com/mglaman/phpstan-drupal) | Teaches PHPStan about Drupal APIs, so static analysis understands hooks, services and entities in modules and themes. | [PHPStan](code-quality/phpstan.mdx) |
| [`mikey179/vfsstream`](https://github.com/bovigo/vfsStream) | A virtual file system for PHPUnit tests, allowing file operations to be exercised without touching the real file system. | [PHPUnit](testing/phpunit.mdx) |
| [`palantirnet/drupal-rector`](https://github.com/palantirnet/drupal-rector) | Rector rules that rewrite deprecated Drupal code, making core upgrades more efficient. | [Rector](code-quality/rector.mdx) |
| [`palantirnet/drupal-rector`](https://github.com/palantirnet/drupal-rector) | Rector rules that rewrite deprecated Drupal code, making core upgrades more efficient. It installs [`rector/rector`](https://github.com/rectorphp/rector) and constrains it to the versions its rule sets support. | [Rector](code-quality/rector.mdx) |
| [`phpcompatibility/php-compatibility`](https://github.com/PHPCompatibility/PHPCompatibility) | PHP_CodeSniffer sniffs that check code for compatibility with specific PHP versions. The 10.x line targets PHP_CodeSniffer 4.x. | [PHPCS](code-quality/phpcs.mdx) |
| [`phpspec/prophecy-phpunit`](https://github.com/phpspec/prophecy-phpunit) | Integrates the Prophecy mocking library with PHPUnit to provide advanced mocking capabilities in tests. | [PHPUnit](testing/phpunit.mdx) |
| [`phpstan/extension-installer`](https://github.com/phpstan/extension-installer) | Automatically registers the installed PHPStan extensions, removing the need to wire them up by hand. | [PHPStan](code-quality/phpstan.mdx) |
| [`phpstan/phpstan`](https://github.com/phpstan/phpstan) | A static analysis tool that finds type errors, incorrect method calls and other bugs without running the code. | [PHPStan](code-quality/phpstan.mdx) |
| [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) | The PHP testing framework, used here for unit, kernel and functional tests. | [PHPUnit](testing/phpunit.mdx) |
| [`pyrech/composer-changelogs`](https://github.com/pyrech/composer-changelogs) | Prints a summary of package additions, updates and removals after running `composer update`. | |
| [`rector/rector`](https://github.com/rectorphp/rector) | An automated refactoring tool that upgrades and modernizes PHP code. | [Rector](code-quality/rector.mdx) |
| [`softcreatr/jsonpath`](https://github.com/SoftCreatR/JSONPath) | A JSONPath implementation required by the `drevops/behat-steps` JSON assertion steps. | [Behat](testing/behat.mdx) |
| [`vincentlanglet/twig-cs-fixer`](https://github.com/VincentLanglet/Twig-CS-Fixer) | Checks and fixes Twig templates against a coding standard, keeping template files consistent and readable. | [Twig CS Fixer](code-quality/twig-cs-fixer.mdx) |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,18 @@
"drupal/stage_file_proxy": "__VERSION__",
"drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"webflo/drupal-finder": "__VERSION__"
"drush/drush": "__VERSION__"
},
"require-dev": {
"behat/behat": "__VERSION__",
"dantleech/gherkin-lint": "__VERSION__",
"dealerdirect/phpcodesniffer-composer-installer": "__VERSION__",
"drevops/behat-format-progress-fail": "__VERSION__",
"drevops/behat-screenshot": "__VERSION__",
"drevops/behat-steps": "__VERSION__",
"drevops/phpcs-standard": "__VERSION__",
"drupal/coder": "__VERSION__",
"drupal/drupal-extension": "__VERSION__",
"ergebnis/composer-normalize": "__VERSION__",
"lullabot/mink-selenium2-driver": "__VERSION__",
"lullabot/php-webdriver": "__VERSION__",
"mglaman/phpstan-drupal": "__VERSION__",
"mikey179/vfsstream": "__VERSION__",
"palantirnet/drupal-rector": "__VERSION__",
Expand All @@ -57,7 +53,6 @@
"phpstan/phpstan": "__VERSION__",
"phpunit/phpunit": "__VERSION__",
"pyrech/composer-changelogs": "__VERSION__",
"rector/rector": ">=__VERSION__ <__VERSION__",
"softcreatr/jsonpath": "^0.10 || ^1.0",
"vincentlanglet/twig-cs-fixer": "__VERSION__"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\Php80\Rector\Switch_\ChangeSwitchToMatchRector;
use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector;
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
use Rector\TypeDeclaration\Rector\StmtsAwareInterface\DeclareStrictTypesRector;

return RectorConfig::configure()
Expand All @@ -51,10 +53,12 @@
])
->withSkip([
// Specific rules to skip based on project coding standards.
AddOverrideAttributeToOverriddenMethodsRector::class,
ArrayToFirstClassCallableRector::class,
CatchExceptionNameMatchingTypeRector::class,
ChangeSwitchToMatchRector::class,
CompleteDynamicPropertiesRector::class,
DisallowedEmptyRuleFixerRector::class,
InlineArrayReturnAssignRector::class,
NewlineAfterStatementRector::class,
NewlineBeforeNewAssignSetRector::class,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -125,38 +125,38 @@
@@ -120,38 +120,38 @@
"[web-root]/update.php": false
},
"locations": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -43,10 +43,10 @@
@@ -45,10 +45,10 @@

return RectorConfig::configure()
->withPaths([
Expand All @@ -13,7 +13,7 @@
__DIR__ . '/tests',
])
->withSkip([
@@ -64,8 +64,8 @@
@@ -68,8 +68,8 @@
PrivatizeLocalGetterToPropertyRector::class,
RemoveAlwaysTrueIfConditionRector::class,
RemoveUnusedPublicMethodParameterRector::class => [
Expand All @@ -24,7 +24,7 @@
],
RenameForeachValueVariableToMatchExprVariableRector::class,
RenameForeachValueVariableToMatchMethodCallReturnTypeRector::class,
@@ -74,7 +74,7 @@
@@ -78,7 +78,7 @@
RenameVariableToMatchNewTypeRector::class,
SimplifyEmptyCheckOnEmptyArrayRector::class,
StringClassNameToClassConstantRector::class => [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -125,38 +125,38 @@
@@ -120,38 +120,38 @@
"[web-root]/update.php": false
},
"locations": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@ -43,10 +43,10 @@
@@ -45,10 +45,10 @@

return RectorConfig::configure()
->withPaths([
Expand All @@ -13,7 +13,7 @@
__DIR__ . '/tests',
])
->withSkip([
@@ -64,8 +64,8 @@
@@ -68,8 +68,8 @@
PrivatizeLocalGetterToPropertyRector::class,
RemoveAlwaysTrueIfConditionRector::class,
RemoveUnusedPublicMethodParameterRector::class => [
Expand All @@ -24,7 +24,7 @@
],
RenameForeachValueVariableToMatchExprVariableRector::class,
RenameForeachValueVariableToMatchMethodCallReturnTypeRector::class,
@@ -74,7 +74,7 @@
@@ -78,7 +78,7 @@
RenameVariableToMatchNewTypeRector::class,
SimplifyEmptyCheckOnEmptyArrayRector::class,
StringClassNameToClassConstantRector::class => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"drupal/stage_file_proxy": "__VERSION__",
- "drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"webflo/drupal-finder": "__VERSION__"
"drush/drush": "__VERSION__"
},
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
- "drupal/stage_file_proxy": "__VERSION__",
"drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"drush/drush": "__VERSION__"
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- "drupal/stage_file_proxy": "__VERSION__",
"drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"drush/drush": "__VERSION__"
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"drupal/stage_file_proxy": "__VERSION__",
- "drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"webflo/drupal-finder": "__VERSION__"
"drush/drush": "__VERSION__"
},
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"drupal/stage_file_proxy": "__VERSION__",
"drupal/testmode": "__VERSION__",
- "drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"webflo/drupal-finder": "__VERSION__"
"drush/drush": "__VERSION__"
},
"require-dev": {
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
- "drupal/stage_file_proxy": "__VERSION__",
- "drupal/testmode": "__VERSION__",
- "drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
"webflo/drupal-finder": "__VERSION__"
"drush/drush": "__VERSION__"
},
"require-dev": {
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
"drupal/coffee": "__VERSION__",
"drupal/config_split": "__VERSION__",
"drupal/config_update": "__VERSION__",
@@ -33,7 +34,9 @@
@@ -32,7 +33,9 @@
"drupal/stage_file_proxy": "__VERSION__",
"drupal/testmode": "__VERSION__",
"drupal/xmlsitemap": "__VERSION__",
"drush/drush": "__VERSION__",
- "webflo/drupal-finder": "__VERSION__"
- "drush/drush": "__VERSION__"
+ "drush/drush": "__VERSION__",
+ "symfony/http-client": "^6.4 || ^7.0",
+ "webflo/drupal-finder": "__VERSION__",
+ "wikimedia/composer-merge-plugin": "__VERSION__"
},
"require-dev": {
"behat/behat": "__VERSION__",
@@ -70,7 +73,7 @@
@@ -65,7 +68,7 @@
"url": "https://packages.drupal.org/8"
}
],
Expand All @@ -26,7 +26,7 @@
"prefer-stable": true,
"autoload-dev": {
"classmap": [
@@ -88,7 +91,11 @@
@@ -83,7 +86,11 @@
"phpstan/extension-installer": true,
"pyrech/composer-changelogs": true,
"symfony/runtime": true,
Expand All @@ -39,7 +39,7 @@
},
"bump-after-update": true,
"discard-changes": true,
@@ -163,6 +170,17 @@
@@ -158,6 +165,17 @@
"patchLevel": {
"drupal/core": "-p2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@@ -44,7 +44,6 @@
@@ -46,7 +46,6 @@
return RectorConfig::configure()
->withPaths([
__DIR__ . '/web/modules/custom',
- __DIR__ . '/web/themes/custom',
__DIR__ . '/web/sites/default/settings.php',
__DIR__ . '/web/sites/default/includes',
__DIR__ . '/tests',
@@ -65,7 +64,6 @@
@@ -69,7 +68,6 @@
RemoveAlwaysTrueIfConditionRector::class,
RemoveUnusedPublicMethodParameterRector::class => [
__DIR__ . '/web/modules/custom/*/src/Hook/*',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@@ -44,7 +44,6 @@
@@ -46,7 +46,6 @@
return RectorConfig::configure()
->withPaths([
__DIR__ . '/web/modules/custom',
- __DIR__ . '/web/themes/custom',
__DIR__ . '/web/sites/default/settings.php',
__DIR__ . '/web/sites/default/includes',
__DIR__ . '/tests',
@@ -65,7 +64,6 @@
@@ -69,7 +68,6 @@
RemoveAlwaysTrueIfConditionRector::class,
RemoveUnusedPublicMethodParameterRector::class => [
__DIR__ . '/web/modules/custom/*/src/Hook/*',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@@ -44,7 +44,6 @@
@@ -46,7 +46,6 @@
return RectorConfig::configure()
->withPaths([
__DIR__ . '/web/modules/custom',
- __DIR__ . '/web/themes/custom',
__DIR__ . '/web/sites/default/settings.php',
__DIR__ . '/web/sites/default/includes',
__DIR__ . '/tests',
@@ -65,7 +64,6 @@
@@ -69,7 +68,6 @@
RemoveAlwaysTrueIfConditionRector::class,
RemoveUnusedPublicMethodParameterRector::class => [
__DIR__ . '/web/modules/custom/*/src/Hook/*',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
@@ -38,26 +38,17 @@
"require-dev": {
"behat/behat": "__VERSION__",
"dantleech/gherkin-lint": "__VERSION__",
- "dealerdirect/phpcodesniffer-composer-installer": "__VERSION__",
@@ -40,17 +40,10 @@
"drevops/behat-format-progress-fail": "__VERSION__",
"drevops/behat-screenshot": "__VERSION__",
"drevops/behat-steps": "__VERSION__",
- "drevops/phpcs-standard": "__VERSION__",
- "drupal/coder": "__VERSION__",
"drupal/drupal-extension": "__VERSION__",
"ergebnis/composer-normalize": "__VERSION__",
"lullabot/mink-selenium2-driver": "__VERSION__",
"lullabot/php-webdriver": "__VERSION__",
- "mglaman/phpstan-drupal": "__VERSION__",
"mikey179/vfsstream": "__VERSION__",
- "palantirnet/drupal-rector": "__VERSION__",
Expand All @@ -21,11 +15,8 @@
- "phpstan/phpstan": "__VERSION__",
"phpunit/phpunit": "__VERSION__",
"pyrech/composer-changelogs": "__VERSION__",
- "rector/rector": ">=__VERSION__ <__VERSION__",
"softcreatr/jsonpath": "^0.10 || ^1.0",
"vincentlanglet/twig-cs-fixer": "__VERSION__"
},
@@ -81,11 +72,9 @@
@@ -76,11 +69,9 @@
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
@@ -38,26 +38,17 @@
"require-dev": {
"behat/behat": "__VERSION__",
"dantleech/gherkin-lint": "__VERSION__",
- "dealerdirect/phpcodesniffer-composer-installer": "__VERSION__",
@@ -40,17 +40,10 @@
"drevops/behat-format-progress-fail": "__VERSION__",
"drevops/behat-screenshot": "__VERSION__",
"drevops/behat-steps": "__VERSION__",
- "drevops/phpcs-standard": "__VERSION__",
- "drupal/coder": "__VERSION__",
"drupal/drupal-extension": "__VERSION__",
"ergebnis/composer-normalize": "__VERSION__",
"lullabot/mink-selenium2-driver": "__VERSION__",
"lullabot/php-webdriver": "__VERSION__",
- "mglaman/phpstan-drupal": "__VERSION__",
"mikey179/vfsstream": "__VERSION__",
- "palantirnet/drupal-rector": "__VERSION__",
Expand All @@ -21,11 +15,8 @@
- "phpstan/phpstan": "__VERSION__",
"phpunit/phpunit": "__VERSION__",
"pyrech/composer-changelogs": "__VERSION__",
- "rector/rector": ">=__VERSION__ <__VERSION__",
"softcreatr/jsonpath": "^0.10 || ^1.0",
"vincentlanglet/twig-cs-fixer": "__VERSION__"
},
@@ -81,11 +72,9 @@
@@ -76,11 +69,9 @@
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
@@ -36,15 +36,9 @@
"webflo/drupal-finder": "__VERSION__"
@@ -35,23 +35,15 @@
"drush/drush": "__VERSION__"
},
"require-dev": {
- "behat/behat": "__VERSION__",
- "dantleech/gherkin-lint": "__VERSION__",
"dealerdirect/phpcodesniffer-composer-installer": "__VERSION__",
- "drevops/behat-format-progress-fail": "__VERSION__",
- "drevops/behat-screenshot": "__VERSION__",
- "drevops/behat-steps": "__VERSION__",
"drevops/phpcs-standard": "__VERSION__",
"drupal/coder": "__VERSION__",
- "drupal/drupal-extension": "__VERSION__",
"ergebnis/composer-normalize": "__VERSION__",
"lullabot/mink-selenium2-driver": "__VERSION__",
"lullabot/php-webdriver": "__VERSION__",
@@ -52,10 +46,8 @@
"mglaman/phpstan-drupal": "__VERSION__",
"mikey179/vfsstream": "__VERSION__",
"palantirnet/drupal-rector": "__VERSION__",
"phpcompatibility/php-compatibility": "__VERSION__",
Expand All @@ -23,9 +20,9 @@
"phpstan/phpstan": "__VERSION__",
- "phpunit/phpunit": "__VERSION__",
"pyrech/composer-changelogs": "__VERSION__",
"rector/rector": ">=__VERSION__ <__VERSION__",
"softcreatr/jsonpath": "^0.10 || ^1.0",
@@ -72,11 +64,6 @@
"vincentlanglet/twig-cs-fixer": "__VERSION__"
@@ -67,11 +59,6 @@
],
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
Loading