Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Composer support #70

Merged
merged 9 commits into from

4 participants

@claylo

Composer support via package2composer, as described in detail in sebastianbergmann/phpunit#646

@sebastianbergmann sebastianbergmann merged commit 1f73d76 into sebastianbergmann:master
@kevpie kevpie commented on the diff
composer.json
((28 lines not shown))
+ "symfony/yaml": ">=2.1.0RC1",
+ "ext-pdo": "*",
+ "ext-reflection": "*",
+ "ext-simplexml": "*",
+ "ext-spl": "*"
+ },
+ "bin": [
+ "dbunit.php",
+ "dbunit.bat"
+ ],
+ "config": {
+ "bin-dir": "bin"
+ },
+ "autoload": {
+ "files": [
+ "PHPUnit/Extentions/Database/Autoload.php"
@kevpie
kevpie added a note

"PHPUnit/Extentions/Database/Autoload.php"
should be
"PHPUnit/Extensions/Database/Autoload.php"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@kevpie kevpie commented on the diff
package-composer.json
@@ -0,0 +1,23 @@
+{
+ "keywords": [ "database", "testing", "xunit" ],
+ "license": "BSD-3-Clause",
+ "homepage": "http://www.phpunit.de/",
+ "dependency_map": {
+ "pear.phpunit.de/PHPUnit": "phpunit/phpunit",
+ "pear.symfony.com/YAML": "symfony/yaml"
+ },
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/dbunit/issues",
+ "irc": "irc://irc.freenode.net/phpunit"
+ },
+ "autoload": {
+ "files": ["PHPUnit/Extentions/Database/Autoload.php"]
@kevpie
kevpie added a note

"PHPUnit/Extentions/Database/Autoload.php"
should be
"PHPUnit/Extensions/Database/Autoload.php"

This one too. This is great to see composer support being added!

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

As @kevpie said, the require of Autoload.php is broken because of the little typo in the path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 72 additions and 0 deletions.
  1. +49 −0 composer.json
  2. +23 −0 package-composer.json
View
49 composer.json
@@ -0,0 +1,49 @@
+{
+ "name": "phpunit/dbunit",
+ "description": "DbUnit port for PHP/PHPUnit to support database interaction testing.",
+ "type": "library",
+ "keywords": [
+ "database",
+ "testing",
+ "xunit"
+ ],
+ "homepage": "http://www.phpunit.de/",
+ "license": "BSD-3-Clause",
+ "authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sb@sebastian-bergmann.de",
+ "role": "lead"
+ }
+ ],
+ "version": "1.2.0RC1",
+ "time": "2012-08-18",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/dbunit/issues",
+ "irc": "irc://irc.freenode.net/phpunit"
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "phpunit/phpunit": ">=3.7.0",
+ "symfony/yaml": ">=2.1.0RC1",
+ "ext-pdo": "*",
+ "ext-reflection": "*",
+ "ext-simplexml": "*",
+ "ext-spl": "*"
+ },
+ "bin": [
+ "dbunit.php",
+ "dbunit.bat"
+ ],
+ "config": {
+ "bin-dir": "bin"
+ },
+ "autoload": {
+ "files": [
+ "PHPUnit/Extentions/Database/Autoload.php"
@kevpie
kevpie added a note

"PHPUnit/Extentions/Database/Autoload.php"
should be
"PHPUnit/Extensions/Database/Autoload.php"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ ]
+ },
+ "include-path": [
+ ""
+ ]
+}
View
23 package-composer.json
@@ -0,0 +1,23 @@
+{
+ "keywords": [ "database", "testing", "xunit" ],
+ "license": "BSD-3-Clause",
+ "homepage": "http://www.phpunit.de/",
+ "dependency_map": {
+ "pear.phpunit.de/PHPUnit": "phpunit/phpunit",
+ "pear.symfony.com/YAML": "symfony/yaml"
+ },
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/dbunit/issues",
+ "irc": "irc://irc.freenode.net/phpunit"
+ },
+ "autoload": {
+ "files": ["PHPUnit/Extentions/Database/Autoload.php"]
@kevpie
kevpie added a note

"PHPUnit/Extentions/Database/Autoload.php"
should be
"PHPUnit/Extensions/Database/Autoload.php"

This one too. This is great to see composer support being added!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ },
+ "include_path": [
+ ""
+ ],
+ "bin": [
+ "dbunit.php",
+ "dbunit.bat"
+ ]
+}
Something went wrong with that request. Please try again.