Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apigee M10n Test & lint self deprecation notices #490

Open
kedarkhaire opened this issue Jun 19, 2024 · 0 comments
Open

Apigee M10n Test & lint self deprecation notices #490

kedarkhaire opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working deprecation

Comments

@kedarkhaire
Copy link
Collaborator

Description

  1. Using a translatable string as a category for field type is deprecated in drupal:1***.2.*** and is removed from drupal:11... See https://www.drupal.org/node/3375748
    1352x in AddCreditCustomAmountTest::testPriceRangeFieldValidation from Drupal\Tests\apigee_m1n_add_credit\FunctionalJavascript
    1352x in AddCreditCustomAmountTest::testMinimumAmountValidationOnCheckout from Drupal\Tests\apigee_m1
    n_add_credit\FunctionalJavascript
    114x in AddCreditCustomAmountTest::testUnitPriceValidation from Drupal\Tests\apigee_m1n_add_credit\FunctionalJavascript
    114x in AddCreditCustomAmountTest::testPriceRangeFieldValidation from Drupal\Tests\apigee_m1n_add_credit\FunctionalJavascript\ApigeeX
    114x in AddCreditCustomAmountTest::testUnitPriceValidation from Drupal\Tests\apigee_m1n_add_credit\FunctionalJavascript\ApigeeX

  2. The key provider 'storage_method' definition entry is deprecated in key:1.18.*** and is removed from key:2... Use the 'tags' definition entry instead. See https://www.drupal.org/node/33647***1
    6x in AddCreditCustomAmountTest::testPriceRangeFieldValidation from Drupal\Tests\apigee_m1n_add_credit\FunctionalJavascript\ApigeeX
    6x in AddCreditCustomAmountTest::testUnitPriceValidation from Drupal\Tests\apigee_m1
    n_add_credit\FunctionalJavascript\ApigeeX
    6x in RatePlanStorageTest::testIsValidId from Drupal\Tests\apigee_m1n\Kernel\ApigeeX\Entity\Render
    4x in AddCreditCustomAmountTest::testMinimumAmountValidationOnCheckout from Drupal\Tests\apigee_m1
    n_add_credit\FunctionalJavascript\ApigeeX
    4x in RouteValidateMonetizationEnabledFunctionalTest::testRoutesWithMonetizationDisabled from Drupal\Tests\apigee_m1***n\Functional\ApigeeX

  3. Installing the table sequences with the method KernelTestBase::installSchema() is deprecated in drupal:1***.2.*** and is removed from drupal:12... See https://www.drupal.org/node/3349345
    3x in RatePlanStorageTest::testIsValidId from Drupal\Tests\apigee_m1n\Kernel\ApigeeX\Entity\Render
    1x in AddCreditConfigStatusKernelTest::testStatusReport from Drupal\Tests\apigee_m1
    n_add_credit\Kernel\ApigeeX
    1x in AccessKernelTest::testAll from Drupal\Tests\apigee_m1n\Kernel\ApigeeX\Access
    1x in BuyApisControllerKernelTest::testMyRedirects from Drupal\Tests\apigee_m1
    n\Kernel\ApigeeX\Controller
    1x in BuyApisControllerKernelTest::testControllerResponse from Drupal\Tests\apigee_m1***n\Kernel\ApigeeX\Controller

  4. Passing null to the $typedConfigManager parameter of ConfigFormBase::__construct() is deprecated in drupal:1***.2.*** and must be an instance of \Drupal\Core\Config\TypedConfigManagerInterface in drupal:11... See https://www.drupal.org/node/34***414***
    3x in AddCreditConfigFormTest::testConfigFormUi from Drupal\Tests\apigee_m1n_add_credit\Functional\ApigeeX
    3x in GeneralSettingsConfigFormTest::testConfigFormUi from Drupal\Tests\apigee_m1
    n_add_credit\Functional\ApigeeX

Steps to Reproduce

Steps to reproduce the behavior:

  1. Deprecation Notices are seen in Test and Lint

Expected Behavior

No deprecations or error messages should be visible

Version Info

Drupal 10.2 ^ & PHP 8.1^

@kedarkhaire kedarkhaire added bug Something isn't working deprecation labels Jun 19, 2024
@kedarkhaire kedarkhaire self-assigned this Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deprecation
Projects
None yet
Development

No branches or pull requests

1 participant