Skip to content

Commit

Permalink
Merge pull request #16 from salamwaddah/laravel-5
Browse files Browse the repository at this point in the history
Laravel 5
  • Loading branch information
salamwaddah authored Jul 26, 2020
2 parents 8e82d2f + 6be50bb commit 83d1f2d
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 2,551 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/vendor/
/vendor/
.idea
.php_cs.cache
composer.phar
composer.lock
27 changes: 27 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

$finder = PhpCsFixer\Finder::create()
->exclude('vendor')
->name('*.php')
->in(__DIR__)
;

return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'unary_operator_spaces' => false,
'yoda_style' => false,
'phpdoc_align' => false,
'concat_space' => false,
'combine_consecutive_unsets' => true,
'no_useless_else' => true,
'ordered_class_elements' => true,
'no_useless_return' => true,
'array_syntax' => array('syntax' => 'short'),
'no_closing_tag' => true,
'single_line_after_imports' => false,
'no_superfluous_phpdoc_tags' => false
])
->setFinder($finder)
;
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"laravel 6",
"laravel 7",
"mandrill",
"mailchimp",
"notifications",
"channel",
"driver"
Expand All @@ -33,8 +34,11 @@
"require": {
"php": ">=7.0.0",
"guzzlehttp/guzzle": "^6.5",
"illuminate/notifications": "5.5.* || ^6.0 || ^7.0",
"illuminate/support": "5.5.* || ^6.0 || ^7.0"
"illuminate/notifications": "^5.0 || ^6.0 || ^7.0",
"illuminate/support": "^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16"
},
"minimum-stability": "stable"
}
Loading

0 comments on commit 83d1f2d

Please sign in to comment.