Skip to content

Instantly share code, notes, and snippets.

Avatar

Laravel Shift laravel-shift

View GitHub Profile
@laravel-shift
laravel-shift / build.yml
Created Feb 5, 2021
GitHub Action build for laravelshift.com
View build.yml
name: Build
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
services:
mysql:
@laravel-shift
laravel-shift / .php_cs.laravel.php
Last active Apr 19, 2021
PHP CS Fixer - Laravel Coding Style Ruleset
View .php_cs.laravel.php
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => ['=>' => null]
@laravel-shift
laravel-shift / .shiftrc
Last active Apr 14, 2021
Default configuration file for setting Shift preferences
View .shiftrc
; Within this file you may set preferences for Shift.
; These may be used to customize the behavior of the
; Shift bot by disabling or guiding the automation.
; Section to set options for PHP Shifts.
[php]
; The path to the .php_cs config file included
; in your project for Shift to apply your