Skip to content

Commit

Permalink
Trait InteractsWithCache. w7corp#670
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jun 9, 2017
1 parent 05e1cd2 commit 1fb48bb
Show file tree
Hide file tree
Showing 111 changed files with 1,023 additions and 1,333 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ sftp-config.json
/coverage
/.split
/composer.lock
.php_cs.cache
29 changes: 15 additions & 14 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;

Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);

return Symfony\CS\Config\Config::create()
// use default SYMFONY_LEVEL and extra fixers:
->fixers(array(
'header_comment',
'short_array_syntax',
'ordered_use',
'php_unit_construct',
'strict',
'strict_param',
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules(array(
'@Symfony' => true,
'header_comment' => array('header' => $header),
'array_syntax' => array('syntax' => 'short'),
'ordered_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'php_unit_construct' => true,
'php_unit_strict' => true,
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__.'/src')
->setFinder(
PhpCsFixer\Finder::create()
->exclude('vendor')
->in(__DIR__)
)
;
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"pimple/pimple": "~3.0",
"monolog/monolog": "^1.22",
"overtrue/socialite": ">=1.0.25",
"doctrine/cache": "~1.6",
"guzzlehttp/guzzle": "~6.2.1",
"symfony/http-foundation": "~2.6|~2.7|~2.8|~3.0",
"symfony/psr-http-message-bridge": "~0.3|^1.0"
"symfony/psr-http-message-bridge": "~0.3|^1.0",
"symfony/cache": "^3.3"
},
"require-dev": {
"phpunit/phpunit": "~6.0",
Expand Down
318 changes: 0 additions & 318 deletions src/Application.php

This file was deleted.

Loading

0 comments on commit 1fb48bb

Please sign in to comment.