Cleanup from new project

This commit is contained in:
Tim 2021-12-28 19:30:09 +01:00
parent a9f6c4c871
commit 2aea0fe6b7
11 changed files with 1 additions and 2413 deletions

5
.env
View File

@ -17,11 +17,6 @@
APP_ENV=dev
APP_SECRET=cd8d80444b5bc7d2eb675623a6acaca8
###< symfony/framework-bundle ###
###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###
###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml

View File

@ -1,6 +0,0 @@
# define your env variables for the test env here
KERNEL_CLASS='App\Kernel'
APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

6
.gitignore vendored
View File

@ -1,4 +1,3 @@
###> symfony/framework-bundle ###
/.env.local
/.env.local.php
@ -13,8 +12,3 @@
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###
###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

View File

@ -23,14 +23,9 @@
"symfony/form": "6.0.*",
"symfony/framework-bundle": "6.0.*",
"symfony/http-client": "6.0.*",
"symfony/intl": "6.0.*",
"symfony/mailer": "6.0.*",
"symfony/mime": "6.0.*",
"symfony/monolog-bundle": "^3.1",
"symfony/notifier": "6.0.*",
"symfony/process": "6.0.*",
"symfony/property-access": "6.0.*",
"symfony/property-info": "6.0.*",
"symfony/proxy-manager-bridge": "6.0.*",
"symfony/runtime": "6.0.*",
"symfony/security-bundle": "6.0.*",
@ -45,8 +40,6 @@
"twig/twig": "^2.12|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"symfony/browser-kit": "6.0.*",
"symfony/css-selector": "6.0.*",
"symfony/debug-bundle": "6.0.*",
"symfony/maker-bundle": "^1.0",

2207
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
framework:
mailer:
dsn: '%env(MAILER_DSN)%'

View File

@ -1,11 +1,6 @@
version: '3'
services:
###> symfony/mailer ###
mailer:
image: schickling/mailcatcher
ports: [1025, 1080]
###< symfony/mailer ###
###> doctrine/doctrine-bundle ###
database:

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
convertDeprecationsToExceptions="false"
>
<php>
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<!-- Run `composer require symfony/panther` before enabling this extension -->
<!--
<extensions>
<extension class="Symfony\Component\Panther\ServerExtension" />
</extensions>
-->
</phpunit>

View File

@ -82,9 +82,6 @@
"doctrine/sql-formatter": {
"version": "1.1.2"
},
"egulias/email-validator": {
"version": "3.1.2"
},
"friendsofphp/proxy-manager-lts": {
"version": "v1.0.5"
},
@ -94,18 +91,9 @@
"monolog/monolog": {
"version": "2.3.5"
},
"myclabs/deep-copy": {
"version": "1.10.2"
},
"nikic/php-parser": {
"version": "v4.13.2"
},
"phar-io/manifest": {
"version": "2.0.3"
},
"phar-io/version": {
"version": "3.1.0"
},
"phpdocumentor/reflection-common": {
"version": "2.2.0"
},
@ -115,41 +103,9 @@
"phpdocumentor/type-resolver": {
"version": "1.5.1"
},
"phpspec/prophecy": {
"version": "v1.15.0"
},
"phpstan/phpdoc-parser": {
"version": "1.2.0"
},
"phpunit/php-code-coverage": {
"version": "9.2.10"
},
"phpunit/php-file-iterator": {
"version": "3.0.6"
},
"phpunit/php-invoker": {
"version": "3.1.1"
},
"phpunit/php-text-template": {
"version": "2.0.4"
},
"phpunit/php-timer": {
"version": "5.0.3"
},
"phpunit/phpunit": {
"version": "9.5",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "9.3",
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
},
"files": [
".env.test",
"phpunit.xml.dist",
"tests/bootstrap.php"
]
},
"psr/cache": {
"version": "3.0.0"
},
@ -165,54 +121,6 @@
"psr/log": {
"version": "3.0.0"
},
"sebastian/cli-parser": {
"version": "1.0.1"
},
"sebastian/code-unit": {
"version": "1.0.8"
},
"sebastian/code-unit-reverse-lookup": {
"version": "2.0.3"
},
"sebastian/comparator": {
"version": "4.0.6"
},
"sebastian/complexity": {
"version": "2.0.2"
},
"sebastian/diff": {
"version": "4.0.4"
},
"sebastian/environment": {
"version": "5.1.3"
},
"sebastian/exporter": {
"version": "4.0.4"
},
"sebastian/global-state": {
"version": "5.0.3"
},
"sebastian/lines-of-code": {
"version": "1.0.3"
},
"sebastian/object-enumerator": {
"version": "4.0.4"
},
"sebastian/object-reflector": {
"version": "2.0.4"
},
"sebastian/recursion-context": {
"version": "4.0.4"
},
"sebastian/resource-operations": {
"version": "3.0.3"
},
"sebastian/type": {
"version": "2.3.4"
},
"sebastian/version": {
"version": "3.0.2"
},
"sensio/framework-extra-bundle": {
"version": "6.2",
"recipe": {
@ -228,9 +136,6 @@
"symfony/asset": {
"version": "v6.0.1"
},
"symfony/browser-kit": {
"version": "v6.0.1"
},
"symfony/cache": {
"version": "v6.0.1"
},
@ -276,9 +181,6 @@
"symfony/doctrine-bridge": {
"version": "v6.0.1"
},
"symfony/dom-crawler": {
"version": "v6.0.1"
},
"symfony/dotenv": {
"version": "v6.0.1"
},
@ -346,21 +248,6 @@
"symfony/http-kernel": {
"version": "v6.0.1"
},
"symfony/intl": {
"version": "v6.0.1"
},
"symfony/mailer": {
"version": "6.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.3",
"ref": "bbfc7e27257d3a3f12a6fb0a42540a42d9623a37"
},
"files": [
"config/packages/mailer.yaml"
]
},
"symfony/maker-bundle": {
"version": "1.36",
"recipe": {
@ -370,9 +257,6 @@
"ref": "fadbfe33303a76e25cb63401050439aa9b1a9c7f"
}
},
"symfony/mime": {
"version": "v6.0.1"
},
"symfony/monolog-bridge": {
"version": "v6.0.1"
},
@ -430,9 +314,6 @@
"symfony/polyfill-intl-icu": {
"version": "v1.23.0"
},
"symfony/polyfill-intl-idn": {
"version": "v1.23.0"
},
"symfony/polyfill-intl-normalizer": {
"version": "v1.23.0"
},
@ -574,9 +455,6 @@
"symfony/yaml": {
"version": "v6.0.1"
},
"theseer/tokenizer": {
"version": "1.2.1"
},
"twig/extra-bundle": {
"version": "v3.3.4"
},

View File

@ -1,11 +0,0 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
require dirname(__DIR__).'/config/bootstrap.php';
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}

View File