for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
namespace Backpack\CRUD\app\Library\CrudPanel\Enums;
enum ButtonStackEnum : string
{
public const TOP = 'top';
public const LINE = 'line';
public const BOTTOM = 'bottom';
public static function isValid($stack): bool
return in_array($stack, [self::TOP, self::LINE, self::BOTTOM]);
Backpack\CRUD\app\Librar...ms\ButtonStackEnum::TOP
Backpack\CRUD\app\Librar...ButtonStackEnum::BOTTOM
Backpack\CRUD\app\Librar...s\ButtonStackEnum::LINE
}
public static function getValues(): array
return [self::TOP, self::LINE, self::BOTTOM];