Skip to content

Commit ea2884e

Browse files
committed
Split alerts to separate package
1 parent a961f7d commit ea2884e

14 files changed

+5
-499
lines changed

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ parameters:
66
- resources/stubs/ffi.stub.php
77
excludePaths:
88
- src/Api/Console/Driver/Windows/Kernel32.php
9-
- src/Api/MessageBox/Driver/Windows/User32.php
10-
- src/Api/MessageBox/Driver/MacOS/LibObjectC.php
9+
- src/Api/Alert/Driver/Windows/User32.php
10+
- src/Api/Alert/Driver/MacOS/LibObjectC.php
1111
strictRules:
1212
allRules: true
1313
fileExtensions:

resources/.phpstorm.autocomplete.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use Boson\Api\CentralProcessor\CentralProcessorExtensionInterface;
88
use Boson\Api\Dialog\DialogExtensionInterface;
9-
use Boson\Api\MessageBox\MessageBoxExtensionInterface;
9+
use Boson\Api\Alert\AlertExtensionInterface;
1010
use Boson\Api\OperatingSystem\OperatingSystemExtensionInterface;
1111

1212
class Application
@@ -25,11 +25,6 @@ class Application
2525
* Gets access to the OS Information API of the application.
2626
*/
2727
public readonly OperatingSystemExtensionInterface $os;
28-
29-
/**
30-
* Gets access to the Message Box API of the application.
31-
*/
32-
public readonly MessageBoxExtensionInterface $msgbox;
3328
}
3429

3530
}

resources/stubs/ffi.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function FreeConsole(): bool {}
2929

3030
}
3131

32-
namespace Boson\Api\MessageBox\Driver\Windows {
32+
namespace Boson\Api\Alert\Driver\Windows {
3333

3434

3535
use FFI\CData;
@@ -96,7 +96,7 @@ public function MessageBoxW(?CData $hWnd, CData $lpText, CData $lpCaption, int $
9696

9797
}
9898

99-
namespace Boson\Api\MessageBox\Driver\MacOS {
99+
namespace Boson\Api\Alert\Driver\MacOS {
100100

101101
use FFI\CData;
102102
use FFI\CType;

src/Api/MessageBox/Driver/MacOS/LibObjectC.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

src/Api/MessageBox/Driver/MacOSMessageBoxExtension.php

Lines changed: 0 additions & 118 deletions
This file was deleted.

src/Api/MessageBox/Driver/VoidMessageBoxExtension.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Api/MessageBox/Driver/Windows/User32.php

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)