Skip to content

Commit

Permalink
Lock MoonShine Impersonate v1.x to MoonShine v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Jampire committed Dec 14, 2023
1 parent 555d68b commit 0ac959d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
/build export-ignore
/tests export-ignore
/CHANGELOG.md export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore
/phpunit.xml.dist export-ignore
/pint.json export-ignore
/rector.php export-ignore
/Roadmap.md export-ignore
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for 1.x

## [1.4.1 (2023-12-15)](https://github.com/Jampire/moonshine-impersonate/compare/v1.4.0...v1.4.1)

### Adds

- Locked to MoonShine v1.x ([#24](https://github.com/Jampire/moonshine-impersonate/pull/24))

## [1.4.0 (2023-06-03)](https://github.com/Jampire/moonshine-impersonate/compare/v1.3.0...v1.4.0)

### Adds
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
}
},
"conflict": {
"moonshine/moonshine": "<1.58.0"
"moonshine/moonshine": "<1.58.0 || >= 2"
},
"scripts": {
"post-autoload-dump": [
Expand Down
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>src/Support/helpers.php</file>
</exclude>
<report>
<clover outputFile="./build/coverage/log/coverage.xml"/>
<html outputDirectory="./build/coverage/html" lowUpperBound="35" highLowerBound="80"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

$itemAction = EnterImpersonationItemAction::make()->resolve()->withConfirm();

expect($itemAction->confirmation())
expect($itemAction->isConfirmed())
->toBeTrue()
;
});

0 comments on commit 0ac959d

Please sign in to comment.