This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// editor | |
"editor.fontLigatures": true, | |
// "editor.fontSize": 16, | |
"editor.fontWeight": "380", | |
"editor.guides.indentation": false, | |
// "editor.fontFamily": "MonoLisa", | |
// "editor.fontFamily": "Monaspace Argon", | |
// "editor.fontFamily": "Operator Mono", | |
// "editor.fontFamily": "ZedMono Nerd Font", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- Symplify\PHPStanRules\Rules\ForbiddenExtendOfNonAbstractClassRule | |
- Symplify\PHPStanRules\Rules\Explicit\ExplicitClassPrefixSuffixRule | |
- Symplify\PHPStanRules\Rules\ForbiddenMultipleClassLikeInOneFileRule | |
- Symplify\PHPStanRules\Rules\ForbiddenParamTypeRemovalRule | |
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule | |
- Symplify\PHPStanRules\Rules\NoAbstractMethodRule | |
- Symplify\PHPStanRules\Rules\NoDynamicNameRule | |
- Symplify\PHPStanRules\Rules\NoEmptyClassRule | |
- Symplify\PHPStanRules\Rules\NoMissingDirPathRule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Baixar o powershell: https://learn.microsoft.com/pt-br/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#winget | |
- NerdFont: https://www.nerdfonts.com/font-downloads | |
- Oh My Posh: https://ohmyposh.dev/ | |
- Criar arquivo de config: .$PROFILE ou code $PROFILE | |
- Instalar PSReadline: Install-Module PSReadLine -AllowPrerelease -Force | |
- Instalar icones: Import-Module -Name Terminal-Icons | |
- Apelido para comandos: | |
function executeArtisanCli { | |
php artisan $args | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.type.storage,.type.storage.declaration, .storage.class.modifier, .mtki { | |
font-family: 'Victor Mono'; | |
font-size: 1.1em; | |
} | |
.type.storage.arrow.function { | |
font-family: 'JetBrains Mono' | |
} | |
.decorator.name, .decorator.punctuation:not(.block), .import.keyword { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"terminal.integrated.profiles.windows": { | |
"Cmder": { | |
"path": ["${env:windir}\\System32\\cmd.exe"], | |
"env": { | |
"CMDER_ROOT": "C:\\tools\\cmder" | |
}, | |
"args": ["/k", "%CMDER_ROOT%\\vendor\\bin\\vscode_init.cmd"] | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.cursors-layer .cursor { | |
/* background: linear-gradient(to bottom, #3edd04, #a1ff54); */ | |
background: linear-gradient(to bottom, #c906ff, #ffd607); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.cursorWidth": 5, | |
"vscode_custom_css.imports": ["file:///c:/tools/vscode/customCursors.css"], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace PHPSTORM_META; | |
override( | |
\PHPUnit\Framework\TestCase::createMock(0), | |
map(['' => "@&\PHPUnit\Framework\MockObject\MockObject"]) | |
); | |
override( | |
\PHPUnit\Framework\TestCase::createStub(0), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$db = \Config\Database::connect(); | |
$db->transStart(); | |
$builder = $db->table('users'); | |
$builder->where('id', 1); | |
$builder->update([ | |
'firstName' => 'Alexandre' | |
]); |
NewerOlder