Skip to content

Make it work properly with Symfony 8#177

Merged
freekmurze merged 1 commit into
spatie:mainfrom
KentarouTakeda:correctly-supports-symfony-8
Dec 10, 2025
Merged

Make it work properly with Symfony 8#177
freekmurze merged 1 commit into
spatie:mainfrom
KentarouTakeda:correctly-supports-symfony-8

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Contributor

closes: #176

  • Removed excessive conflict settings
  • Standardized require-dev syntax with require.

@freekmurze freekmurze merged commit 8eb5a25 into spatie:main Dec 10, 2025
1 check passed
@freekmurze

Copy link
Copy Markdown
Member

Thanks!

@KentarouTakeda KentarouTakeda deleted the correctly-supports-symfony-8 branch December 10, 2025 09:31
@KentarouTakeda

Copy link
Copy Markdown
Contributor Author

Hello, Could you please publish a version with this change? Now, our project is unable to resolve the Renovate issue.

@aszenz

aszenz commented Dec 29, 2025

Copy link
Copy Markdown

@KentarouTakeda I get this when installing this pkg on symfony 8, I think this pkg needs to update to JoliNotif pkg to https://github.com/jolicode/JoliNotif/releases/tag/v3.2.0

composer require --dev spatie/phpunit-watcher -W devenv-shell-env
./composer.json has been updated
Running composer update spatie/phpunit-watcher --with-all-dependencies
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "8.0.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires spatie/phpunit-watcher * -> satisfiable by spatie/phpunit-watcher[dev-dependabot/github_actions/actions/checkout-6, dev-update-deps, dev-main, 0.0.1, 0.0.2, 1.0.0, ..., 1.24.2, 9999999-dev].
- Root composer.json requires symfony/console 8.0.* -> satisfiable by symfony/console[v8.0.0-BETA1, ..., 8.0.x-dev].
- jolicode/jolinotif[v2.7.0, ..., v2.7.3] require symfony/process ^5.4 || ^6.0 || ^7.0 -> found symfony/process[v5.4.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev, v7.0.0-BETA1, ..., 7.4.x-dev] but these were not loaded, likely because it conflicts with another require.
- spatie/phpunit-watcher[0.0.1, ..., 0.0.2, 1.0.0, ..., 1.8.3] require php ^7.0 -> your php version (8.4.15) does not satisfy that requirement.
- spatie/phpunit-watcher[dev-update-deps, 1.10.0, ..., 1.10.1] require php ^7.1 -> your php version (8.4.15) does not satisfy that requirement.
- spatie/phpunit-watcher[1.11.0, ..., 1.23.0] require php ^7.2 -> your php version (8.4.15) does not satisfy that requirement.
- spatie/phpunit-watcher 1.23.1 requires symfony/console ^5.0 -> found symfony/console[v5.0.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (8.0.).
- spatie/phpunit-watcher[1.23.2, ..., 1.23.4] require symfony/console ^5.2 -> found symfony/console[v5.2.0-BETA1, ..., 5.4.x-dev] but it conflicts with your root composer.json require (8.0.
).
- spatie/phpunit-watcher[1.23.5, ..., 1.23.6] require symfony/console ^5 | ^6 -> found symfony/console[v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but it conflicts with your root composer.json require (8.0.).
- spatie/phpunit-watcher 1.24.0 requires symfony/console ^6 | ^7.0.7 -> found symfony/console[v6.0.0-BETA1, ..., 6.4.x-dev, v7.0.7, ..., 7.4.x-dev] but it conflicts with your root composer.json require (8.0.
).
- spatie/phpunit-watcher[dev-dependabot/github_actions/actions/checkout-6, 1.24.1] conflict with symfony/console v8.0.1.
- spatie/phpunit-watcher[dev-main, 1.24.2] require jolicode/jolinotif ^2.7.1 -> satisfiable by jolicode/jolinotif[v2.7.1, v2.7.2, v2.7.3].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require spatie/phpunit-watcher:*" to figure out if any version is installable, or "composer require spatie/phpunit-watcher:^2.1" if you know which you need.

@KentarouTakeda

Copy link
Copy Markdown
Contributor Author

This will be fixed by #178.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to install version 1.24.1

3 participants