Updated symfony/phpunit-bridge recipe.

This commit is contained in:
Jan Böhmer 2021-10-02 21:04:31 +02:00
parent e40a6e6079
commit d5d0c3e73a
5 changed files with 22 additions and 1433 deletions

4
.env
View file

@ -80,3 +80,7 @@ HISTORY_SAVE_CHANGED_DATA=0
# Save the data of an element that gets removed into log entry. This allows to undelete an element
HISTORY_SAVE_REMOVED_DATA=0
###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###

View file

@ -1,13 +1,19 @@
#!/usr/bin/env php
<?php
if (!file_exists(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
exit(1);
if (!ini_get('date.timezone')) {
ini_set('date.timezone', 'UTC');
}
if (false === getenv('SYMFONY_PHPUNIT_DIR')) {
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
}
if (is_file(dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit')) {
define('PHPUNIT_COMPOSER_INSTALL', dirname(__DIR__).'/vendor/autoload.php');
require PHPUNIT_COMPOSER_INSTALL;
PHPUnit\TextUI\Command::main();
} else {
if (!is_file(dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php')) {
echo "Unable to find the `simple-phpunit.php` script in `vendor/symfony/phpunit-bridge/bin/`.\n";
exit(1);
}
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';
require dirname(__DIR__).'/vendor/symfony/phpunit-bridge/bin/simple-phpunit.php';
}

View file

@ -77,7 +77,6 @@
"phpstan/phpstan": "^0.12.8",
"phpstan/phpstan-doctrine": "^0.12.9",
"phpstan/phpstan-symfony": "^0.12.4",
"phpunit/phpunit": "^8.5",
"psalm/plugin-symfony": "^3.0.3",
"roave/security-advisories": "dev-master",
"symfony/browser-kit": "^5.2",

1345
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -221,9 +221,6 @@
"monolog/monolog": {
"version": "1.24.0"
},
"myclabs/deep-copy": {
"version": "1.10.2"
},
"nelmio/security-bundle": {
"version": "2.4",
"recipe": {
@ -281,12 +278,6 @@
"paragonie/random_compat": {
"version": "v9.99.99"
},
"phar-io/manifest": {
"version": "2.0.1"
},
"phar-io/version": {
"version": "3.1.0"
},
"phenx/php-font-lib": {
"version": "0.5.1"
},
@ -341,9 +332,6 @@
"phpdocumentor/type-resolver": {
"version": "0.4.0"
},
"phpspec/prophecy": {
"version": "1.13.0"
},
"phpstan/extension-installer": {
"version": "1.0.3"
},
@ -356,35 +344,6 @@
"phpstan/phpstan-symfony": {
"version": "0.12.4"
},
"phpunit/php-code-coverage": {
"version": "7.0.14"
},
"phpunit/php-file-iterator": {
"version": "2.0.3"
},
"phpunit/php-text-template": {
"version": "1.2.1"
},
"phpunit/php-timer": {
"version": "2.1.3"
},
"phpunit/php-token-stream": {
"version": "3.1.2"
},
"phpunit/phpunit": {
"version": "4.7",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.7",
"ref": "b5b34fa22319ac1f7f6c180b30e160841c154a1e"
},
"files": [
"./.env.test",
"./phpunit.xml.dist",
"./tests/bootstrap.php"
]
},
"psalm/plugin-symfony": {
"version": "v1.2.1"
},
@ -446,42 +405,9 @@
"./config/routes/scheb_two_factor.yaml"
]
},
"sebastian/code-unit-reverse-lookup": {
"version": "1.0.2"
},
"sebastian/comparator": {
"version": "3.0.3"
},
"sebastian/diff": {
"version": "3.0.2"
},
"sebastian/environment": {
"version": "4.2.4"
},
"sebastian/exporter": {
"version": "3.1.3"
},
"sebastian/global-state": {
"version": "3.0.1"
},
"sebastian/object-enumerator": {
"version": "3.0.4"
},
"sebastian/object-reflector": {
"version": "1.1.2"
},
"sebastian/recursion-context": {
"version": "3.0.1"
},
"sebastian/resource-operations": {
"version": "2.0.2"
},
"sebastian/type": {
"version": "1.1.4"
},
"sebastian/version": {
"version": "2.0.1"
},
"sensio/framework-extra-bundle": {
"version": "5.2",
"recipe": {
@ -642,7 +568,7 @@
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.3",
"ref": "15658c2a0176cda2e7dba66276a2030b52bd81b2"
"ref": "bbfc7e27257d3a3f12a6fb0a42540a42d9623a37"
},
"files": [
"./config/packages/mailer.yaml"
@ -685,12 +611,12 @@
"version": "v5.3.8"
},
"symfony/phpunit-bridge": {
"version": "4.3",
"version": "5.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.3",
"ref": "6d0e35f749d5f4bfe1f011762875275cd3f9874f"
"version": "5.3",
"ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96"
},
"files": [
"./.env.test",
@ -903,9 +829,6 @@
"thecodingmachine/safe": {
"version": "v0.1.16"
},
"theseer/tokenizer": {
"version": "1.2.0"
},
"tijsverkoyen/css-to-inline-styles": {
"version": "2.2.2"
},