Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/AppBoostCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AppBoostCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$commands = [
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/ClearCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ClearCacheCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function() {
$cacheDir = base_path('storage/framework/cache');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/ClearConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ClearConfigCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function () {
app('config')->clearCache();
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/ClearRouteCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ClearRouteCacheCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function() {
Route::clearRouteCache();
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/ClearSessionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ClearSessionCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function() {
$sessionDir = base_path('storage/framework/sessions');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/ConfigCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ConfigCacheCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function() {
Config::clearCache();
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/Cron/CronDaemonCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CronDaemonCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$action = $this->argument('action');

Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/Cron/CronFinishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CronFinishCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$finishId = $this->argument('finish_id');
$shouldReleaseLock = (bool)$this->argument('release_lock');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/Cron/CronListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CronListCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$schedule = new Schedule();
Expand Down
4 changes: 2 additions & 2 deletions src/Phaseolies/Console/Commands/Cron/CronRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class CronRunCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$isDaemon = $this->option('daemon');

Expand Down Expand Up @@ -460,7 +460,7 @@ protected function runInForeground($command, $env): void
if ($process->isSuccessful()) {
// Only show success for non-second-based
if (!$command->isSecondSchedule()) {
$this->displayInfo('Success: ' . $command->getCommand());
$this->info('Success: ' . $command->getCommand());
}
} else {
$this->displayError('Error: ' . $command->getCommand());
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/DeleteCronLockFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class DeleteCronLockFile extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function () {
$cacheDir = base_path() . '/storage/schedule';
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/DopparInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DopparInstallCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
if ($this->confirm('Do you want to install authentication?', false)) {
$this->installAuthentication();
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/KeyGenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class KeyGenerateCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$randomKey = base64_encode(random_bytes(32));
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeAuthCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MakeAuthCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
if ($this->authFilesExist()) {
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeAuthorizerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeAuthorizerCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
4 changes: 2 additions & 2 deletions src/Phaseolies/Console/Commands/MakeConsoleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeConsoleCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down Expand Up @@ -112,7 +112,7 @@ class {$className} extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return Command::SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MakeControllerCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
[$name, $routeName, $isInvokable, $isResource, $isApi, $isComplete] = $this->parseFlags();
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeHookCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeHookCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeMailCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeMailCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeMiddlewareCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeMiddlewareCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(MigrationCreator $creator)
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakePasswordCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MakePasswordCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$password = $this->argument('password');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeProviderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeProviderCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/MakeRequestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeRequestCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(protected MigrationCreator $creator)
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(MigrationCreator $creator)
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CreateSeedCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$name = $this->argument('name');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DBSeedCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$seedName = $this->argument('seed');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct()
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$connection = $this->option('connection') ?: config('database.default');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct()
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$connection = $this->option('connection') ?: config('database.default');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PaginationPublishCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$paginationPath = resource_path('views/vendor/pagination');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BundleCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$name = $this->argument('name');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PresenterCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$name = $this->argument('name');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/RouteCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class RouteCacheCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$cacheDir = base_path('storage/framework/cache');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/RouteListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RouteListCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ServerStartCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$port = $this->argument('port');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ServerStopCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$port = $this->argument('port');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SetCreatablePropertyCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$tableName = $this->argument("table");

Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/StorageLinkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StorageLinkCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$links = config('filesystem.links');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/StorageUnlinkCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class StorageUnlinkCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function() {
$linkPath = public_path('storage');
Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/Tests/UnitTestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UnitTestCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$startTime = microtime(true);

Expand Down
2 changes: 1 addition & 1 deletion src/Phaseolies/Console/Commands/VendorPublishCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct()
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$provider = $this->option('provider');
Expand Down
Loading
Loading