Skip to content
  1. Apr 14, 2024
  2. Apr 03, 2024
  3. Apr 02, 2024
    • mscieszka's avatar
      #515 fix PHPStan level 3 errors · 5df0b746
      mscieszka authored
      Use a PHPStan job using max PHP version, add some missing types, set PHPStan level 3, fix all of the PHPStan level 3 errors, numerate assertion messages in testDumpersOutput().
      5df0b746
  4. Mar 30, 2024
  5. Mar 29, 2024
  6. Mar 27, 2024
    • mscieszka's avatar
      Use DI when populating fields and generating nodes · d9be9f2e
      mscieszka authored
      Inject the entity field manager service in DevelGenerateBase as it is used in several DevelGenerate plugins.
      
      Move the logic that adds comments and statistics from the devel_generate.module's 'hook_entity_insert' implementation to ContentDevelGenerate as it was used for node generation.
      
      Change approach to not override constructors in devel_generate plugins.
      d9be9f2e
  7. Mar 23, 2024
  8. Mar 22, 2024
  9. Mar 20, 2024
  10. Mar 19, 2024
    • mscieszka's avatar
      #434 use dependency injection in classes · 30225155
      mscieszka authored
      use dependency injection wherever possible, replace non-extent `\Drupal\Core\Datetime\TimeInterface` with `\Drupal\Component\Datetime\TimeInterface`, make type hints for variables more specific (e.g. `UserStorageInterface` instead of `EntityStorageInterface`), move optional arguments to the end, add some missing types, restore the `DrupalPractice.Objects.GlobalClass.GlobalClass` sniff as it now passes.
      30225155
  11. Mar 16, 2024
  12. Mar 13, 2024
    • mscieszka's avatar
      #498 fix Drupal deprecations · 6a37d649
      mscieszka authored
      Apply Drupal Rector's RenameClassRector, ProtectedStaticModulesPropertyRector, AddReturnTypeDeclarationRector rules to adjust the codebase based on Drupal Rector's Drupal 8/9/10 deprecation set.
      
      Replace deprecated functions: user_role_names, drupal_theme_rebuild, theme_get_registry, user_roles.
      
      Fix call to deprecated method loadRevision() of class EntityStorageInterface.
      6a37d649
  13. Mar 11, 2024
  14. Mar 10, 2024
  15. Mar 08, 2024
  16. Mar 07, 2024
  17. Feb 25, 2024
  18. Nov 26, 2023
  19. Nov 25, 2023
  20. Jul 05, 2023
  21. Dec 02, 2022
  22. Sep 09, 2022
  23. Aug 24, 2022
  24. Apr 25, 2022
  25. Jun 18, 2020
  26. Jun 13, 2020
  27. May 31, 2020
  28. May 29, 2020
  29. May 25, 2020
  30. May 17, 2020
  31. May 01, 2020
  32. Apr 16, 2020