Loading
Commits on Source 49
-
-
-
-
-
-
Moshe Weitzman authored
-
Moshe Weitzman authored
-
Moshe Weitzman authored
-
-
Moshe Weitzman authored
Fix #483 - Typed property Drupal\Core\Form\ConfigFormBase:: must not be accessed before initialization
-
Moshe Weitzman authored
-
mscieszka authored
-
-
-
Moshe Weitzman authored
-
Moshe Weitzman authored
-
mscieszka authored
-
mscieszka authored
The changes come from the DirNameFileConstantToDirConstantRector, TernaryToElvisRector rules.
-
mscieszka authored
The changes come from the StringClassNameToClassConstantRector rule.
-
mscieszka authored
-
mscieszka authored
The changes come from the MultiExceptionCatchRector, RemoveExtraParametersRector rules. Additionally, fix logger that was not working.
-
mscieszka authored
The changes come from the ClosureToArrowFunctionRector rule.
-
mscieszka authored
Add missing array return types based on the Rector's ReturnTypeFromStrictNewArrayRector rule.
-
mscieszka authored
Add missing bool return types based on the Rector's ReturnTypeFromStrictBoolReturnExprRector rule.
-
mscieszka authored
Rector's rules applied: AddArrowFunctionReturnTypeRector, NumericReturnTypeFromStrictScalarReturnsRector, BoolReturnTypeFromStrictScalarReturnsRector, ReturnTypeFromStrictScalarReturnExprRector, ReturnTypeFromReturnDirectArrayRector.
-
mscieszka authored
Based on Rector's TypedPropertyFromStrictConstructorRector rule. Additionally, add missing return statement.
-
mscieszka authored
Changes based on Rector's type declaration rules: ReturnTypeFromStrictNativeCallRector, ReturnTypeFromStrictTypedCallRector, AddMethodCallBasedStrictParamTypeRector, ReturnTypeFromStrictParamRector, ParamTypeByMethodCallTypeRector, AddReturnTypeDeclarationBasedOnParentClassMethodRector, StrictArrayParamDimFetchRector, StrictStringParamConcatRector.
-
mscieszka authored
Applied Rector's SimplifyUselessVariableRector, RemoveUselessVarTagRector rules to align the codebase with the deadCodeLevel rule set to 40 (max level).
-
mscieszka authored
Based on Rector's type coverage level 36, dead code level 40.
-
mscieszka authored
Add types, mostly to the drush_generate module, that were not covered by the Rector type coverage rules.
-
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.
-
mscieszka authored
Move the devel menu lazy building logic from `ToolbarHandler` to a dedicated lazy building service. Use non-static way of passing `processTree` callable.
-
mscieszka authored
-
mscieszka authored
#496 fix deprecation in the .gitlab-ci.yml file by using the recommended 'default-raw' tag for the included template files
-
mscieszka authored
-
mscieszka authored
#503 fix PHPStan warning about missing return statement in EntityDebugController::getEntityWithFieldDefinitions()
-
mscieszka authored
-
mscieszka authored
Changes come from rules: RemoveUnusedVariableInCatchRector, ClassOnThisVariableObjectRector, ClassOnObjectRector, StrStartsWithRector, StrContainsRector, MixedTypeRector
-
mscieszka authored
Based on Rector's ReturnTypeFromReturnNewRector rule.
-
mscieszka authored
-
mscieszka authored
-
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.
-
Moshe Weitzman authored
-
mscieszka authored
-
mscieszka authored
-
mscieszka authored
-
mscieszka authored
-
mscieszka authored
-
Moshe Weitzman authored