Skip to content

Commit

Permalink
Merge pull request #919 from portabilis/portabilis-2023-09-07
Browse files Browse the repository at this point in the history
Portabilis patch 07/09/2023
  • Loading branch information
edersoares authored Sep 7, 2023
2 parents 243d2f7 + 9fa9fea commit d7ee6ee
Show file tree
Hide file tree
Showing 8 changed files with 637 additions and 489 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

steps:
- name: Setup PHP
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.build
/database/backups
/database/data
/database/migrations/extras
Expand Down
2 changes: 1 addition & 1 deletion app/Models/Enums/AbsenceDelayType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public function name(): string

public static function getDescriptiveValues(): Collection
{
return collect(self::cases())->map(fn ($item) => $item->name());
return collect(self::cases())->mapWithKeys(fn (AbsenceDelayType $type) => [$type->value => $type->name()]);
}
}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
"sort-packages": true,
"optimize-autoloader": true,
"allow-plugins": {
"dex/composer-plug-and-play": true
"dex/composer-plug-and-play": true,
"pestphp/pest-plugin": true
}
},
"minimum-stability": "dev",
Expand Down
Loading

0 comments on commit d7ee6ee

Please sign in to comment.