Skip to content

Instantly share code, notes, and snippets.

View realodix's full-sized avatar

Kei realodix

  • Jabodetabek, Indonesia
View GitHub Profile

Edit Commit

git rebase -i HEAD~N

git push origin HEAD --force

Delete a Git Branch Both Locally and Remotely

<?php
// Rename to .php_cs.dist
// PHP-CS-Fixer v2.16
// Based on https://docs.styleci.io/presets#laravel
$rules = [
'@Symfony' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'], // short_array_syntax
'compact_nullable_typehint' => true,
'heredoc_to_nowdoc' => true,
@realodix
realodix / phpinsights.php
Last active August 15, 2020 20:48
PHP Insights Configuration
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Preset
|--------------------------------------------------------------------------
|
| Supported: "default", "laravel", "symfony", "magento2", "drupal"
{"version":1,"resource":"file:///g%3A/laragon/www/relax/src/Commands/GenerateConfigCommand.php","entries":[{"id":"lvSX.php","timestamp":1660566872938},{"id":"ya5M.php","timestamp":1660566936163},{"id":"2pB7.php","timestamp":1660591743631},{"id":"bzoI.php","source":"searchReplace.source","timestamp":1660639737371}]}