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 1
1
vendor
2
2
composer.lock
3
3
.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 11
11
}
12
12
],
13
13
"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"
17
17
},
18
18
"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"
21
21
},
22
22
"autoload" : {
23
23
"psr-4" : {
Original file line number Diff line number Diff line change 2
2
3
3
namespace Signifly \SchedulingTasks ;
4
4
5
- use ReflectionClass ;
6
- use Illuminate \Support \Str ;
7
- use Symfony \Component \Finder \Finder ;
8
5
use Illuminate \Console \Scheduling \Schedule ;
9
6
use Illuminate \Contracts \Foundation \Application ;
7
+ use Illuminate \Support \Str ;
8
+ use ReflectionClass ;
9
+ use Symfony \Component \Finder \Finder ;
10
10
11
11
class TaskLoader
12
12
{
Original file line number Diff line number Diff line change 3
3
namespace Signifly \SchedulingTasks \Test \Console ;
4
4
5
5
use Illuminate \Console \Scheduling \Schedule ;
6
- use Signifly \SchedulingTasks \Facades \TaskLoader ;
7
6
use Illuminate \Foundation \Console \Kernel as ConsoleKernel ;
7
+ use Signifly \SchedulingTasks \Facades \TaskLoader ;
8
8
9
9
class Kernel extends ConsoleKernel
10
10
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Signifly \SchedulingTasks \Test \Console \Tasks ;
4
4
5
- use Signifly \SchedulingTasks \TaskContract ;
6
5
use Illuminate \Console \Scheduling \Schedule ;
6
+ use Signifly \SchedulingTasks \TaskContract ;
7
7
8
8
class BackupDaily implements TaskContract
9
9
{
You can’t perform that action at this time.
0 commit comments