Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for EOL version + Add support for PHP 8.4 #117

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/phar/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'

- name: Install dependencies (lib)
run: composer install --prefer-dist --no-progress --no-dev --optimize-autoloader --classmap-authoritative
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ["8.2", "8.3"]
php-version: ["8.3", "8.4"]
composer-flags: [""]
name: [""]
include:
- php-version: 8.1
- php-version: 8.2
composer-flags: "--prefer-lowest"
name: "(prefer lowest dependencies)"
steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
## Not released yet

* Added support for sound option on TerminalNotifier notifier
* Add support for PHP 8.4
* Drop support for PHP 8.1
* Drop support for Symfony 6.0 - 6.3, 7.0

## 3.0.0 (2024-10-02)

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
}
},
"require": {
"php": ">=8.1",
"php": ">=8.2",
"jolicode/php-os-helper": "^0.1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0",
"symfony/process": "^5.4 || ^6.4 || ^7.1",
"symfony/deprecation-contracts": "^3"
},
"require-dev": {
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0"
"symfony/finder": "^5.4 || ^6.4 || ^7.1",
"symfony/phpunit-bridge": "^5.4 || ^6.4 || ^7.1"
},
"suggest": {
"ext-ffi": "Needed to send notifications via libnotify on Linux"
Expand Down
1 change: 1 addition & 0 deletions jolinotif
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ final class Cli

public function __construct()
{
// @phpstan-ignore offsetAccess.nonOffsetAccessible,assign.propertyType
$this->command = $_SERVER['argv'][0];
}

Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
- jolinotif
tmpDir: 'var/phpstan/tmp'
inferPrivatePropertyTypeFromConstructor: true
checkGenericClassInNonGenericObjectType: false
# checkGenericClassInNonGenericObjectType: false
excludePaths:
analyse: []
ignoreErrors:
Expand Down
1 change: 0 additions & 1 deletion tools/phar/castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ function install(): void
function update(): void
{
run(['composer', 'update']);
run(['composer', 'bump']);
}
10 changes: 5 additions & 5 deletions tools/phar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
}
],
"require": {
"humbug/box": ">=4.5.1"
"humbug/box": ">=4.6.2"
},
"config": {
"bump-after-update": true,
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "8.1"
}
"php": "8.2"
},
"sort-packages": true
}
}
Loading
Loading