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\Tests\config\Models\Enums;
enum StyleEnum
{
case DRAFT;
case PUBLISHED;
public function color(): string
return match ($this) {
StyleEnum::DRAFT => 'red',
StyleEnum::PUBLISHED => 'green',
};
}