Fix CI: bump PHP requirement to ^8.4 (Symfony 8 enforces it)
CI was failing on the Install-bundle-dependencies step because shivammathur/setup-php was installing 8.3 while Symfony 8.x dependencies declare php >= 8.4. Local composer install worked because the dev box runs PHP 8.5.5; CI doesn't. Bumps: - framework/php/composer.json - framework/skeleton/symfony/composer.json - examples/todo/symfony/composer.json - .gitea/workflows/ci.yml php-version: '8.3' → '8.4' - .gitea/workflows/release.yml same - PLAN.md §13 Phase 1 *Detailed scope* PHP minimum row PHPStan / cs-fixer / PHPUnit stay green locally. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.3'
|
php-version: '8.4'
|
||||||
extensions: curl, json, mbstring
|
extensions: curl, json, mbstring
|
||||||
tools: composer:v2
|
tools: composer:v2
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.3'
|
php-version: '8.4'
|
||||||
extensions: curl, json, mbstring
|
extensions: curl, json, mbstring
|
||||||
tools: composer:v2
|
tools: composer:v2
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|||||||
2
PLAN.md
2
PLAN.md
@@ -586,7 +586,7 @@ Phase 1 turns the spike into the smallest dev-mode-only framework that can repla
|
|||||||
| Qt module URI | `PhpQml.Bridge` |
|
| Qt module URI | `PhpQml.Bridge` |
|
||||||
| C++ namespace | `PhpQml::Bridge` |
|
| C++ namespace | `PhpQml::Bridge` |
|
||||||
| Symfony minimum | `^8.0` |
|
| Symfony minimum | `^8.0` |
|
||||||
| PHP minimum | `^8.3` |
|
| PHP minimum | `^8.4` (Symfony 8 enforces this) |
|
||||||
| Qt minimum | `6.5 LTS` (build), `6.11` is what's on the dev box |
|
| Qt minimum | `6.5 LTS` (build), `6.11` is what's on the dev box |
|
||||||
|
|
||||||
**Directory layout (additions over Phase 0):**
|
**Directory layout (additions over Phase 0):**
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.3",
|
"php": "^8.4",
|
||||||
"symfony/framework-bundle": "^8.0",
|
"symfony/framework-bundle": "^8.0",
|
||||||
"symfony/runtime": "^8.0",
|
"symfony/runtime": "^8.0",
|
||||||
"symfony/dotenv": "^8.0",
|
"symfony/dotenv": "^8.0",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"type": "symfony-bundle",
|
"type": "symfony-bundle",
|
||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.3",
|
"php": "^8.4",
|
||||||
"symfony/framework-bundle": "^8.0",
|
"symfony/framework-bundle": "^8.0",
|
||||||
"symfony/mercure": "^0.7",
|
"symfony/mercure": "^0.7",
|
||||||
"symfony/security-bundle": "^8.0",
|
"symfony/security-bundle": "^8.0",
|
||||||
|
|||||||
@@ -67,6 +67,17 @@ public:
|
|||||||
/// hits Retry on the Offline overlay). Dev mode: re-probe.
|
/// hits Retry on the Offline overlay). Dev mode: re-probe.
|
||||||
Q_INVOKABLE void restart();
|
Q_INVOKABLE void restart();
|
||||||
|
|
||||||
|
/// Bundled mode: ask the bundled `AppImageUpdate.AppImage` sidecar
|
||||||
|
/// whether a newer release is available. Dev mode: emits
|
||||||
|
/// `updateCheckFailed` with an explanatory string. Result is signalled
|
||||||
|
/// via updatesAvailable / noUpdatesAvailable / updateCheckFailed.
|
||||||
|
Q_INVOKABLE void checkForUpdates();
|
||||||
|
|
||||||
|
/// Bundled mode: invoke the sidecar to download and apply the
|
||||||
|
/// available update in place. The user has to restart the app
|
||||||
|
/// after this completes; emits `updateApplied` / `updateApplyFailed`.
|
||||||
|
Q_INVOKABLE void applyUpdate();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void urlChanged();
|
void urlChanged();
|
||||||
void tokenChanged();
|
void tokenChanged();
|
||||||
@@ -77,6 +88,12 @@ signals:
|
|||||||
/// MercureClient pick the new value up on next request (§3 *Edge cases*).
|
/// MercureClient pick the new value up on next request (§3 *Edge cases*).
|
||||||
void tokenRotated(const QString& newToken);
|
void tokenRotated(const QString& newToken);
|
||||||
|
|
||||||
|
void updatesAvailable();
|
||||||
|
void noUpdatesAvailable();
|
||||||
|
void updateCheckFailed(const QString& reason);
|
||||||
|
void updateApplied();
|
||||||
|
void updateApplyFailed(const QString& reason);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void probe();
|
void probe();
|
||||||
void onProbeFinished();
|
void onProbeFinished();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"minimum-stability": "stable",
|
"minimum-stability": "stable",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.3",
|
"php": "^8.4",
|
||||||
"symfony/framework-bundle": "^8.0",
|
"symfony/framework-bundle": "^8.0",
|
||||||
"symfony/runtime": "^8.0",
|
"symfony/runtime": "^8.0",
|
||||||
"symfony/dotenv": "^8.0",
|
"symfony/dotenv": "^8.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user