Skip to content

Commit

Permalink
Prepare v4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-boudry committed May 28, 2024
1 parent 3d4f2a3 commit 3105d7b
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/phpnext/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Dev Codespace - PHP Next",
"image": "php:8.3.0beta2-cli",
"image": "php:8.3-cli",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/prod/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Production Codespace",
"image": "mcr.microsoft.com/devcontainers/php:8.2-bookworm",
"image": "mcr.microsoft.com/devcontainers/php:8.3-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/execute_all_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-14]
php-versions: ['8.2', '8.3']
php-versions: ['8.3']
php-extensions: ['pdo,pdo_sqlite,mbstring,json', 'none,curl,mbstring,json,dom,openssl,tokenizer,xml,xmlwriter,zip']
fail-fast: false

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ CHANGELOG
=========
All notable changes to this project will be documented in this file.

## [v4.7.0] - 2024-05-xx
### Description
The minimum PHP version is now 8.3

#### Dev
- Complete the migration to Pest PHP

## [v4.6.1] - 2024-04-23
### Description
Half-migration of tests to PestPHP.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.2-cli-bookworm
FROM php:8.3-cli-bookworm

COPY . /usr/src/condorcetapp
WORKDIR /usr/src/condorcetapp
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ _Both approaches can handle up to hundreds of millions of votes (or more) on mod
| Version | PHP Requirements | State | Support
| --- | --- | --- | --- |
| 4.6 | 8.2 | Stable | ✔ _support provided_
| 4.7 | 8.3 | Stable | ✔ _support provided_
| 4.6 | 8.2 | Old Stable | ✔ _support provided_
| 3.x | 8.1 | Old Stable | ❌ _not any support_
| 2.2 | 7.4 | Old Stable | ❌ _support requiring some bait_
| 2.0 | 7.1 | Old Stable | ❌ _not any support_
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-json": "*",
"ext-mbstring": "*",
"symfony/console": "^7.0",
Expand All @@ -35,11 +35,10 @@
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"phpbench/phpbench": "*",
"phpunit/phpunit": "^10.5",
"haydenpierce/class-finder": ">= 0.5.3",
"phpstan/phpstan": "^1.9",
"laravel/pint": "^1.13",
"pestphp/pest": "^2.32",
"laravel/pint": "^1.16",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-drift": "^2.0",
"cmgmyr/phploc": "^8.0",
"infection/infection": "^0.27, >= 0.27.7",
Expand Down
2 changes: 1 addition & 1 deletion src/Condorcet.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ abstract class Condorcet
final public const HOMEPAGE = 'https://github.com/julien-boudry/Condorcet';

#[PublicAPI]
final public const VERSION = '4.6.1';
final public const VERSION = '4.7.0';

#[PublicAPI]
final public const CONDORCET_BASIC_CLASS = Algo\Methods\CondorcetBasic::class;
Expand Down

0 comments on commit 3105d7b

Please sign in to comment.