Permalink
Browse files

started migration to Composer

  • Loading branch information...
1 parent 7496c98 commit 84e7cd896b32c3d5dc5455ddebffb9899cf39193 @everzet everzet committed Dec 15, 2011
View
@@ -1,3 +1,5 @@
*.tgz
*.phar
phpunit.xml
+vendor
+composer.lock
View
@@ -1,26 +0,0 @@
-<?php
-
-/*
- * This file is part of the Behat\Mink.
- * (c) Konstantin Kudryashov <ever.zet@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-if (!class_exists('Behat\Mink\ClassLoader\UniversalClassLoader')) {
- require_once __DIR__ . '/src/Behat/Mink/ClassLoader/UniversalClassLoader.php';
-}
-use Behat\Mink\ClassLoader\UniversalClassLoader;
-
-$loader = new UniversalClassLoader();
-$loader->registerNamespaces(array(
- 'Behat\Mink' => __DIR__ . '/src',
- 'Behat\SahiClient' => __DIR__ . '/vendor/SahiClient/src',
- 'Symfony\Component' => __DIR__ . '/vendor',
- 'Buzz' => __DIR__ . '/vendor/Buzz/lib',
- 'Goutte' => __DIR__ . '/vendor/Goutte/src',
- 'Zend' => __DIR__ . '/vendor/Goutte/vendor/zend/library',
- 'Selenium' => __DIR__ . '/vendor/php-selenium/src',
-));
-$loader->register();
View
@@ -0,0 +1,126 @@
+{
+ "name": "behat/mink",
+ "description": "Web acceptance testing framework for PHP 5.3",
+ "keywords": ["web", "testing", "browser"],
+ "homepage": "http://mink.behat.org/",
+ "type": "library",
+ "license": "MIT",
+
+ "authors": [
+ {
+ "name": "Konstantin Kudryashov",
+ "email": "ever.zet@gmail.com",
+ "homepage": "http://everzet.com"
+ }
+ ],
+
+ "require": {
+ "php": ">=5.3.1",
+ "symfony/browser-kit": ">=2.0",
+ "symfony/dom-crawler": ">=2.0",
+ "symfony/css-selector": ">=2.0",
+ "symfony/finder": ">=2.0",
+ "symfony/process": ">=2.0"
+ },
+
+ "recommend": {
+ "fabpot/goutte": "*",
+ "behat/sahi-client": "*",
+ "alexandresalome/php-selenium": "*"
+ },
+
+ "autoload": {
+ "psr-0": {
+ "Behat\\Mink": "src/"
+ }
+ },
+
+ "repositories": {
+ "fabpot/goutte": {
+ "package": {
+ "name": "fabpot/goutte",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/fabpot/Goutte/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/fabpot/Goutte.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "zendframework/zf2": ">=2.0beta1",
+ "symfony/browser-kit": ">=2.0",
+ "symfony/dom-crawler": ">=2.0",
+ "symfony/css-selector": ">=2.0",
+ "symfony/finder": ">=2.0",
+ "symfony/process": ">=2.0"
+ },
+ "autoload": {
+ "psr-0": { "Goutte": "src/" }
+ }
+ }
+ },
+ "zendframework/zf2": {
+ "package": {
+ "name": "zendframework/zf2",
+ "version": "2.0.0beta1",
+ "dist": {
+ "url": "https://github.com/zendframework/zf2/zipball/release-2.0.0beta1",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/zendframework/zf2.git",
+ "type": "git",
+ "reference": "release-2.0.0beta1"
+ },
+ "autoload": {
+ "psr-0": { "Zend": "library/" }
+ }
+ }
+ },
+ "behat/sahi-client": {
+ "package": {
+ "name": "behat/sahi-client",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/Behat/SahiClient/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/Behat/SahiClient.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "kriswallsmith/buzz": ">=0.5"
+ },
+ "autoload": {
+ "psr-0": { "Behat\\SahiClient": "src/" }
+ }
+ }
+ },
+ "alexandresalome/php-selenium": {
+ "package": {
+ "name": "alexandresalome/php-selenium",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/alexandresalome/PHP-Selenium/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/alexandresalome/PHP-Selenium.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "symfony/dom-crawler": ">=2.0"
+ },
+ "autoload": {
+ "psr-0": { "Selenium": "src/" }
+ }
+ }
+ }
+ }
+}
View
@@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
- bootstrap="tests/bootstrap.php"
+ bootstrap="vendor/.composer/autoload.php"
>
<testsuites>
<testsuite name="Behat Mink test suite">
Submodule Buzz deleted from bbd80e
Submodule Goutte deleted from e5da24
Submodule SahiClient deleted from fe8a66
Submodule BrowserKit deleted from e5b59c
Submodule CssSelector deleted from a35451
Submodule DomCrawler deleted from 066264
Submodule Finder deleted from 99772d
Submodule Process deleted from 69817b
Submodule php-selenium deleted from 7e569a

0 comments on commit 84e7cd8

Please sign in to comment.