Search for valid

  1. Search 7.x for valid
  2. Search 9.5.x for valid
  3. Search 8.9.x for valid
  4. Search 10.3.x for valid
  5. Other projects
Title Object type File name Summary
ComposerInspector::validateProject function core/modules/package_manager/src/ComposerInspector.php Checks that `composer.json` is valid and `composer.lock` exists.
ComposerInspectorTest::testComposerValidateIsCalled function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php @covers ::validate
ComposerMinimumStabilityValidator class core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Checks that the packages to install meet the minimum stability.
ComposerMinimumStabilityValidator.php file core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::validate function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Validates composer minimum stability.
ComposerMinimumStabilityValidator::__construct function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php @covers \Drupal\package_manager\Validator\ComposerMinimumStabilityValidator
@group package_manager
@internal
ComposerMinimumStabilityValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php
ComposerMinimumStabilityValidatorTest::testPreRequireEvent function core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php Tests error if requested version is less stable than the minimum: stable.
ComposerPatchesValidator class core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the configuration of the cweagans/composer-patches plugin.
ComposerPatchesValidator.php file core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::computePatcherStatus function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Computes the status of the patcher plugin in a particular directory.
ComposerPatchesValidator::createErrorMessage function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Appends a link to online help to an error message.
ComposerPatchesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::PLUGIN_NAME constant core/modules/package_manager/src/Validator/ComposerPatchesValidator.php The name of the plugin being analyzed.
ComposerPatchesValidator::validate function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the status of the patcher plugin.
ComposerPatchesValidator::__construct function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php @covers \Drupal\package_manager\Validator\ComposerPatchesValidator
@group package_manager
@internal
ComposerPatchesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::ABSENT constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::CONFIG_ALLOWED_PLUGIN constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::EXTRA_EXIT_ON_PATCH_FAILURE constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::providerErrorDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Data provider for testErrorDuringPreApply() and testHelpLink().
ComposerPatchesValidatorTest::providerErrorDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Data provider for testErrorDuringPreCreate().
ComposerPatchesValidatorTest::REQUIRE_PACKAGE_FROM_ROOT constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::REQUIRE_PACKAGE_INDIRECTLY constant core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPatchesValidatorTest::testErrorDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Tests the patcher's presence and configuration are validated on pre-apply.
ComposerPatchesValidatorTest::testErrorDuringPreApplyWithHelp function core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Tests that validation errors can carry links to help.
ComposerPatchesValidatorTest::testErrorDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Tests that the patcher configuration is validated during pre-create.
ComposerPluginsValidator class core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Validates the allowed Composer plugins, both in active and stage.
ComposerPluginsValidator.php file core/modules/package_manager/src/Validator/ComposerPluginsValidator.php
ComposerPluginsValidator::$additionalTrustedComposerPlugins property core/modules/package_manager/src/Validator/ComposerPluginsValidator.php The additional trusted Composer plugin package names.
ComposerPluginsValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php
ComposerPluginsValidator::normalizePackageName function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Normalizes a package name.
ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_MODIFY constant core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Composer plugins known to modify other packages, but are validated.
ComposerPluginsValidator::SUPPORTED_PLUGINS_THAT_DO_NOT_MODIFY constant core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Composer plugins known to NOT modify other packages.
ComposerPluginsValidator::validate function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php Validates the allowed Composer plugins, both in active and stage.
ComposerPluginsValidator::__construct function core/modules/package_manager/src/Validator/ComposerPluginsValidator.php
ComposerPluginsValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php @covers \Drupal\package_manager\Validator\ComposerPluginsValidator
@group package_manager
@internal
ComposerPluginsValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php
ComposerPluginsValidatorTest::providerComplexInvalidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Generates complex invalid test cases based on the simple test cases.
ComposerPluginsValidatorTest::providerSimpleInvalidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Generates simple invalid test cases.
ComposerPluginsValidatorTest::providerSimpleValidCases function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Generates simple test cases.
ComposerPluginsValidatorTest::testAddDisallowedPlugin function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests adding a plugin that's not allowed by the allow-plugins config.
ComposerPluginsValidatorTest::testInsecureConfigurationFailsValidationPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests `config.allow-plugins: true` fails validation during pre-apply.
ComposerPluginsValidatorTest::testInsecureConfigurationFailsValidationPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests `config.allow-plugins: true` fails validation during pre-create.
ComposerPluginsValidatorTest::testValidationAfterTrustingDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests additional composer plugins can be trusted during pre-apply.
ComposerPluginsValidatorTest::testValidationAfterTrustingDuringPreCreate function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests additional composer plugins can be trusted during pre-create.
ComposerPluginsValidatorTest::testValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php Tests composer plugins are validated during pre-apply.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.