- Jetbrains toolbox.
- Php Inspections (link).
- Docker v PhpStormu.
- Live templates.
- Smart regex testing.
- "Mark Directory as" feature.
- Gitlab plugin (GitLab Projects)
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
public function getPairs(array $source, string $key, string $value): array | |
{ | |
$result = []; | |
$methodPrefixes = ['get', 'is']; | |
$methodName = function (string $prefix, string $column) { | |
return $prefix . Strings::firstUpper($column); | |
}; | |
$getAllProperties = function ($class) { |
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
public function getPairs(array $source, string $key, string $value): array | |
{ | |
$result = []; | |
$methodPrefixes = ['get', 'is']; | |
$methodName = function (string $prefix, string $column) { | |
return $prefix . Strings::firstUpper($column); | |
}; | |
$getAllProperties = function ($class) { |
- In PhpStorm
Tools > Tasks & Content > Configure servers
. - Add Server type
Generic
.
- Server URL:
https://api.bitbucket.org/2.0/repositories/*YOUR LOGIN*/*REPO_NAME*
. - Fill Username and Password.
- Put a tick in the Use HTTP authentication.
- Put a tick in the Add commit message.
#{id} {summary}
When commiting ID will be set tasks.
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
<script type="text/javascript"> | |
// switch (LIB_GRAPHICS.device) { | |
// case "smart": | |
// jQuery('.grafika-obal').addClass('smart'); | |
// break; | |
// default: | |
// jQuery('.grafika-obal').addClass('desktop'); | |
// } |
This VPS configuration is great for Nette framework.
- Nginx (latest stable version)
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 Sheansro\Models; | |
/** | |
* Class AddressToCoordinates | |
* @package Sheansro\Models | |
* @author Ondřej Misák <email@ondrejmisak.cz> | |
*/ |