Skip to content

Instantly share code, notes, and snippets.

View eerison's full-sized avatar
🇧🇷
🇩🇪

Erison Silva eerison

🇧🇷
🇩🇪
View GitHub Profile
@eerison
eerison / mac-setting.md
Last active September 21, 2023 11:26
Install astro
  • Install astromvim
  • php auto complete
  • Symfony autocomplete
  • run tests
  • debug

Download nvim

@eerison
eerison / rector-sonata-core-bundle.php
Last active February 2, 2022 18:35
This rule help you to remove the deprecated core bundle from sonata admin project.
<?php
$parameters = $containerConfigurator->parameters();
$parameters->set(Option::SKIP, [
StringClassNameToClassConstantRector::class => [
__DIR__ . '/rector.php',
],
]);
// it need to be used with rector php: https://github.com/rectorphp/rector