We're planning to show a presentation about the coding standards on Friday at 13:00.
This document includes preliminary information about the coding style additions we're going to propose.
We're following PSR-2 at the moment.
1- Provide your queue configuration using config.
$config = new Config([
'SampleQueue' => [
'type' => 'Database',
'class' => 'PostgresQueue',
'attributes' => [],
'actions' => [
'consume' => 'SkipLockBasedConsumeAction',| homestead: Are you sure you want to destroy the 'homestead' VM? [y/N] ==> homestead: Forcing shutdown of VM... | |
| ==> homestead: Destroying VM and associated drives... | |
| ==> homestead: [vagrant-hostsupdater] Removing hosts | |
| Bringing machine 'homestead' up with 'virtualbox' provider... | |
| ==> homestead: Importing base box 'laravel/homestead'... | |
| [KProgress: 10% | |
| [KProgress: 60% | |
| [KProgress: 90% | |
| [K==> homestead: Matching MAC address for NAT networking... |
Just visit the following link using your browser from an alfred installed computer.
alfred://customsearch/Tureng/tureng/utf8/nospace/http%3A%2F%2Ftureng.com%2Ftr%2Fturkce-ingilizce%2F%7Bquery%7D
| <?php | |
| $header = <<<'EOF' | |
| This file is part of GSS GoHub Software. | |
| (c) Gözen Systems, 2018. | |
| EOF; | |
| $config = PhpCsFixer\Config::create() | |
| ->setRiskyAllowed(true) | |
| ->setRules([ |
| <code_scheme name="PSR Erdem"> | |
| <PHPCodeStyleSettings> | |
| <option name="ALIGN_KEY_VALUE_PAIRS" value="true" /> | |
| <option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" /> | |
| <option name="ALIGN_PHPDOC_COMMENTS" value="true" /> | |
| <option name="COMMA_AFTER_LAST_ARRAY_ELEMENT" value="true" /> | |
| <option name="PHPDOC_BLANK_LINES_AROUND_PARAMETERS" value="true" /> | |
| <option name="PHPDOC_WRAP_LONG_LINES" value="true" /> | |
| <option name="LOWER_CASE_BOOLEAN_CONST" value="true" /> | |
| <option name="LOWER_CASE_NULL_CONST" value="true" /> |
| <scheme name="Pure" version="142" parent_scheme="Default"> | |
| <metaInfo> | |
| <property name="created">2017-03-04T23:51:55</property> | |
| <property name="ide">PhpStorm</property> | |
| <property name="ideVersion">2016.3.2.0.0</property> | |
| <property name="modified">2017-03-04T23:56:11</property> | |
| <property name="originalScheme">Snappy</property> | |
| </metaInfo> | |
| <option name="LINE_SPACING" value="1.4" /> | |
| <option name="EDITOR_FONT_SIZE" value="13" /> |
| # Edit this using atom. | |
| alias edit-aliases="atom ~/.aliases.bash" | |
| # Laravel & CodeCeption, PhpSpec. | |
| alias art="php artisan" | |
| alias spec="./vendor/bin/phpspec" | |
| alias cept="./vendor/bin/codecept" | |
| # PHPCS | |
| alias phpcs="./vendor/bin/phpcs" |