mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
5a7c6d4f60
Partially reinstates the 3.x style PhpUnitWrapper which was removed in d1af214ef5
.
While we no longer need the full wrapper, the part which creates a fake class is still useful.
The preferred alternative would be to remove any references to SapphireTest from non-dev files,
which mostly applies to SapphireTest::is_running_test(). This should be solved in a larger refactor
of SapphireTest into optional traits and more fine grained functionality.
94 lines
2.8 KiB
JSON
94 lines
2.8 KiB
JSON
{
|
|
"name": "silverstripe/framework",
|
|
"type": "silverstripe-module",
|
|
"description": "The SilverStripe framework",
|
|
"homepage": "http://silverstripe.org",
|
|
"license": "BSD-3-Clause",
|
|
"keywords": ["silverstripe", "framework"],
|
|
"authors": [
|
|
{
|
|
"name": "SilverStripe",
|
|
"homepage": "http://silverstripe.com"
|
|
},
|
|
{
|
|
"name": "The SilverStripe Community",
|
|
"homepage": "http://silverstripe.org"
|
|
}
|
|
],
|
|
"require": {
|
|
"composer/installers": "~1.0",
|
|
"embed/embed": "^3.0",
|
|
"league/flysystem": "~1.0.12",
|
|
"monolog/monolog": "~1.11",
|
|
"nikic/php-parser": "^2 || ^3",
|
|
"silverstripe/config": "^1@dev",
|
|
"silverstripe/assets": "^1@dev",
|
|
"swiftmailer/swiftmailer": "~5.4",
|
|
"symfony/cache": "^3.3@dev",
|
|
"symfony/config": "^2.8",
|
|
"symfony/translation": "^2.8",
|
|
"symfony/yaml": "~2.7",
|
|
"vlucas/phpdotenv": "^2.4",
|
|
|
|
"php": ">=5.6.0",
|
|
"ext-intl": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-xml": "*",
|
|
"ext-simplexml": "*",
|
|
"ext-dom": "*",
|
|
"ext-tokenizer": "*",
|
|
"ext-ctype": "*",
|
|
"ext-hash": "*",
|
|
"ext-session": "*"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^5.7",
|
|
"silverstripe/versioned": "^1.0@dev",
|
|
"silverstripe/behat-extension": "^2.1.0",
|
|
"silverstripe/serve": "dev-master",
|
|
"silverstripe/testsession": "^2.0.0-alpha3",
|
|
"se/selenium-server-standalone": "2.41.0"
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "4.0.x-dev"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"SilverStripe\\Control\\": "src/Control/",
|
|
"SilverStripe\\Control\\Tests\\": "tests/php/Control/",
|
|
"SilverStripe\\Core\\": "src/Core/",
|
|
"SilverStripe\\Core\\Tests\\": "tests/php/Core/",
|
|
"SilverStripe\\Dev\\": "src/Dev/",
|
|
"SilverStripe\\Dev\\Tests\\": "tests/php/Dev/",
|
|
"SilverStripe\\Forms\\": "src/Forms/",
|
|
"SilverStripe\\Forms\\Tests\\": "tests/php/Forms/",
|
|
"SilverStripe\\i18n\\": "src/i18n/",
|
|
"SilverStripe\\i18n\\Tests\\": "tests/php/i18n/",
|
|
"SilverStripe\\Logging\\": "src/Logging/",
|
|
"SilverStripe\\ORM\\": "src/ORM/",
|
|
"SilverStripe\\ORM\\Tests\\": "tests/php/ORM/",
|
|
"SilverStripe\\Security\\": "src/Security/",
|
|
"SilverStripe\\Security\\Tests\\": "tests/php/Security/",
|
|
"SilverStripe\\View\\": "src/View/",
|
|
"SilverStripe\\View\\Tests\\": "tests/php/View/"
|
|
},
|
|
"files": [
|
|
"src/Core/Constants.php",
|
|
"src/Dev/PhpUnitShim.php"
|
|
],
|
|
"classmap": ["tests/behat/features/bootstrap"]
|
|
},
|
|
"include-path": [
|
|
"src/",
|
|
"thirdparty/"
|
|
],
|
|
"scripts": {
|
|
"lint": "phpcs --standard=tests/phpcs/ruleset.xml src/ tests/php",
|
|
"php-peg": "php thirdparty/php-peg/cli.php src/View/SSTemplateParser.peg > src/View/SSTemplateParser.php"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|