Skip to content

Commit

Permalink
Implement new php-cs-fixer into PHPStorm project to improve development
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneEveritt committed Jun 3, 2017
1 parent 8b762cb commit 8c6e891
Show file tree
Hide file tree
Showing 5 changed files with 641 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.vagrant/*
.vscode/*
storage/framework/*
/.idea

composer.lock
node_modules
Expand Down
7 changes: 7 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

require_once __DIR__ . '/vendor/sllh/php-cs-fixer-styleci-bridge/autoload.php';

use SLLH\StyleCIBridge\ConfigBridge;

return ConfigBridge::create();
6 changes: 6 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
preset: laravel
risky: false
disabled:
- concat_without_spaces
enabled:
- concat_with_spaces
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Pterodactyl Panel",
"name": "pterodactyl/panel",
"description": "The free, open-source game management panel. Supporting Minecraft, Spigot, BungeeCord, and SRCDS servers.",
"license": "MIT",
"authors": [
Expand Down Expand Up @@ -38,10 +38,12 @@
"webpatser/laravel-uuid": "2.0.1"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.3",
"friendsofphp/php-cs-fixer": "1.*",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7",
"barryvdh/laravel-ide-helper": "^2.3"
"sllh/php-cs-fixer-styleci-bridge": "^2.1"
},
"autoload": {
"classmap": [
Expand Down
Loading

0 comments on commit 8c6e891

Please sign in to comment.