This repository was archived by the owner on Sep 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +32
-10
lines changed
Expand file tree Collapse file tree 6 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 11vendor
22composer.lock
33.phpunit.result.cache
4+ .php_cs.cache
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ $ finder = Symfony \Component \Finder \Finder::create ()
4+ ->notPath ('vendor ' )
5+ ->in (__DIR__ )
6+ ->name ('*.php ' )
7+ ->notName ('*.blade.php ' )
8+ ->ignoreDotFiles (true )
9+ ->ignoreVCS (true );
10+
11+ return PhpCsFixer \Config::create ()
12+ ->setRules ([
13+ '@PSR2 ' => true ,
14+ 'array_syntax ' => ['syntax ' => 'short ' ],
15+ 'blank_line_after_namespace ' => true ,
16+ 'blank_line_after_opening_tag ' => true ,
17+ 'ordered_imports ' => ['sortAlgorithm ' => 'alpha ' ],
18+ 'no_unused_imports ' => true ,
19+ 'not_operator_with_successor_space ' => true ,
20+ ])
21+ ->setFinder ($ finder );
Original file line number Diff line number Diff line change 1111 }
1212 ],
1313 "require" : {
14- "php" : " ^7.1 " ,
15- "illuminate/console" : " ~5.5.43|~5. 6.0|~5.7.0|~5.8.0|^6 .0" ,
16- "illuminate/support" : " ~5.5.43|~5. 6.0|~5.7.0|~5.8.0|^6 .0"
14+ "php" : " ^7.2.5 " ,
15+ "illuminate/console" : " ^ 6.0|^7 .0" ,
16+ "illuminate/support" : " ^ 6.0|^7 .0"
1717 },
1818 "require-dev" : {
19- "phpunit/phpunit" : " ^7.0|^8.0" ,
20- "orchestra/testbench" : " ~3.5.0|~3.6.0|~3.7.0|~3.8.0|^4 .0"
19+ "phpunit/phpunit" : " ^7.0|^8.0|^9.0 " ,
20+ "orchestra/testbench" : " ^4.0|^5 .0"
2121 },
2222 "autoload" : {
2323 "psr-4" : {
Original file line number Diff line number Diff line change 22
33namespace Signifly \SchedulingTasks ;
44
5- use ReflectionClass ;
6- use Illuminate \Support \Str ;
7- use Symfony \Component \Finder \Finder ;
85use Illuminate \Console \Scheduling \Schedule ;
96use Illuminate \Contracts \Foundation \Application ;
7+ use Illuminate \Support \Str ;
8+ use ReflectionClass ;
9+ use Symfony \Component \Finder \Finder ;
1010
1111class TaskLoader
1212{
Original file line number Diff line number Diff line change 33namespace Signifly \SchedulingTasks \Test \Console ;
44
55use Illuminate \Console \Scheduling \Schedule ;
6- use Signifly \SchedulingTasks \Facades \TaskLoader ;
76use Illuminate \Foundation \Console \Kernel as ConsoleKernel ;
7+ use Signifly \SchedulingTasks \Facades \TaskLoader ;
88
99class Kernel extends ConsoleKernel
1010{
Original file line number Diff line number Diff line change 22
33namespace Signifly \SchedulingTasks \Test \Console \Tasks ;
44
5- use Signifly \SchedulingTasks \TaskContract ;
65use Illuminate \Console \Scheduling \Schedule ;
6+ use Signifly \SchedulingTasks \TaskContract ;
77
88class BackupDaily implements TaskContract
99{
You can’t perform that action at this time.
0 commit comments