diff --git a/RECIPES.md b/RECIPES.md index eb9ff356..a9c99844 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -9,6 +9,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [api-platform/symfony](https://packagist.org/packages/api-platform/symfony) | [4.0](api-platform/symfony/4.0) | | | [blackfireio/blackfire-symfony-meta](https://packagist.org/packages/blackfireio/blackfire-symfony-meta) | [1.0](blackfireio/blackfire-symfony-meta/1.0) | `blackfire` | | [doctrine/annotations](https://packagist.org/packages/doctrine/annotations) | [1.10](doctrine/annotations/1.10) | | +| [doctrine/deprecations](https://packagist.org/packages/doctrine/deprecations) | [1.0](doctrine/deprecations/1.0) | | | [doctrine/doctrine-bundle](https://packagist.org/packages/doctrine/doctrine-bundle) | [2.13](doctrine/doctrine-bundle/2.13) | | | [doctrine/doctrine-fixtures-bundle](https://packagist.org/packages/doctrine/doctrine-fixtures-bundle) | [3.0](doctrine/doctrine-fixtures-bundle/3.0) | `orm-fixtures`, `ormfixtures` | | [doctrine/doctrine-migrations-bundle](https://packagist.org/packages/doctrine/doctrine-migrations-bundle) | [3.1](doctrine/doctrine-migrations-bundle/3.1) | `doctrine-migrations`, `doctrinemigrations`, `migrations` | @@ -25,7 +26,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [nyholm/psr7](https://packagist.org/packages/nyholm/psr7) | [1.0](nyholm/psr7/1.0) | | | [php-cs-fixer/shim](https://packagist.org/packages/php-cs-fixer/shim) | [3.0](php-cs-fixer/shim/3.0) | `cs-fixer-shim`, `csfixershim`, `php-cs-fixer-shim`, `phpcsfixershim` | | [php-http/discovery](https://packagist.org/packages/php-http/discovery) | [1.18](php-http/discovery/1.18) | | -| [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [10.0](phpunit/phpunit/10.0) | | +| [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [11.1](phpunit/phpunit/11.1) | | | [scheb/2fa-bundle](https://packagist.org/packages/scheb/2fa-bundle) | [6.0](scheb/2fa-bundle/6.0) | `2fa` | | [sensio/framework-extra-bundle](https://packagist.org/packages/sensio/framework-extra-bundle) | [5.2](sensio/framework-extra-bundle/5.2) | `annot`, `annotation`, `annotations`, `annots` | | [sensiolabs/ansi-to-html](https://packagist.org/packages/sensiolabs/ansi-to-html) | [1.2](sensiolabs/ansi-to-html/1.2) | | @@ -110,7 +111,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/ovh-cloud-notifier](https://packagist.org/packages/symfony/ovh-cloud-notifier) | [5.1](symfony/ovh-cloud-notifier/5.1) | `ovh-cloud-notifier`, `ovhcloudnotifier` | | [symfony/pager-duty-notifier](https://packagist.org/packages/symfony/pager-duty-notifier) | [6.3](symfony/pager-duty-notifier/6.3) | `pager-duty-notifier`, `pagerdutynotifier` | | [symfony/panther](https://packagist.org/packages/symfony/panther) | [1.0](symfony/panther/1.0) | `panther` | -| [symfony/phpunit-bridge](https://packagist.org/packages/symfony/phpunit-bridge) | [6.3](symfony/phpunit-bridge/6.3) | `phpunit-bridge`, `phpunitbridge`, `simple-phpunit`, `simplephpunit` | +| [symfony/phpunit-bridge](https://packagist.org/packages/symfony/phpunit-bridge) | [7.3](symfony/phpunit-bridge/7.3) | `phpunit-bridge`, `phpunitbridge`, `simple-phpunit`, `simplephpunit` | | [symfony/phrase-translation-provider](https://packagist.org/packages/symfony/phrase-translation-provider) | [6.4](symfony/phrase-translation-provider/6.4) | `phrase-translation-provider`, `phrasetranslationprovider` | | [symfony/plivo-notifier](https://packagist.org/packages/symfony/plivo-notifier) | [6.3](symfony/plivo-notifier/6.3) | `plivo-notifier`, `plivonotifier` | | [symfony/postal-mailer](https://packagist.org/packages/symfony/postal-mailer) | [7.2](symfony/postal-mailer/7.2) | `postal-mailer`, `postalmailer` | diff --git a/archived/doctrine.deprecations/87424683adc81d7dc305eefec1fced883084aab9.json b/archived/doctrine.deprecations/87424683adc81d7dc305eefec1fced883084aab9.json new file mode 100644 index 00000000..4f2e0d1c --- /dev/null +++ b/archived/doctrine.deprecations/87424683adc81d7dc305eefec1fced883084aab9.json @@ -0,0 +1,19 @@ +{ + "manifests": { + "doctrine/deprecations": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " Doctrine\\Deprecations\\Deprecation::trigger\n Doctrine\\Deprecations\\Deprecation::delegateTriggerToBackend", + "position": "after_target", + "target": "", + "warn_if_missing": false + } + ] + }, + "files": [], + "ref": "87424683adc81d7dc305eefec1fced883084aab9" + } + } +} diff --git a/archived/phpunit.phpunit/c6658a60fc9d594805370eacdf542c3d6b5c0869.json b/archived/phpunit.phpunit/c6658a60fc9d594805370eacdf542c3d6b5c0869.json new file mode 100644 index 00000000..5235fe07 --- /dev/null +++ b/archived/phpunit.phpunit/c6658a60fc9d594805370eacdf542c3d6b5c0869.json @@ -0,0 +1,142 @@ +{ + "manifests": { + "phpunit/phpunit": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " Doctrine\\Deprecations\\Deprecation::trigger\n Doctrine\\Deprecations\\Deprecation::delegateTriggerToBackend", + "position": "after_target", + "target": "", + "requires": [ + "doctrine/deprecations" + ] + } + ], + "copy-from-recipe": { + ".env.test": ".env.test", + "phpunit.dist.xml": "phpunit.dist.xml", + "tests/": "tests/", + "bin/": "%BIN_DIR%/" + }, + "gitignore": [ + "/phpunit.xml", + "/.phpunit.cache/" + ], + "post-install-output": [ + " * Write test cases in the tests/ folder", + " * Use MakerBundle's make:test command as a shortcut!", + " * Run the tests with php bin/phpunit" + ] + }, + "files": { + ".env.test": { + "contents": [ + "# define your env variables for the test env here", + "KERNEL_CLASS='App\\Kernel'", + "APP_SECRET='$ecretf0rt3st'", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "= 80000) {", + " require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';", + " } else {", + " 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';", + "}", + "" + ], + "executable": true + }, + "phpunit.dist.xml": { + "contents": [ + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + "", + " ", + " trigger_deprecation", + " ", + " ", + "", + " ", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869" + } + } +} diff --git a/archived/symfony.phpunit-bridge/dc13fec96bd527bd399c3c01f0aab915c67fd544.json b/archived/symfony.phpunit-bridge/dc13fec96bd527bd399c3c01f0aab915c67fd544.json new file mode 100644 index 00000000..abad8332 --- /dev/null +++ b/archived/symfony.phpunit-bridge/dc13fec96bd527bd399c3c01f0aab915c67fd544.json @@ -0,0 +1,23 @@ +{ + "manifests": { + "symfony/phpunit-bridge": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " \n \n \n ", + "position": "after_target", + "target": "", + "warn_if_missing": true + } + ], + "conflict": { + "phpunit/phpunit": "<10.0", + "symfony/framework-bundle": "<5.4" + } + }, + "files": [], + "ref": "dc13fec96bd527bd399c3c01f0aab915c67fd544" + } + } +} diff --git a/doctrine.deprecations.1.0.json b/doctrine.deprecations.1.0.json new file mode 100644 index 00000000..4f2e0d1c --- /dev/null +++ b/doctrine.deprecations.1.0.json @@ -0,0 +1,19 @@ +{ + "manifests": { + "doctrine/deprecations": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " Doctrine\\Deprecations\\Deprecation::trigger\n Doctrine\\Deprecations\\Deprecation::delegateTriggerToBackend", + "position": "after_target", + "target": "", + "warn_if_missing": false + } + ] + }, + "files": [], + "ref": "87424683adc81d7dc305eefec1fced883084aab9" + } + } +} diff --git a/index.json b/index.json index cf7c60c1..e850e79a 100644 --- a/index.json +++ b/index.json @@ -552,6 +552,9 @@ "1.0", "1.10" ], + "doctrine/deprecations": [ + "1.0" + ], "doctrine/doctrine-bundle": [ "1.6", "1.12", @@ -627,7 +630,8 @@ "4.7", "9.3", "9.6", - "10.0" + "10.0", + "11.1" ], "scheb/2fa-bundle": [ "5.0", @@ -922,7 +926,8 @@ "4.3", "5.1", "5.3", - "6.3" + "6.3", + "7.3" ], "symfony/phrase-translation-provider": [ "6.4" @@ -1327,6 +1332,10 @@ "6.3": { "phpunit/phpunit": "<9.6", "symfony/framework-bundle": "<5.4" + }, + "7.3": { + "phpunit/phpunit": "<10.0", + "symfony/framework-bundle": "<5.4" } }, "symfony/routing": { diff --git a/phpunit.phpunit.11.1.json b/phpunit.phpunit.11.1.json new file mode 100644 index 00000000..5235fe07 --- /dev/null +++ b/phpunit.phpunit.11.1.json @@ -0,0 +1,142 @@ +{ + "manifests": { + "phpunit/phpunit": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " Doctrine\\Deprecations\\Deprecation::trigger\n Doctrine\\Deprecations\\Deprecation::delegateTriggerToBackend", + "position": "after_target", + "target": "", + "requires": [ + "doctrine/deprecations" + ] + } + ], + "copy-from-recipe": { + ".env.test": ".env.test", + "phpunit.dist.xml": "phpunit.dist.xml", + "tests/": "tests/", + "bin/": "%BIN_DIR%/" + }, + "gitignore": [ + "/phpunit.xml", + "/.phpunit.cache/" + ], + "post-install-output": [ + " * Write test cases in the tests/ folder", + " * Use MakerBundle's make:test command as a shortcut!", + " * Run the tests with php bin/phpunit" + ] + }, + "files": { + ".env.test": { + "contents": [ + "# define your env variables for the test env here", + "KERNEL_CLASS='App\\Kernel'", + "APP_SECRET='$ecretf0rt3st'", + "" + ], + "executable": false + }, + "bin/phpunit": { + "contents": [ + "#!/usr/bin/env php", + "= 80000) {", + " require dirname(__DIR__).'/vendor/phpunit/phpunit/phpunit';", + " } else {", + " 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';", + "}", + "" + ], + "executable": true + }, + "phpunit.dist.xml": { + "contents": [ + "", + "", + "", + "", + " ", + " ", + " ", + " ", + " ", + " ", + "", + " ", + " ", + " tests", + " ", + " ", + "", + " ", + " ", + " src", + " ", + "", + " ", + " trigger_deprecation", + " ", + " ", + "", + " ", + " ", + "", + "" + ], + "executable": false + }, + "tests/bootstrap.php": { + "contents": [ + "bootEnv(dirname(__DIR__).'/.env');", + "}", + "", + "if ($_SERVER['APP_DEBUG']) {", + " umask(0000);", + "}", + "" + ], + "executable": false + } + }, + "ref": "c6658a60fc9d594805370eacdf542c3d6b5c0869" + } + } +} diff --git a/symfony.phpunit-bridge.7.3.json b/symfony.phpunit-bridge.7.3.json new file mode 100644 index 00000000..abad8332 --- /dev/null +++ b/symfony.phpunit-bridge.7.3.json @@ -0,0 +1,23 @@ +{ + "manifests": { + "symfony/phpunit-bridge": { + "manifest": { + "add-lines": [ + { + "file": "phpunit.dist.xml", + "content": " \n \n \n ", + "position": "after_target", + "target": "", + "warn_if_missing": true + } + ], + "conflict": { + "phpunit/phpunit": "<10.0", + "symfony/framework-bundle": "<5.4" + } + }, + "files": [], + "ref": "dc13fec96bd527bd399c3c01f0aab915c67fd544" + } + } +}