Skip to content

Commit 069c17d

Browse files
committed
missing license for composer, change check logic
1 parent c3de080 commit 069c17d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "fused/blade-future",
33
"description": "Adds a @future directive to Blade to apply special styling to elements to highlight they're for future features.",
4+
"license": "MIT",
45
"require": {
56
"illuminate/view": "^12.0"
67
},

src/BladeFutureServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public function boot(): void
1616
{
1717
if (
1818
! $this->app->environment(config('blade-future.environments'))
19-
|| (
19+
&& ! (
2020
$this->app->runningUnitTests()
21-
&& config('blade-future.remove_during_tests')
21+
&& ! config('blade-future.remove_during_tests')
2222
)
2323
) {
2424
Blade::if('future', fn () => false);

0 commit comments

Comments
 (0)