Skip to content

Commit b67e825

Browse files
authored
Lock MoonShine Impersonate v1.x to MoonShine v1.x (#24)
1 parent 555d68b commit b67e825

File tree

5 files changed

+31
-2
lines changed

5 files changed

+31
-2
lines changed

.gitattributes

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
/.github export-ignore
10+
/build export-ignore
11+
/tests export-ignore
12+
/CHANGELOG.md export-ignore
13+
/CODE_OF_CONDUCT.md export-ignore
14+
/CONTRIBUTING.md export-ignore
15+
/phpstan.neon.dist export-ignore
16+
/phpstan-baseline.neon export-ignore
17+
/phpunit.xml.dist export-ignore
18+
/pint.json export-ignore
19+
/rector.php export-ignore
20+
/Roadmap.md export-ignore

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release Notes for 1.x
22

3+
## [1.4.1 (2023-12-15)](https://github.com/Jampire/moonshine-impersonate/compare/v1.4.0...v1.4.1)
4+
5+
### Adds
6+
7+
- Locked to MoonShine v1.x ([#24](https://github.com/Jampire/moonshine-impersonate/pull/24))
8+
39
## [1.4.0 (2023-06-03)](https://github.com/Jampire/moonshine-impersonate/compare/v1.3.0...v1.4.0)
410

511
### Adds

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
},
5454
"conflict": {
55-
"moonshine/moonshine": "<1.58.0"
55+
"moonshine/moonshine": "<1.58.0 || >= 2"
5656
},
5757
"scripts": {
5858
"post-autoload-dump": [

phpunit.xml.dist

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<include>
2525
<directory suffix=".php">./src</directory>
2626
</include>
27+
<exclude>
28+
<file>src/Support/helpers.php</file>
29+
</exclude>
2730
<report>
2831
<clover outputFile="./build/coverage/log/coverage.xml"/>
2932
<html outputDirectory="./build/coverage/html" lowUpperBound="35" highLowerBound="80"/>

tests/Feature/UI/ItemActions/EnterImpersonationItemActionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

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

57-
expect($itemAction->confirmation())
57+
expect($itemAction->isConfirmed())
5858
->toBeTrue()
5959
;
6060
});

0 commit comments

Comments
 (0)