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

yii2-dev and yii2 #8243

Closed
yurii-github opened this issue Apr 30, 2015 · 4 comments
Closed

yii2-dev and yii2 #8243

yurii-github opened this issue Apr 30, 2015 · 4 comments
Milestone

Comments

@yurii-github
Copy link
Contributor

"minimum-stability": "dev",
"require": {
    "php": ">=5.4.0",
    "fxp/composer-asset-plugin": "^1.0.0",
    "yiisoft/yii2-dev": "~2.0.0",
    "yiisoft/yii2-swiftmailer": "~2.0.0",
    "yiisoft/yii2-bootstrap": "~2.0.0",
    "yiisoft/yii2-jui": "~2.0.0",
    "yiisoft/yii2-imagine": "~2.0.0"
},
"require-dev": {
    "phpunit/phpunit": "4.4.*",
    "yiisoft/yii2-gii": "~2.0.0",
    "yiisoft/yii2-debug": "~2.0.0"
}

with this composer.json i get what i wanted - unit tests for yii2. also it included framework. But i also see yii2 folder with framework (aka yiisoft/yii2). I want to have framework with unit tests so i can test it in my environment but not duplicate it, with ability to modify and test. how can i achieve it? regards

composer update --dry-run
Loading composer repositories with package information
Updating dependencies (including require-dev)

  • Updating yiisoft/yii2 (dev-master 8b74825) to yiisoft/yii2 (dev-master 205fa13)
  • Updating yiisoft/yii2-bootstrap (dev-master 554c3cc) to yiisoft/yii2-bootstrap (dev-master 37b1b59)
  • Updating yiisoft/yii2-dev (dev-master 029edee) to yiisoft/yii2-dev (dev-master 543daf0)

note: yii2 is used in application, and yii2-dev/framework is only used in tests

@samdark samdark closed this as completed Apr 30, 2015
@yurii-github
Copy link
Contributor Author

closed? is it a joke, right?
i don't want to make forks. i want to test it and use it.
if i require yiisoft/yii2 i don't have tests.
if i require yiisoft/yii2-dev i get yiisoft/yii2 and yiisoft/yii2-dev with tests and framework duplication (used only for tests). so if i change in yiisoft/yii2 - i will not be able to test it w/o copy-paste

this link is not an answer

@cebe cebe reopened this May 1, 2015
@cebe
Copy link
Member

cebe commented May 1, 2015

seems there is a problem with composer.json after extension have been moved.

@cebe
Copy link
Member

cebe commented May 1, 2015

should be fixed now.

@cebe cebe added this to the 2.0.4 milestone May 1, 2015
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

No branches or pull requests

3 participants