Skip to content

Commit 1416a31

Browse files
authored
Merge pull request #97 from jolicode/os-helper-replacement
Deprecate OsHelper in favor of jolicode/php-os-helper
2 parents 4d02d96 + 4884579 commit 1416a31

File tree

13 files changed

+28
-77
lines changed

13 files changed

+28
-77
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-version: ['8.1', '8.2']
29+
php-version: ['8.2', '8.3']
3030
composer-flags: ['']
3131
name: ['']
3232
include:
33-
- php-version: 8.0
33+
- php-version: 8.1
3434
composer-flags: '--prefer-lowest'
3535
name: '(prefer lowest dependencies)'
3636
steps:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changes between versions
22

3+
## Not yet released
4+
5+
* Deprecated Joli\JoliNotif\Util\OsHelper in favor of jolicode/php-os-helper package
6+
* Added support for Symfony 7.x
7+
* Added support for PHP 8.3
8+
* Dropped support for PHP 8.0
9+
310
## 2.5.2 (2023-05-24)
411

512
* Added PHAR to GitHub releases

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
}
2222
},
2323
"require": {
24-
"php": ">=8.0",
25-
"symfony/process": "^5.4 || ^6.0"
24+
"php": ">=8.1",
25+
"jolicode/php-os-helper": "^0.1.0",
26+
"symfony/process": "^5.4 || ^6.0 || ^7.0"
2627
},
2728
"require-dev": {
2829
"friendsofphp/php-cs-fixer": "^3.13",
29-
"symfony/finder": "^5.4 || ^6.0",
30-
"symfony/phpunit-bridge": "^5.4 || ^6.0"
30+
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
31+
"symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0"
3132
},
3233
"bin": [
3334
"jolinotif"

src/Exception/Exception.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@
1111

1212
namespace Joli\JoliNotif\Exception;
1313

14-
interface Exception
15-
{
16-
}
14+
interface Exception {}

src/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Joli\JoliNotif;
1313

14-
use Joli\JoliNotif\Util\OsHelper;
1514
use Joli\JoliNotif\Util\PharExtractor;
15+
use JoliCode\PhpOsHelper\OsHelper;
1616

1717
class Notification
1818
{

src/Notifier/AppleScriptNotifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Joli\JoliNotif\Notifier;
1313

1414
use Joli\JoliNotif\Notification;
15-
use Joli\JoliNotif\Util\OsHelper;
15+
use JoliCode\PhpOsHelper\OsHelper;
1616

1717
/**
1818
* This notifier can be used on Mac OS X 10.9+.

src/Notifier/CliBasedNotifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
use Joli\JoliNotif\Exception\InvalidNotificationException;
1515
use Joli\JoliNotif\Notification;
1616
use Joli\JoliNotif\Notifier;
17-
use Joli\JoliNotif\Util\OsHelper;
1817
use Joli\JoliNotif\Util\PharExtractor;
18+
use JoliCode\PhpOsHelper\OsHelper;
1919
use Symfony\Component\Process\Process;
2020

2121
abstract class CliBasedNotifier implements Notifier

src/Notifier/NotifuNotifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Joli\JoliNotif\Notifier;
1313

1414
use Joli\JoliNotif\Notification;
15-
use Joli\JoliNotif\Util\OsHelper;
15+
use JoliCode\PhpOsHelper\OsHelper;
1616

1717
/**
1818
* This notifier can be used on Windows Seven and provides its own binaries if

src/Notifier/SnoreToastNotifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Joli\JoliNotif\Notifier;
1313

1414
use Joli\JoliNotif\Notification;
15-
use Joli\JoliNotif\Util\OsHelper;
15+
use JoliCode\PhpOsHelper\OsHelper;
1616
use Symfony\Component\Process\Process;
1717

1818
/**

src/Notifier/TerminalNotifierNotifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Joli\JoliNotif\Notifier;
1313

1414
use Joli\JoliNotif\Notification;
15-
use Joli\JoliNotif\Util\OsHelper;
15+
use JoliCode\PhpOsHelper\OsHelper;
1616

1717
/**
1818
* This notifier can be used on Mac OS X 10.8, or higher, using the

0 commit comments

Comments
 (0)