Comments (8)
I ran into the same issue today, I fixed it by simple adding phpunit as composer dependency on my branch:
dereuromark@7b02971#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780R10
Maybe you should PR that.
from upgrade.
I get the following message if I add phpunit in composer.json
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package phpunit/phpunit could not be found, it looks like its name is invalid, " " is not allowed in package names.
do you get this error?
thanks
from upgrade.
How did you add it? exactly? Make sure you use the right syntax (which you didnt, phpunit/phpunit could not ...
shows that).
from upgrade.
I copy what you add in the composer.json
"require": {
"cakephp/cakephp": "~3.0",
"cakephp/app": "3.0.*",
"cakephp/plugin-installer": "dev-master",
"phpunit/phpunit ": "*"
},
I will clone your fork, and see if it works in my laptop
from upgrade.
Since when is a space in your name valid? :P I told you to double check your require statement.
"phpunit/phpunit " vs "phpunit/phpunit"
IMO the error message given was perfectly clear on that one.
from upgrade.
Yes you're right, I had an extra space ... I have been able to update finally my cakephp project. thanks
from upgrade.
Sounds like this has been resolved.
from upgrade.
Not really :)
This should probably me merged first.
from upgrade.
Related Issues (20)
- Rector tool throws an error when upgrading from 3.9 to 4.0
- file_rename temlates issue HOT 6
- Version 2 to 3 HOT 1
- upgrade all: Got 1 argument but only 1 arguments are defined HOT 8
- upgrade tool does not work with rule cakephp42 HOT 8
- `bin/cake upgrade file_rename` fails with 'Received too many arguments' HOT 2
- Issue running rector on the src files HOT 4
- Many code sniffer failures HOT 1
- Undefined class constants: Fresh installation of upgrade tool fails on clean CakePHP3.9 skeleton HOT 12
- rector ~0.10.21 is satisfiable by rector/rector[0.10.x-dev] but these conflict with your requirements or minimum-stability HOT 1
- Update 4.0 to 4.1 Fatal error HOT 7
- Rector Upgrade command fails if path contains spaces HOT 4
- Upgrade Tool from 4.2.10 to 4.3 Error HOT 4
- working-dir parameter removed from rector HOT 1
- [ERROR] Could not resolve argument "Rector\Config\RectorConfig $rectorConfig" HOT 1
- [ERROR] Class 'Rector\CakePHP\Set\CakePHPSetList' not found HOT 7
- Create rules for updating methods dropped in Chronos 3 HOT 1
- Upgrade from 3.10 to 4.0 with PHP 7.2 HOT 11
- cakePhp upgrate to 4.0 - bin/cake upgrade rector --rules phpunit80 HOT 13
- Missing CakePHP 5 rectors HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upgrade.