Skip to content

Commit

Permalink
Fix static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
MGatner committed Apr 28, 2022
1 parent 9201a86 commit c887843
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions app/Config/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
ob_end_flush();
}

ob_start(static function ($buffer) {
return $buffer;
});
ob_start(static fn ($buffer) => $buffer);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion app/Entities/Dungeon.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Entities;

use CodeIgniter\Entity;
use CodeIgniter\Entity\Entity;

/**
* Class Dungeon
Expand Down
2 changes: 1 addition & 1 deletion app/Entities/Monster.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Entities;

use CodeIgniter\Entity;
use CodeIgniter\Entity\Entity;

/**
* Class Monster
Expand Down
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// do you need to include constants, class aliases or custom autoloader? files listed will be executed
$rectorConfig->bootstrapFiles([
__DIR__ . '/vendor/codeigniter4/codeigniter4/system/Test/bootstrap.php',
__DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php',
]);

// is there a file you need to skip?
Expand Down

0 comments on commit c887843

Please sign in to comment.