diff --git a/.env.dist b/.env.dist new file mode 100644 index 000000000..5b3e8dedf --- /dev/null +++ b/.env.dist @@ -0,0 +1,23 @@ +# This file is a "template" of which env vars needs to be defined in your configuration or in an .env file +# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production. +# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration + +###> symfony/framework-bundle ### +APP_ENV=dev +APP_DEBUG=1 +APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629 +###< symfony/framework-bundle ### + +###> doctrine/doctrine-bundle ### +# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url +# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db" +# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls +DATABASE_URL=sqlite:///var/data/blog.sqlite +###< doctrine/doctrine-bundle ### + +###> symfony/swiftmailer-bundle ### +# For Gmail as a transport, use: "gmail://username:password@localhost" +# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" +# Delivery is disabled by default via "null://localhost" +MAILER_URL=null://localhost +###< symfony/swiftmailer-bundle ### diff --git a/.gitignore b/.gitignore index e182a2147..4edb67903 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/app/config/parameters.yml /build/ /node_modules/ /phpunit.xml @@ -15,7 +14,17 @@ /var/sessions/* !var/sessions/.gitkeep !var/SymfonyRequirements.php +/public/build/fonts/glyphicons-* +/public/build/images/glyphicons-* +###> symfony/framework-bundle ### +.env +/public/bundles/ +/var/ /vendor/ -/web/bundles/ -/web/build/fonts/glyphicons-* -/web/build/images/glyphicons-* +###< symfony/framework-bundle ### +###> symfony/phpunit-bridge ### +/phpunit.xml +###< symfony/phpunit-bridge ### +###> symfony/web-server-bundle ### +.web-server-pid +###< symfony/web-server-bundle ### diff --git a/.php_cs.dist b/.php_cs.dist index 3a5ae58fa..a5b6cf731 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -11,12 +11,12 @@ COMMENT; $finder = PhpCsFixer\Finder::create() ->in(__DIR__) + ->exclude('config') ->exclude('var') - ->exclude('web/bundles') - ->exclude('web/css') - ->exclude('web/fonts') - ->exclude('web/js') - ->notPath('web/config.php') + ->exclude('public/bundles') + ->exclude('public/css') + ->exclude('public/fonts') + ->exclude('public/js') ; return PhpCsFixer\Config::create() diff --git a/.travis.yml b/.travis.yml index 99739806f..e080cb8e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ cache: matrix: fast_finish: true include: - - php: 5.5 - - php: 5.6 - - php: 7.0 - php: 7.1 before_install: @@ -21,15 +18,15 @@ install: - composer install script: + - cp .env.dist .env - ./vendor/bin/simple-phpunit # this checks that the source code follows the Symfony Code Syntax rules - ./vendor/bin/php-cs-fixer fix --diff --dry-run -v # this checks that the YAML config files contain no syntax errors - - ./bin/console lint:yaml app/config - - ./bin/console lint:yaml @CodeExplorerBundle + - ./bin/console lint:yaml config # this checks that the Twig template files contain no syntax errors - - ./bin/console lint:twig app/Resources @CodeExplorerBundle + - ./bin/console lint:twig templates # this checks that the XLIFF translations contain no syntax errors - - ./bin/console lint:xliff app/Resources + - ./bin/console lint:xliff translations # this checks that the application doesn't use dependencies with known security vulnerabilities - ./bin/console security:check --end-point=http://security.sensiolabs.org/check_lock diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..de632350f --- /dev/null +++ b/Makefile @@ -0,0 +1,46 @@ +ifndef APP_ENV + include .env +endif + +###> symfony/framework-bundle ### +CONSOLE := $(shell which bin/console) +sf_console: +ifndef CONSOLE + @printf "Run \033[32mcomposer require cli\033[39m to install the Symfony console.\n" +endif + +cache-clear: +ifdef CONSOLE + @$(CONSOLE) cache:clear --no-warmup +else + @rm -rf var/cache/* +endif +.PHONY: cache-clear + +cache-warmup: cache-clear +ifdef CONSOLE + @$(CONSOLE) cache:warmup +else + @printf "cannot warmup the cache (needs symfony/console)\n" +endif +.PHONY: cache-warmup + +serve_as_sf: sf_console +ifndef CONSOLE + @${MAKE} serve_as_php +endif + @$(CONSOLE) | grep server:start > /dev/null || ${MAKE} serve_as_php + @$(CONSOLE) server:start + + @printf "Quit the server with \033[32;49mbin/console server:stop.\033[39m\n" + +serve_as_php: + @printf "\033[32;49mServer listening on http://127.0.0.1:8000\033[39m\n"; + @printf "Quit the server with CTRL-C.\n" + @printf "Run \033[32mcomposer require symfony/web-server-bundle\033[39m for a better web server\n" + php -S 127.0.0.1:8000 -t public + +serve: + @${MAKE} serve_as_sf +.PHONY: sf_console serve serve_as_sf serve_as_php +###< symfony/framework-bundle ### diff --git a/app/.htaccess b/app/.htaccess deleted file mode 100644 index fb1de45bd..000000000 --- a/app/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ - - Require all denied - - - Order deny,allow - Deny from all - diff --git a/app/AppCache.php b/app/AppCache.php deleted file mode 100644 index d6e4abbaf..000000000 --- a/app/AppCache.php +++ /dev/null @@ -1,16 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; - -class AppCache extends HttpCache -{ -} diff --git a/app/AppKernel.php b/app/AppKernel.php deleted file mode 100644 index c0c4ad4b6..000000000 --- a/app/AppKernel.php +++ /dev/null @@ -1,80 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Component\Config\Loader\LoaderInterface; -use Symfony\Component\HttpKernel\Kernel; - -class AppKernel extends Kernel -{ - public function registerBundles() - { - // When you install a third-party bundle or create a new bundle in your - // application, you must add it in the following array to register it - // in the application. Otherwise, the bundle won't be enabled and you - // won't be able to use it. - $bundles = [ - new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), - new Symfony\Bundle\SecurityBundle\SecurityBundle(), - new Symfony\Bundle\TwigBundle\TwigBundle(), - new Symfony\Bundle\MonologBundle\MonologBundle(), - new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), - new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), - new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), - new CodeExplorerBundle\CodeExplorerBundle(), - new AppBundle\AppBundle(), - new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(), // used for initial population of non-SQLite databases in production envs - new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), - ]; - - // Some bundles are only used while developing the application or during - // the unit and functional tests. Therefore, they are only registered - // when the application runs in 'dev' or 'test' environments. This allows - // to increase application performance in the production environment. - if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { - $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle(); - $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); - $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); - - if ('dev' === $this->getEnvironment()) { - $bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle(); - $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); - } - - if ('test' === $this->getEnvironment()) { - // this bundle makes it easier to work with databases in PHPUnit - // tests, so it's only loaded for the 'test' environment - $bundles[] = new DAMA\DoctrineTestBundle\DAMADoctrineTestBundle(); - } - } - - return $bundles; - } - - public function getRootDir() - { - return __DIR__; - } - - public function getCacheDir() - { - return dirname(__DIR__).'/var/cache/'.$this->getEnvironment(); - } - - public function getLogDir() - { - return dirname(__DIR__).'/var/logs'; - } - - public function registerContainerConfiguration(LoaderInterface $loader) - { - $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml'); - } -} diff --git a/app/config/config.yml b/app/config/config.yml deleted file mode 100644 index a8a05527f..000000000 --- a/app/config/config.yml +++ /dev/null @@ -1,85 +0,0 @@ -# This is the main configuration file of your application. It stores all the -# common options for every execution environment ('prod', 'dev', 'test'). - -# To avoid creating configuration files that are too long, we first import some -# files that define the values for important parts of the Symfony application, -# such as the security component and the dependency injection services -imports: - - { resource: parameters.yml } - - { resource: security.yml } - - { resource: services.yml } - -# These are the configuration parameters that define the application's behavior -# and which are independent from the underlying technical infrastructure -# See https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration -parameters: - # This parameter defines the codes of the locales (languages) enabled in the application - app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl|hr|zh_CN - app.notifications.email_sender: anonymous@example.com - -# Basic configuration for the Symfony framework features -framework: - # The 'ide' option turns all of the file paths in an exception page - # into clickable links that open the given file using your favorite IDE. - # Supported values are 'phpstorm', 'sublime', 'textmate', 'macvim' and 'emacs'. - # When 'ide' is set to null the file is opened in your web browser. - # See https://symfony.com/doc/current/reference/configuration/framework.html#ide - ide: ~ - - # When using the HTTP Cache, ESI allows to render page fragments separately - # and with different cache configurations for each fragment - # https://symfony.com/doc/current/book/http_cache.html#edge-side-includes - esi: { enabled: true } - translator: { fallback: '%locale%' } - secret: '%env(SYMFONY_SECRET)%' - router: - resource: '%kernel.project_dir%/app/config/routing.yml' - strict_requirements: ~ - form: ~ - csrf_protection: ~ - validation: { enable_annotations: true } - templating: - engines: ['twig'] - default_locale: '%locale%' - trusted_hosts: ~ - session: - handler_id: session.handler.native_file - save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%' - fragments: ~ - http_method_override: true - assets: - json_manifest_path: '%kernel.project_dir%/web/build/manifest.json' - php_errors: - log: true - cache: - # this value is used as part of the "namespace" generated for the cache item keys - # to avoid collisions when multiple apps share the same cache backend (e.g. a Redis server) - # See https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed - prefix_seed: symfony-demo - -# Twig Configuration (used for rendering application templates) -twig: - debug: '%kernel.debug%' - strict_variables: '%kernel.debug%' - form_themes: - - 'form/layout.html.twig' - - 'form/fields.html.twig' - -# Doctrine Configuration (used to access databases and manipulate their information) -doctrine: - dbal: - # if you don't want to use SQLite, change the URL in parameters.yml or set the DATABASE_URL environment variable - url: '%env(DATABASE_URL)%' - orm: - auto_generate_proxy_classes: '%kernel.debug%' - auto_mapping: true - -# Swiftmailer Configuration (used to send emails) -# instead of configuring the mailer credentials in this file, we pull -# them from the app/config/parameters.yml file. The reason is that config.yml -# stores options that change the application behavior and parameters.yml -# stores options that change from one server to another -# -swiftmailer: - url : '%env(MAILER_URL)%' - spool: { type: memory } diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml deleted file mode 100644 index bb9f05486..000000000 --- a/app/config/config_dev.yml +++ /dev/null @@ -1,41 +0,0 @@ -imports: - - { resource: config.yml } - -framework: - router: - resource: "%kernel.project_dir%/app/config/routing_dev.yml" - strict_requirements: true - profiler: { only_exceptions: false } - -web_profiler: - toolbar: '%kernel.debug%' - intercept_redirects: false - -monolog: - handlers: - main: - type: stream - path: '%env(LOG_URL)%' - level: debug - channels: ['!event'] - console: - type: console - process_psr_3_messages: false - channels: ['!event', '!doctrine', '!console'] - # To follow logs in real time, execute the following command: - # `bin/console server:log -vv` - server_log: - type: server_log - process_psr_3_messages: false - host: 127.0.0.1:9911 - # uncomment to get logging in your browser - # you may have to allow bigger header sizes in your Web server configuration - #firephp: - # type: firephp - # level: info - #chromephp: - # type: chromephp - # level: info - -swiftmailer: - disable_delivery: true diff --git a/app/config/config_prod.yml b/app/config/config_prod.yml deleted file mode 100644 index 7f9b1ef03..000000000 --- a/app/config/config_prod.yml +++ /dev/null @@ -1,25 +0,0 @@ -imports: - - { resource: config.yml } - -#framework: -# cache: -# system: cache.adapter.apcu - -#doctrine: -# orm: -# metadata_cache_driver: apc -# result_cache_driver: apc -# query_cache_driver: apc - -monolog: - handlers: - main: - type: fingers_crossed - action_level: error - handler: nested - nested: - type: stream - path: '%env(LOG_URL)%' - level: debug - console: - type: console diff --git a/app/config/config_test.yml b/app/config/config_test.yml deleted file mode 100644 index 286054135..000000000 --- a/app/config/config_test.yml +++ /dev/null @@ -1,30 +0,0 @@ -imports: - - { resource: config_dev.yml } - -parameters: - # It's recommended to use a separate database for tests. This allows to have a - # fixed and known set of data fixtures, it simplifies the code of tests and it - # makes them more robust. - # In this case we just need to define a different path for the application database. - env(DATABASE_URL): 'sqlite:///%kernel.project_dir%/var/data/blog_test.sqlite' - -framework: - test: ~ - session: - storage_id: session.storage.mock_file - profiler: - collect: false - -web_profiler: - toolbar: false - intercept_redirects: false - -# swiftmailer: -# disable_delivery: true - -# this configuration simplifies testing URLs protected by the security mechanism -# See https://symfony.com/doc/current/cookbook/testing/http_authentication.html -security: - firewalls: - secured_area: - http_basic: ~ diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist deleted file mode 100644 index 27db335c4..000000000 --- a/app/config/parameters.yml.dist +++ /dev/null @@ -1,36 +0,0 @@ -# This file defines the canonical configuration parameters of the application. -# Symfony uses this file as a template to generate the real app/config/parameters.yml -# used by the application. -# See https://symfony.com/doc/current/best_practices/configuration.html#canonical-parameters -parameters: - # The code of the default language used by the application ('en' = English) - locale: en - - # The 'secret' value is a random string of characters used by Symfony to - # to add more entropy to security related operations. - # see: https://symfony.com/doc/current/reference/configuration/framework.html#secret - env(SYMFONY_SECRET): 'secret_value_for_symfony_demo_application' - - # Destination for log files; can also be "php://stderr" etc - env(LOG_URL): '%kernel.logs_dir%/%kernel.environment%.log' - - # this demo application uses an embedded SQLite database to simplify setup. - # in a real Symfony application you probably will use a MySQL or PostgreSQL database - # the path must be relative or else it will not work on Windows - env(DATABASE_URL): 'sqlite:///%kernel.project_dir%/var/data/blog.sqlite' - - # Uncomment this line to use a MySQL database instead of SQLite (and remove - # the "doctrine" section from config_dev.yml regarding SQLite): - # - # env(DATABASE_URL): 'mysql://root:pass@127.0.0.1:3306/symfony_demo' - # - # You can also create the database and load the sample data from the command line: - # - # $ cd symfony-demo/ - # $ php bin/console doctrine:database:create - # $ php bin/console doctrine:schema:create - # $ php bin/console doctrine:fixtures:load - - # If you don't use a real mail server, you can send emails via your Gmail account. - # see https://symfony.com/doc/current/cookbook/email/gmail.html - env(MAILER_URL): 'smtp://localhost:25?encryption=&auth_mode=' diff --git a/app/config/routing.yml b/app/config/routing.yml deleted file mode 100644 index 0d755f49a..000000000 --- a/app/config/routing.yml +++ /dev/null @@ -1,27 +0,0 @@ -# These first lines load the all routes defined as @Route() annotations in any -# controller defined inside the src/AppBundle/Controller/ directory. Controllers -# are loaded recursively, so you can separate them into subdirectories. -# If you don't like to add annotations in your applications, you can also define -# the routes in YAML, XML or PHP files. -# See https://symfony.com/doc/current/book/routing.html -app: - resource: '@AppBundle/Controller/' - type: annotation - prefix: /{_locale} - requirements: - _locale: '%app_locales%' - defaults: - _locale: '%locale%' - -# These lines define a route using YAML configuration. The controller used by -# the route (FrameworkBundle:Template:template) is a convenient shortcut when -# the template can be rendered without executing any logic in your own controller. -# See https://symfony.com/doc/current/cookbook/templating/render_without_controller.html -homepage: - path: /{_locale} - requirements: - _locale: '%app_locales%' - defaults: - _controller: FrameworkBundle:Template:template - template: default/homepage.html.twig - _locale: '%locale%' diff --git a/app/config/routing_dev.yml b/app/config/routing_dev.yml deleted file mode 100644 index dcf66b5c2..000000000 --- a/app/config/routing_dev.yml +++ /dev/null @@ -1,26 +0,0 @@ -# this imports the routes used to display the web debug toolbar at the bottom of each page -_wdt: - resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml" - prefix: /_wdt - -# this imports the routes needed to display the Symfony Profiler information -_profiler: - resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" - prefix: /_profiler - -# this imports the route used to test error pages. Just browse the following URL: -# /{_locale}/_error/{status_code}.{format} -# (e.g. /en/_error/404, /en/_error/403.json, /fr/_error/500.xml) -# See https://symfony.com/doc/current/cookbook/controller/error_pages.html#testing-error-pages-during-development -_errors: - resource: "@TwigBundle/Resources/config/routing/errors.xml" - prefix: /{_locale}/_error - requirements: - _locale: '%app_locales%' - defaults: - _locale: '%locale%' - -# this loads the main routing file, which usually defines the routes available -# in any environment (production, development, etc.) -_main: - resource: routing.yml diff --git a/appveyor.yml b/appveyor.yml index b36933eb5..d76c5304e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,12 +16,12 @@ init: install: - mkdir c:\php && cd c:\php - appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem - - appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.5.9-nts-Win32-VC11-x86.zip - - 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul + - appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip + - 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul - del /Q *.zip - cd ext - - appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.10/php_apcu-4.0.10-5.5-nts-vc11-x86.zip - - 7z x php_apcu-4.0.10-5.5-nts-vc11-x86.zip -y >nul + - appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.8-7.1-ts-vc14-x86.zip + - 7z x php_apcu-5.1.8-7.1-ts-vc14-x86.zip -y >nul - del /Q *.zip - cd .. - copy /Y php.ini-development php.ini @@ -40,7 +40,7 @@ install: - echo extension=php_curl.dll >> php.ini - echo curl.cainfo=c:\php\cacert.pem >> php.ini - cd c:\projects\symfony-demo - - IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.2.1/composer.phar) + - IF NOT EXIST composer.phar (appveyor DownloadFile https://getcomposer.org/download/1.3.0/composer.phar) - php composer.phar self-update - IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev) - php composer.phar update --no-progress --ansi diff --git a/bin/console b/bin/console index 3c3575651..87cef1583 100755 --- a/bin/console +++ b/bin/console @@ -1,30 +1,33 @@ #!/usr/bin/env php load(__DIR__.'/../.env'); +} $input = new ArgvInput(); -$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev'); -$debug = getenv('SYMFONY_DEBUG') !== '0' && !$input->hasParameterOption(['--no-debug', '']) && $env !== 'prod'; +$env = $input->getParameterOption(['--env', '-e'], getenv('APP_ENV') ?: 'dev'); +$debug = getenv('APP_DEBUG') !== '0' && !$input->hasParameterOption(['--no-debug', '']); -if ($debug) { +if ($debug && class_exists(Debug::class)) { Debug::enable(); } -$kernel = new AppKernel($env, $debug); +$kernel = new Kernel($env, $debug); $application = new Application($kernel); $application->run($input); diff --git a/bin/symfony_requirements b/bin/symfony_requirements deleted file mode 100755 index a7bf65a1b..000000000 --- a/bin/symfony_requirements +++ /dev/null @@ -1,146 +0,0 @@ -#!/usr/bin/env php -getPhpIniConfigPath(); - -echo_title('Symfony Requirements Checker'); - -echo '> PHP is using the following php.ini file:'.PHP_EOL; -if ($iniPath) { - echo_style('green', ' '.$iniPath); -} else { - echo_style('yellow', ' WARNING: No configuration file (php.ini) used by PHP!'); -} - -echo PHP_EOL.PHP_EOL; - -echo '> Checking Symfony requirements:'.PHP_EOL.' '; - -$messages = array(); -foreach ($symfonyRequirements->getRequirements() as $req) { - if ($helpText = get_error_message($req, $lineSize)) { - echo_style('red', 'E'); - $messages['error'][] = $helpText; - } else { - echo_style('green', '.'); - } -} - -$checkPassed = empty($messages['error']); - -foreach ($symfonyRequirements->getRecommendations() as $req) { - if ($helpText = get_error_message($req, $lineSize)) { - echo_style('yellow', 'W'); - $messages['warning'][] = $helpText; - } else { - echo_style('green', '.'); - } -} - -if ($checkPassed) { - echo_block('success', 'OK', 'Your system is ready to run Symfony projects'); -} else { - echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects'); - - echo_title('Fix the following mandatory requirements', 'red'); - - foreach ($messages['error'] as $helpText) { - echo ' * '.$helpText.PHP_EOL; - } -} - -if (!empty($messages['warning'])) { - echo_title('Optional recommendations to improve your setup', 'yellow'); - - foreach ($messages['warning'] as $helpText) { - echo ' * '.$helpText.PHP_EOL; - } -} - -echo PHP_EOL; -echo_style('title', 'Note'); -echo ' The command console could use a different php.ini file'.PHP_EOL; -echo_style('title', '~~~~'); -echo ' than the one used with your web server. To be on the'.PHP_EOL; -echo ' safe side, please check the requirements from your web'.PHP_EOL; -echo ' server using the '; -echo_style('yellow', 'web/config.php'); -echo ' script.'.PHP_EOL; -echo PHP_EOL; - -exit($checkPassed ? 0 : 1); - -function get_error_message(Requirement $requirement, $lineSize) -{ - if ($requirement->isFulfilled()) { - return; - } - - $errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL; - $errorMessage .= ' > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.' > ').PHP_EOL; - - return $errorMessage; -} - -function echo_title($title, $style = null) -{ - $style = $style ?: 'title'; - - echo PHP_EOL; - echo_style($style, $title.PHP_EOL); - echo_style($style, str_repeat('~', strlen($title)).PHP_EOL); - echo PHP_EOL; -} - -function echo_style($style, $message) -{ - // ANSI color codes - $styles = array( - 'reset' => "\033[0m", - 'red' => "\033[31m", - 'green' => "\033[32m", - 'yellow' => "\033[33m", - 'error' => "\033[37;41m", - 'success' => "\033[37;42m", - 'title' => "\033[34m", - ); - $supports = has_color_support(); - - echo($supports ? $styles[$style] : '').$message.($supports ? $styles['reset'] : ''); -} - -function echo_block($style, $title, $message) -{ - $message = ' '.trim($message).' '; - $width = strlen($message); - - echo PHP_EOL.PHP_EOL; - - echo_style($style, str_repeat(' ', $width)); - echo PHP_EOL; - echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT)); - echo PHP_EOL; - echo_style($style, $message); - echo PHP_EOL; - echo_style($style, str_repeat(' ', $width)); - echo PHP_EOL; -} - -function has_color_support() -{ - static $support; - - if (null === $support) { - if (DIRECTORY_SEPARATOR == '\\') { - $support = false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI'); - } else { - $support = function_exists('posix_isatty') && @posix_isatty(STDOUT); - } - } - - return $support; -} diff --git a/composer.json b/composer.json index 67da466d3..77956e001 100644 --- a/composer.json +++ b/composer.json @@ -3,74 +3,78 @@ "license": "MIT", "type": "project", "description": "Symfony Demo Application", - "autoload": { - "psr-4": { - "AppBundle\\": "src/AppBundle/", - "CodeExplorerBundle\\": "src/CodeExplorerBundle/" - }, - "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] - }, - "autoload-dev": { - "psr-4": { "Tests\\": "tests/" }, - "files": [ "vendor/symfony/symfony/src/Symfony/Component/VarDumper/Resources/functions/dump.php" ] - }, "require": { - "php" : ">=5.5.9", - "ext-pdo_sqlite" : "*", - "doctrine/doctrine-bundle" : "^1.6", - "doctrine/doctrine-cache-bundle" : "^1.2", - "doctrine/doctrine-fixtures-bundle" : "^2.2", - "doctrine/orm" : "^2.5", - "erusev/parsedown" : "^1.5", - "ezyang/htmlpurifier" : "^4.7", - "incenteev/composer-parameter-handler" : "^2.0", - "sensio/distribution-bundle" : "^5.0", - "sensio/framework-extra-bundle" : "^3.0.2", - "symfony/monolog-bundle" : "^3.0", - "symfony/polyfill-apcu" : "^1.0", - "symfony/swiftmailer-bundle" : "^2.3", - "symfony/symfony" : "^3.3", - "twig/extensions" : "^1.5", - "twig/twig" : "^1.28 || ^2.0", - "white-october/pagerfanta-bundle" : "^1.0" + "php": "^7.1.3", + "ext-pdo_sqlite": "*", + "doctrine/doctrine-fixtures-bundle": "^2.3", + "erusev/parsedown": "^1.6", + "ezyang/htmlpurifier": "^4.9", + "sensio/framework-extra-bundle": "^3.0", + "sensiolabs/security-checker": "^4.1", + "symfony/asset": "^3.3", + "symfony/browser-kit": "^3.3", + "symfony/css-selector": "^3.3", + "symfony/expression-language": "^3.3", + "symfony/flex": "^1.0", + "symfony/form": "^3.3", + "symfony/framework-bundle": "^3.3", + "symfony/monolog-bundle": "^3.1", + "symfony/orm-pack": "^1.0", + "symfony/polyfill-apcu": "^1.4", + "symfony/security-bundle": "^3.3", + "symfony/swiftmailer-bundle": "^3.0", + "symfony/translation": "^3.3", + "symfony/validator": "^3.3", + "symfony/yaml": "^3.3", + "twig/extensions": "^1.5", + "twig/twig": "^2.4", + "white-october/pagerfanta-bundle": "^1.0" }, "require-dev": { - "dama/doctrine-test-bundle" : "^3.0", - "friendsofphp/php-cs-fixer" : "^2.0", - "sensio/generator-bundle" : "^3.0", - "symfony/phpunit-bridge" : "^3.0" - }, - "scripts": { - "symfony-scripts": [ - "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile", - "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget" - ], - "post-install-cmd": [ - "@symfony-scripts" - ], - "post-update-cmd": [ - "@symfony-scripts" - ] + "dama/doctrine-test-bundle": "^3.1", + "friendsofphp/php-cs-fixer": "^2.4", + "symfony/debug-bundle": "^3.3", + "symfony/dotenv": "^3.3", + "symfony/phpunit-bridge": "^3.3", + "symfony/profiler-pack": "^1.0", + "symfony/var-dumper": "^3.3", + "symfony/web-server-bundle": "^3.3" }, "config": { "platform": { - "php": "5.5.9" + "php": "7.1.3" + }, + "preferred-install": { + "*": "dist" }, "sort-packages": true }, + "autoload": { + "psr-4": { + "App\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "App\\Tests\\": "tests/" + } + }, + "scripts": { + "auto-scripts": { + "make cache-warmup": "script", + "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd", + "security-checker security:check": "script" + } + }, + "conflict": { + "symfony/symfony": "*", + "symfony/twig-bundle": "<3.3", + "symfony/debug": "<3.3" + }, "extra": { - "symfony-app-dir": "app", - "symfony-bin-dir": "bin", - "symfony-var-dir": "var", - "symfony-web-dir": "web", - "symfony-tests-dir": "tests", - "symfony-assets-install": "relative", - "incenteev-parameters": { - "file": "app/config/parameters.yml" + "symfony": { + "id": "01BP22MQ00QH5WD6NN6HHD3EX4", + "allow-contrib": true } } } diff --git a/composer.lock b/composer.lock index bdd4d256c..e8326aa9c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "fb568464bbe7e7b4ac707073201c90ab", + "content-hash": "4bb9e80aa633f2acfe6511b678d8a05c", "packages": [ { "name": "composer/ca-bundle", @@ -67,35 +67,35 @@ }, { "name": "doctrine/annotations", - "version": "v1.2.7", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535" + "reference": "5beebb01b025c94e93686b7a0ed3edae81fe3e7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/f25c8aab83e0c3e976fd7d19875f198ccf2f7535", - "reference": "f25c8aab83e0c3e976fd7d19875f198ccf2f7535", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/5beebb01b025c94e93686b7a0ed3edae81fe3e7f", + "reference": "5beebb01b025c94e93686b7a0ed3edae81fe3e7f", "shasum": "" }, "require": { "doctrine/lexer": "1.*", - "php": ">=5.3.2" + "php": "^7.1" }, "require-dev": { "doctrine/cache": "1.*", - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3.x-dev" + "dev-master": "1.5.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Annotations\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, "notification-url": "https://packagist.org/downloads/", @@ -131,37 +131,41 @@ "docblock", "parser" ], - "time": "2015-08-31T12:32:49+00:00" + "time": "2017-07-22T10:58:02+00:00" }, { "name": "doctrine/cache", - "version": "v1.6.2", + "version": "v1.7.1", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b" + "reference": "b3217d58609e9c8e661cd41357a54d926c4a2a1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/eb152c5100571c7a45470ff2a35095ab3f3b900b", - "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b", + "url": "https://api.github.com/repos/doctrine/cache/zipball/b3217d58609e9c8e661cd41357a54d926c4a2a1a", + "reference": "b3217d58609e9c8e661cd41357a54d926c4a2a1a", "shasum": "" }, "require": { - "php": "~5.5|~7.0" + "php": "~7.1" }, "conflict": { "doctrine/common": ">2.2,<2.4" }, "require-dev": { - "phpunit/phpunit": "~4.8|~5.0", - "predis/predis": "~1.0", - "satooshi/php-coveralls": "~0.6" + "alcaeus/mongo-php-adapter": "^1.1", + "mongodb/mongodb": "^1.1", + "phpunit/phpunit": "^5.7", + "predis/predis": "~1.0" + }, + "suggest": { + "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.7.x-dev" } }, "autoload": { @@ -201,32 +205,33 @@ "cache", "caching" ], - "time": "2017-07-22T12:49:21+00:00" + "time": "2017-08-25T07:02:50+00:00" }, { "name": "doctrine/collections", - "version": "v1.3.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a" + "reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/6c1e4eef75f310ea1b3e30945e9f06e652128b8a", - "reference": "6c1e4eef75f310ea1b3e30945e9f06e652128b8a", + "url": "https://api.github.com/repos/doctrine/collections/zipball/a01ee38fcd999f34d9bfbcee59dbda5105449cbf", + "reference": "a01ee38fcd999f34d9bfbcee59dbda5105449cbf", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "~4.0" + "doctrine/coding-standard": "~0.1@dev", + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -267,20 +272,20 @@ "collections", "iterator" ], - "time": "2015-04-14T22:21:58+00:00" + "time": "2017-07-22T10:37:32+00:00" }, { "name": "doctrine/common", - "version": "v2.6.2", + "version": "v2.8.0", "source": { "type": "git", "url": "https://github.com/doctrine/common.git", - "reference": "7bce00698899aa2c06fe7365c76e4d78ddb15fa3" + "reference": "ed349f953d443963c590b008b37b864b8a3c4b21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/7bce00698899aa2c06fe7365c76e4d78ddb15fa3", - "reference": "7bce00698899aa2c06fe7365c76e4d78ddb15fa3", + "url": "https://api.github.com/repos/doctrine/common/zipball/ed349f953d443963c590b008b37b864b8a3c4b21", + "reference": "ed349f953d443963c590b008b37b864b8a3c4b21", "shasum": "" }, "require": { @@ -289,15 +294,15 @@ "doctrine/collections": "1.*", "doctrine/inflector": "1.*", "doctrine/lexer": "1.*", - "php": "~5.5|~7.0" + "php": "~7.1" }, "require-dev": { - "phpunit/phpunit": "~4.8|~5.0" + "phpunit/phpunit": "^5.7" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7.x-dev" + "dev-master": "2.8.x-dev" } }, "autoload": { @@ -340,31 +345,33 @@ "persistence", "spl" ], - "time": "2016-11-30T16:50:46+00:00" + "time": "2017-07-22T09:01:43+00:00" }, { "name": "doctrine/data-fixtures", - "version": "v1.1.1", + "version": "v1.2.2", "source": { "type": "git", "url": "https://github.com/doctrine/data-fixtures.git", - "reference": "bd44f6b6e40247b6530bc8abe802e4e4d914976a" + "reference": "17fa5bfe6ff52e35cb3d9ec37c934a2f4bd1fa2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/bd44f6b6e40247b6530bc8abe802e4e4d914976a", - "reference": "bd44f6b6e40247b6530bc8abe802e4e4d914976a", + "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/17fa5bfe6ff52e35cb3d9ec37c934a2f4bd1fa2e", + "reference": "17fa5bfe6ff52e35cb3d9ec37c934a2f4bd1fa2e", "shasum": "" }, "require": { "doctrine/common": "~2.2", - "php": ">=5.3.2" + "php": "^5.6 || ^7.0" }, "conflict": { "doctrine/orm": "< 2.4" }, "require-dev": { - "doctrine/orm": "~2.4" + "doctrine/dbal": "^2.5.4", + "doctrine/orm": "^2.5.4", + "phpunit/phpunit": "^5.4.6" }, "suggest": { "doctrine/mongodb-odm": "For loading MongoDB ODM fixtures", @@ -374,7 +381,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -397,28 +404,30 @@ "keywords": [ "database" ], - "time": "2015-03-30T12:14:13+00:00" + "time": "2016-09-20T10:07:57+00:00" }, { "name": "doctrine/dbal", - "version": "v2.5.13", + "version": "v2.6.2", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "729340d8d1eec8f01bff708e12e449a3415af873" + "reference": "1a4ee83a5a709555f2c6f9057a3aacf892451c7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/729340d8d1eec8f01bff708e12e449a3415af873", - "reference": "729340d8d1eec8f01bff708e12e449a3415af873", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/1a4ee83a5a709555f2c6f9057a3aacf892451c7e", + "reference": "1a4ee83a5a709555f2c6f9057a3aacf892451c7e", "shasum": "" }, "require": { - "doctrine/common": ">=2.4,<2.8-dev", - "php": ">=5.3.2" + "doctrine/common": "^2.7.1", + "ext-pdo": "*", + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "4.*", + "phpunit/phpunit": "^5.4.6", + "phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5", "symfony/console": "2.*||^3.0" }, "suggest": { @@ -430,7 +439,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5.x-dev" + "dev-master": "2.6.x-dev" } }, "autoload": { @@ -468,27 +477,27 @@ "persistence", "queryobject" ], - "time": "2017-07-22T20:44:48+00:00" + "time": "2017-08-28T11:02:56+00:00" }, { "name": "doctrine/doctrine-bundle", - "version": "1.6.8", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "6e96577cbbdbb5b6dcca2ff203d665976b51beb0" + "reference": "629d2a8b16f99a0b2ba6868f7af9986afee5fea7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/6e96577cbbdbb5b6dcca2ff203d665976b51beb0", - "reference": "6e96577cbbdbb5b6dcca2ff203d665976b51beb0", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/629d2a8b16f99a0b2ba6868f7af9986afee5fea7", + "reference": "629d2a8b16f99a0b2ba6868f7af9986afee5fea7", "shasum": "" }, "require": { - "doctrine/dbal": "~2.3", + "doctrine/dbal": "^2.5.12", "doctrine/doctrine-cache-bundle": "~1.2", "jdorn/sql-formatter": "~1.1", - "php": ">=5.5.9", + "php": "^7.1", "symfony/console": "~2.7|~3.0|~4.0", "symfony/dependency-injection": "~2.7|~3.0|~4.0", "symfony/doctrine-bridge": "~2.7|~3.0|~4.0", @@ -496,7 +505,7 @@ }, "require-dev": { "doctrine/orm": "~2.3", - "phpunit/phpunit": "~4", + "phpunit/phpunit": "^6.1", "satooshi/php-coveralls": "^1.0", "symfony/phpunit-bridge": "~2.7|~3.0|~4.0", "symfony/property-info": "~2.8|~3.0|~4.0", @@ -511,7 +520,7 @@ "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.7.x-dev" } }, "autoload": { @@ -549,7 +558,7 @@ "orm", "persistence" ], - "time": "2017-05-18T08:15:18+00:00" + "time": "2017-07-28T20:57:50+00:00" }, { "name": "doctrine/doctrine-cache-bundle", @@ -698,33 +707,33 @@ }, { "name": "doctrine/inflector", - "version": "v1.1.0", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462", + "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "phpunit/phpunit": "^6.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -761,7 +770,7 @@ "singularize", "string" ], - "time": "2015-11-06T14:35:42+00:00" + "time": "2017-07-22T12:18:28+00:00" }, { "name": "doctrine/instantiator", @@ -873,23 +882,23 @@ }, { "name": "doctrine/orm", - "version": "v2.5.6", + "version": "v2.5.10", "source": { "type": "git", "url": "https://github.com/doctrine/doctrine2.git", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b" + "reference": "c78afd51721804f4f76ff30d9b6f6159eb046161" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/e6c434196c8ef058239aaa0724b4aadb0107940b", - "reference": "e6c434196c8ef058239aaa0724b4aadb0107940b", + "url": "https://api.github.com/repos/doctrine/doctrine2/zipball/c78afd51721804f4f76ff30d9b6f6159eb046161", + "reference": "c78afd51721804f4f76ff30d9b6f6159eb046161", "shasum": "" }, "require": { "doctrine/cache": "~1.4", "doctrine/collections": "~1.2", - "doctrine/common": ">=2.5-dev,<2.8-dev", - "doctrine/dbal": ">=2.5-dev,<2.6-dev", + "doctrine/common": ">=2.5-dev,<2.9-dev", + "doctrine/dbal": ">=2.5-dev,<2.7-dev", "doctrine/instantiator": "~1.0.1", "ext-pdo": "*", "php": ">=5.4", @@ -945,7 +954,64 @@ "database", "orm" ], - "time": "2016-12-18T15:42:34+00:00" + "time": "2017-08-18T19:17:35+00:00" + }, + { + "name": "egulias/email-validator", + "version": "2.1.2", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "bc31baa11ea2883e017f0a10d9722ef9d50eac1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/bc31baa11ea2883e017f0a10d9722ef9d50eac1c", + "reference": "bc31baa11ea2883e017f0a10d9722ef9d50eac1c", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^1.0.1", + "php": ">= 5.5" + }, + "require-dev": { + "dominicsayers/isemail": "dev-master", + "phpunit/phpunit": "^4.8.0", + "satooshi/php-coveralls": "dev-master" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "EmailValidator" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "time": "2017-01-30T22:07:36+00:00" }, { "name": "erusev/parsedown", @@ -1036,111 +1102,6 @@ ], "time": "2017-06-03T02:28:16+00:00" }, - { - "name": "fig/link-util", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/link-util.git", - "reference": "1a07821801a148be4add11ab0603e4af55a72fac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/link-util/zipball/1a07821801a148be4add11ab0603e4af55a72fac", - "reference": "1a07821801a148be4add11ab0603e4af55a72fac", - "shasum": "" - }, - "require": { - "php": ">=5.5.0", - "psr/link": "~1.0@dev" - }, - "require-dev": { - "phpunit/phpunit": "^5.1", - "squizlabs/php_codesniffer": "^2.3.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Fig\\Link\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common utility implementations for HTTP links", - "keywords": [ - "http", - "http-link", - "link", - "psr", - "psr-13", - "rest" - ], - "time": "2016-10-17T18:31:11+00:00" - }, - { - "name": "incenteev/composer-parameter-handler", - "version": "v2.1.2", - "source": { - "type": "git", - "url": "https://github.com/Incenteev/ParameterHandler.git", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Incenteev/ParameterHandler/zipball/d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/yaml": "~2.3|~3.0" - }, - "require-dev": { - "composer/composer": "1.0.*@dev", - "phpspec/prophecy-phpunit": "~1.0", - "symfony/filesystem": "~2.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Incenteev\\ParameterHandler\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christophe Coevoet", - "email": "stof@notk.org" - } - ], - "description": "Composer script handling your ignored parameter file", - "homepage": "https://github.com/Incenteev/ParameterHandler", - "keywords": [ - "parameters management" - ], - "time": "2015-11-10T17:04:01+00:00" - }, { "name": "jdorn/sql-formatter", "version": "v1.2.17", @@ -1481,55 +1442,6 @@ ], "time": "2017-02-14T16:28:37+00:00" }, - { - "name": "psr/link", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/link.git", - "reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/link/zipball/eea8e8662d5cd3ae4517c9b864493f59fca95562", - "reference": "eea8e8662d5cd3ae4517c9b864493f59fca95562", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Link\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for HTTP links", - "keywords": [ - "http", - "http-link", - "link", - "psr", - "psr-13", - "rest" - ], - "time": "2016-10-28T16:06:13+00:00" - }, { "name": "psr/log", "version": "1.0.2", @@ -1625,92 +1537,40 @@ ], "time": "2017-01-02T13:31:39+00:00" }, - { - "name": "sensio/distribution-bundle", - "version": "v5.0.20", - "source": { - "type": "git", - "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "4b019d4c0bd64438c42e4b6b0726085b409be8d9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/4b019d4c0bd64438c42e4b6b0726085b409be8d9", - "reference": "4b019d4c0bd64438c42e4b6b0726085b409be8d9", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "sensiolabs/security-checker": "~3.0|~4.0", - "symfony/class-loader": "~2.3|~3.0", - "symfony/config": "~2.3|~3.0", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/filesystem": "~2.3|~3.0", - "symfony/http-kernel": "~2.3|~3.0", - "symfony/process": "~2.3|~3.0" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Sensio\\Bundle\\DistributionBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Base bundle for Symfony Distributions", - "keywords": [ - "configuration", - "distribution" - ], - "time": "2017-05-11T16:21:03+00:00" - }, { "name": "sensio/framework-extra-bundle", - "version": "v3.0.26", + "version": "v3.0.27", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", - "reference": "6d6cbe971554f0a2cc84965850481eb04a2a0059" + "reference": "2651d2c70c5fec10beaa670c61fd8ff1e8b3869a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/6d6cbe971554f0a2cc84965850481eb04a2a0059", - "reference": "6d6cbe971554f0a2cc84965850481eb04a2a0059", + "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/2651d2c70c5fec10beaa670c61fd8ff1e8b3869a", + "reference": "2651d2c70c5fec10beaa670c61fd8ff1e8b3869a", "shasum": "" }, "require": { "doctrine/common": "~2.2", - "symfony/dependency-injection": "~2.3|~3.0", - "symfony/framework-bundle": "~2.3|~3.0" + "symfony/dependency-injection": "~2.3|~3.0|~4.0", + "symfony/framework-bundle": "~2.3|~3.0|~4.0" }, "require-dev": { "doctrine/doctrine-bundle": "~1.5", "doctrine/orm": "~2.4,>=2.4.5", - "symfony/asset": "~2.7|~3.0", - "symfony/browser-kit": "~2.3|~3.0", - "symfony/dom-crawler": "~2.3|~3.0", - "symfony/expression-language": "~2.4|~3.0", - "symfony/finder": "~2.3|~3.0", - "symfony/phpunit-bridge": "~3.2", - "symfony/psr-http-message-bridge": "^0.3", - "symfony/security-bundle": "~2.4|~3.0", - "symfony/templating": "~2.3|~3.0", - "symfony/translation": "~2.3|~3.0", - "symfony/twig-bundle": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0", + "symfony/asset": "~2.7|~3.0|~4.0", + "symfony/browser-kit": "~2.3|~3.0|~4.0", + "symfony/dom-crawler": "~2.3|~3.0|~4.0", + "symfony/expression-language": "~2.4|~3.0|~4.0", + "symfony/finder": "~2.3|~3.0|~4.0", + "symfony/phpunit-bridge": "~3.2|~4.0", + "symfony/psr-http-message-bridge": "^0.3|^1.0", + "symfony/security-bundle": "~2.4|~3.0|~4.0", + "symfony/templating": "~2.3|~3.0|~4.0", + "symfony/translation": "~2.3|~3.0|~4.0", + "symfony/twig-bundle": "~2.3|~3.0|~4.0", + "symfony/yaml": "~2.3|~3.0|~4.0", "twig/twig": "~1.12|~2.0", "zendframework/zend-diactoros": "^1.3" }, @@ -1745,20 +1605,20 @@ "annotations", "controllers" ], - "time": "2017-05-11T17:01:57+00:00" + "time": "2017-08-23T12:40:59+00:00" }, { "name": "sensiolabs/security-checker", - "version": "v4.1.3", + "version": "v4.1.5", "source": { "type": "git", "url": "https://github.com/sensiolabs/security-checker.git", - "reference": "7d60f01b9a56dfd152796877d009b1a0578d6ef4" + "reference": "55553c3ad6ae2121c1b1475d4c880d71b31b8f68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/7d60f01b9a56dfd152796877d009b1a0578d6ef4", - "reference": "7d60f01b9a56dfd152796877d009b1a0578d6ef4", + "url": "https://api.github.com/repos/sensiolabs/security-checker/zipball/55553c3ad6ae2121c1b1475d4c880d71b31b8f68", + "reference": "55553c3ad6ae2121c1b1475d4c880d71b31b8f68", "shasum": "" }, "require": { @@ -1790,33 +1650,34 @@ } ], "description": "A security checker for your composer.lock", - "time": "2017-08-03T12:24:05+00:00" + "time": "2017-08-22T22:18:16+00:00" }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.8", + "version": "v6.0.1", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517" + "reference": "008f088d535ed3333af5ad804dd4c0eaf97c2805" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/9a06dc570a0367850280eefd3f1dc2da45aef517", - "reference": "9a06dc570a0367850280eefd3f1dc2da45aef517", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/008f088d535ed3333af5ad804dd4c0eaf97c2805", + "reference": "008f088d535ed3333af5ad804dd4c0eaf97c2805", "shasum": "" }, "require": { - "php": ">=5.3.3" + "egulias/email-validator": "~2.0", + "php": ">=7.0.0" }, "require-dev": { "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "~3.2" + "symfony/phpunit-bridge": "~3.3@dev" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "6.0-dev" } }, "autoload": { @@ -1844,151 +1705,169 @@ "mail", "mailer" ], - "time": "2017-05-01T15:54:03+00:00" + "time": "2017-05-20T06:20:27+00:00" }, { - "name": "symfony/monolog-bundle", - "version": "v3.1.0", + "name": "symfony/asset", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/monolog-bundle.git", - "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47" + "url": "https://github.com/symfony/asset.git", + "reference": "4edb1a43bb961ea5f05f440eba8db82b1d58ea5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", - "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", + "url": "https://api.github.com/repos/symfony/asset/zipball/4edb1a43bb961ea5f05f440eba8db82b1d58ea5b", + "reference": "4edb1a43bb961ea5f05f440eba8db82b1d58ea5b", "shasum": "" }, "require": { - "monolog/monolog": "~1.22", - "php": ">=5.3.2", - "symfony/config": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/http-kernel": "~2.7|~3.0", - "symfony/monolog-bridge": "~2.7|~3.0" + "php": "^5.5.9|>=7.0.8" }, "require-dev": { - "phpunit/phpunit": "^4.8", - "symfony/console": "~2.3|~3.0", - "symfony/yaml": "~2.3|~3.0" + "symfony/http-foundation": "~2.8|~3.0", + "symfony/http-kernel": "~2.8|~3.0" }, - "type": "symfony-bundle", + "suggest": { + "symfony/http-foundation": "" + }, + "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Bundle\\MonologBundle\\": "" - } + "Symfony\\Component\\Asset\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony MonologBundle", - "homepage": "http://symfony.com", - "keywords": [ - "log", - "logging" - ], - "time": "2017-03-26T11:55:59+00:00" + "description": "Symfony Asset Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" }, { - "name": "symfony/polyfill-apcu", - "version": "v1.4.0", + "name": "symfony/browser-kit", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-apcu.git", - "reference": "2e7965b8cdfbba50d0092d3f6dca97dddec409e2" + "url": "https://github.com/symfony/browser-kit.git", + "reference": "aee7120b058c268363e606ff5fe8271da849a1b5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/2e7965b8cdfbba50d0092d3f6dca97dddec409e2", - "reference": "2e7965b8cdfbba50d0092d3f6dca97dddec409e2", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/aee7120b058c268363e606ff5fe8271da849a1b5", + "reference": "aee7120b058c268363e606ff5fe8271da849a1b5", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8", + "symfony/dom-crawler": "~2.8|~3.0" + }, + "require-dev": { + "symfony/css-selector": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" + }, + "suggest": { + "symfony/process": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { - "files": [ - "bootstrap.php" - ] - }, + "psr-4": { + "Symfony\\Component\\BrowserKit\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting apcu_* functions to lower PHP versions", + "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "keywords": [ - "apcu", - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-07-29T21:54:42+00:00" }, { - "name": "symfony/polyfill-intl-icu", - "version": "v1.4.0", + "name": "symfony/cache", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-icu.git", - "reference": "3191cbe0ce64987bd382daf6724af31c53daae01" + "url": "https://github.com/symfony/cache.git", + "reference": "4f92761dc13c4e0132168964fb1c577eee96ee3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/3191cbe0ce64987bd382daf6724af31c53daae01", - "reference": "3191cbe0ce64987bd382daf6724af31c53daae01", + "url": "https://api.github.com/repos/symfony/cache/zipball/4f92761dc13c4e0132168964fb1c577eee96ee3c", + "reference": "4f92761dc13c4e0132168964fb1c577eee96ee3c", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/intl": "~2.3|~3.0|~4.0" + "php": "^5.5.9|>=7.0.8", + "psr/cache": "~1.0", + "psr/log": "~1.0", + "psr/simple-cache": "^1.0" + }, + "conflict": { + "symfony/var-dumper": "<3.3" + }, + "provide": { + "psr/cache-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "require-dev": { + "cache/integration-tests": "dev-master", + "doctrine/cache": "~1.6", + "doctrine/dbal": "~2.4", + "predis/predis": "~1.0" }, "suggest": { - "ext-intl": "For best performance" + "symfony/polyfill-apcu": "For using ApcuAdapter on HHVM" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { - "files": [ - "bootstrap.php" + "psr-4": { + "Symfony\\Component\\Cache\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2005,50 +1884,50 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's ICU-related data and classes", + "description": "Symfony Cache component with PSR-6, PSR-16, and tags", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "icu", - "intl", - "polyfill", - "portable", - "shim" + "caching", + "psr6" ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-08-28T08:20:24+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.4.0", + "name": "symfony/class-loader", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937" + "url": "https://github.com/symfony/class-loader.git", + "reference": "9c69968ce57924e9e93550895cd2b0477edf0e19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937", + "url": "https://api.github.com/repos/symfony/class-loader/zipball/9c69968ce57924e9e93550895cd2b0477edf0e19", + "reference": "9c69968ce57924e9e93550895cd2b0477edf0e19", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8" + }, + "require-dev": { + "symfony/finder": "~2.8|~3.0", + "symfony/polyfill-apcu": "~1.1" }, "suggest": { - "ext-mbstring": "For best performance" + "symfony/polyfill-apcu": "For using ApcClassLoader on HHVM" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" + "Symfony\\Component\\ClassLoader\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2057,55 +1936,60 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Symfony ClassLoader Component", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "time": "2017-06-09T14:24:12+00:00" + "time": "2017-07-29T21:54:42+00:00" }, { - "name": "symfony/polyfill-php56", - "version": "v1.4.0", + "name": "symfony/config", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php56.git", - "reference": "bc0b7d6cb36b10cfabb170a3e359944a95174929" + "url": "https://github.com/symfony/config.git", + "reference": "6ac0cc1f047c1dbc058fc25b7a4d91b068ed4488" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/bc0b7d6cb36b10cfabb170a3e359944a95174929", - "reference": "bc0b7d6cb36b10cfabb170a3e359944a95174929", + "url": "https://api.github.com/repos/symfony/config/zipball/6ac0cc1f047c1dbc058fc25b7a4d91b068ed4488", + "reference": "6ac0cc1f047c1dbc058fc25b7a4d91b068ed4488", "shasum": "" }, "require": { - "php": ">=5.3.3", - "symfony/polyfill-util": "~1.0" + "php": "^5.5.9|>=7.0.8", + "symfony/filesystem": "~2.8|~3.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/finder": "<3.3" + }, + "require-dev": { + "symfony/dependency-injection": "~3.3", + "symfony/finder": "~3.3", + "symfony/yaml": "~3.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php56\\": "" + "Symfony\\Component\\Config\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2114,57 +1998,66 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions", + "description": "Symfony Config Component", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-08-03T08:59:45+00:00" }, { - "name": "symfony/polyfill-php70", - "version": "v1.4.0", + "name": "symfony/console", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "032fd647d5c11a9ceab8ee8747e13b5448e93874" + "url": "https://github.com/symfony/console.git", + "reference": "d6596cb5022b6a0bd940eae54a1de78646a5fda6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/032fd647d5c11a9ceab8ee8747e13b5448e93874", - "reference": "032fd647d5c11a9ceab8ee8747e13b5448e93874", + "url": "https://api.github.com/repos/symfony/console/zipball/d6596cb5022b6a0bd940eae54a1de78646a5fda6", + "reference": "d6596cb5022b6a0bd940eae54a1de78646a5fda6", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0", - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8", + "symfony/debug": "~2.8|~3.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/filesystem": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/filesystem": "", + "symfony/process": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Component\\Console\\": "" }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2173,51 +2066,48 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony Console Component", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "time": "2017-06-09T14:24:12+00:00" + "time": "2017-08-27T14:52:21+00:00" }, { - "name": "symfony/polyfill-util", - "version": "v1.4.0", + "name": "symfony/css-selector", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-util.git", - "reference": "ebccbde4aad410f6438d86d7d261c6b4d2b9a51d" + "url": "https://github.com/symfony/css-selector.git", + "reference": "c5f5263ed231f164c58368efbce959137c7d9488" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/ebccbde4aad410f6438d86d7d261c6b4d2b9a51d", - "reference": "ebccbde4aad410f6438d86d7d261c6b4d2b9a51d", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/c5f5263ed231f164c58368efbce959137c7d9488", + "reference": "c5f5263ed231f164c58368efbce959137c7d9488", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Util\\": "" - } + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2225,192 +2115,2283 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony utilities for portability of PHP codes", + "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "keywords": [ - "compat", - "compatibility", - "polyfill", - "shim" - ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-07-29T21:54:42+00:00" }, { - "name": "symfony/swiftmailer-bundle", - "version": "v2.6.3", + "name": "symfony/debug", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/swiftmailer-bundle.git", - "reference": "11555c338f3c367b0a1bd2f024a53aa813f4ce00" + "url": "https://github.com/symfony/debug.git", + "reference": "084d804fe35808eb2ef596ec83d85d9768aa6c9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/11555c338f3c367b0a1bd2f024a53aa813f4ce00", - "reference": "11555c338f3c367b0a1bd2f024a53aa813f4ce00", + "url": "https://api.github.com/repos/symfony/debug/zipball/084d804fe35808eb2ef596ec83d85d9768aa6c9d", + "reference": "084d804fe35808eb2ef596ec83d85d9768aa6c9d", "shasum": "" }, "require": { - "php": ">=5.3.2", - "swiftmailer/swiftmailer": "~4.2|~5.0", - "symfony/config": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/http-kernel": "~2.7|~3.0" + "php": "^5.5.9|>=7.0.8", + "psr/log": "~1.0" }, - "require-dev": { - "symfony/console": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0", - "symfony/phpunit-bridge": "~3.3@dev", - "symfony/yaml": "~2.7|~3.0" + "conflict": { + "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, - "suggest": { - "psr/log": "Allows logging" + "require-dev": { + "symfony/http-kernel": "~2.8|~3.0" }, - "type": "symfony-bundle", + "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Bundle\\SwiftmailerBundle\\": "" - } + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, { "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Debug Component", + "homepage": "https://symfony.com", + "time": "2017-08-27T14:52:21+00:00" + }, + { + "name": "symfony/dependency-injection", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/dependency-injection.git", + "reference": "2ac658972626c75cbde7b0067c84b988170a6907" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2ac658972626c75cbde7b0067c84b988170a6907", + "reference": "2ac658972626c75cbde7b0067c84b988170a6907", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "psr/container": "^1.0" + }, + "conflict": { + "symfony/config": "<3.3.1", + "symfony/finder": "<3.3", + "symfony/yaml": "<3.3" + }, + "provide": { + "psr/container-implementation": "1.0" + }, + "require-dev": { + "symfony/config": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/yaml": "~3.3" + }, + "suggest": { + "symfony/config": "", + "symfony/expression-language": "For using expressions in service container configuration", + "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", + "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\DependencyInjection\\": "" }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony SwiftmailerBundle", - "homepage": "http://symfony.com", - "time": "2017-07-22T07:18:13+00:00" + "description": "Symfony DependencyInjection Component", + "homepage": "https://symfony.com", + "time": "2017-08-28T22:20:37+00:00" }, { - "name": "symfony/symfony", - "version": "v3.3.6", + "name": "symfony/doctrine-bridge", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/symfony.git", - "reference": "6f80cbd2dd89c5308b14e03d806356fac72c263e" + "url": "https://github.com/symfony/doctrine-bridge.git", + "reference": "939c50ada80f0b83415a56e769ccb8e80aa556e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/symfony/zipball/6f80cbd2dd89c5308b14e03d806356fac72c263e", - "reference": "6f80cbd2dd89c5308b14e03d806356fac72c263e", + "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/939c50ada80f0b83415a56e769ccb8e80aa556e8", + "reference": "939c50ada80f0b83415a56e769ccb8e80aa556e8", "shasum": "" }, "require": { "doctrine/common": "~2.4", - "ext-xml": "*", - "fig/link-util": "^1.0", - "php": ">=5.5.9", - "psr/cache": "~1.0", - "psr/container": "^1.0", - "psr/link": "^1.0", - "psr/log": "~1.0", - "psr/simple-cache": "^1.0", - "symfony/polyfill-intl-icu": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php56": "~1.0", - "symfony/polyfill-php70": "~1.0", - "symfony/polyfill-util": "~1.0", - "twig/twig": "~1.34|~2.4" + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "phpdocumentor/reflection-docblock": "<3.0||>=3.2.0", - "phpdocumentor/type-resolver": "<0.2.0", - "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" - }, - "provide": { - "psr/cache-implementation": "1.0", - "psr/container-implementation": "1.0", - "psr/simple-cache-implementation": "1.0" + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/dependency-injection": "<3.3" }, - "replace": { - "symfony/asset": "self.version", - "symfony/browser-kit": "self.version", - "symfony/cache": "self.version", - "symfony/class-loader": "self.version", - "symfony/config": "self.version", - "symfony/console": "self.version", - "symfony/css-selector": "self.version", - "symfony/debug": "self.version", - "symfony/debug-bundle": "self.version", - "symfony/dependency-injection": "self.version", - "symfony/doctrine-bridge": "self.version", - "symfony/dom-crawler": "self.version", - "symfony/dotenv": "self.version", - "symfony/event-dispatcher": "self.version", - "symfony/expression-language": "self.version", - "symfony/filesystem": "self.version", - "symfony/finder": "self.version", - "symfony/form": "self.version", - "symfony/framework-bundle": "self.version", - "symfony/http-foundation": "self.version", - "symfony/http-kernel": "self.version", - "symfony/inflector": "self.version", - "symfony/intl": "self.version", - "symfony/ldap": "self.version", - "symfony/monolog-bridge": "self.version", - "symfony/options-resolver": "self.version", - "symfony/process": "self.version", - "symfony/property-access": "self.version", - "symfony/property-info": "self.version", - "symfony/proxy-manager-bridge": "self.version", - "symfony/routing": "self.version", - "symfony/security": "self.version", - "symfony/security-bundle": "self.version", + "require-dev": { + "doctrine/data-fixtures": "1.0.*", + "doctrine/dbal": "~2.4", + "doctrine/orm": "^2.4.5", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/form": "^3.2.5", + "symfony/http-kernel": "~2.8|~3.0", + "symfony/property-access": "~2.8|~3.0", + "symfony/property-info": "~2.8|3.0", + "symfony/proxy-manager-bridge": "~2.8|~3.0", + "symfony/security": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0", + "symfony/translation": "~2.8|~3.0", + "symfony/validator": "^2.8.18|^3.2.5" + }, + "suggest": { + "doctrine/data-fixtures": "", + "doctrine/dbal": "", + "doctrine/orm": "", + "symfony/form": "", + "symfony/property-info": "", + "symfony/validator": "" + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\Doctrine\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Doctrine Bridge", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/dom-crawler", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/dom-crawler.git", + "reference": "d15dfaf71b65bf3affb80900470caf4451a8217e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/d15dfaf71b65bf3affb80900470caf4451a8217e", + "reference": "d15dfaf71b65bf3affb80900470caf4451a8217e", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0" + }, + "require-dev": { + "symfony/css-selector": "~2.8|~3.0" + }, + "suggest": { + "symfony/css-selector": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\DomCrawler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony DomCrawler Component", + "homepage": "https://symfony.com", + "time": "2017-08-15T13:31:09+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "54ca9520a00386f83bca145819ad3b619aaa2485" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/54ca9520a00386f83bca145819ad3b619aaa2485", + "reference": "54ca9520a00386f83bca145819ad3b619aaa2485", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/expression-language", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/expression-language.git", + "reference": "26c9a4b90b646a5df5dfbcfb597af574e36892f7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/expression-language/zipball/26c9a4b90b646a5df5dfbcfb597af574e36892f7", + "reference": "26c9a4b90b646a5df5dfbcfb597af574e36892f7", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/cache": "~3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\ExpressionLanguage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony ExpressionLanguage Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/filesystem", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "b32a0e5f928d0fa3d1dd03c78d020777e50c10cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/b32a0e5f928d0fa3d1dd03c78d020777e50c10cb", + "reference": "b32a0e5f928d0fa3d1dd03c78d020777e50c10cb", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Filesystem Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/finder", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "b2260dbc80f3c4198f903215f91a1ac7fe9fe09e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/b2260dbc80f3c4198f903215f91a1ac7fe9fe09e", + "reference": "b2260dbc80f3c4198f903215f91a1ac7fe9fe09e", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/flex", + "version": "v1.0.16", + "source": { + "type": "git", + "url": "https://github.com/symfony/flex.git", + "reference": "17e56322f33990daa08cf5761c80188b3a2b41b1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/flex/zipball/17e56322f33990daa08cf5761c80188b3a2b41b1", + "reference": "17e56322f33990daa08cf5761c80188b3a2b41b1", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.1", + "php": "^7.1" + }, + "require-dev": { + "composer/composer": "^1.4", + "symfony/phpunit-bridge": "^3.2.8" + }, + "type": "composer-plugin", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "class": "Symfony\\Flex\\Flex" + }, + "autoload": { + "psr-4": { + "Symfony\\Flex\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien.potencier@gmail.com" + } + ], + "time": "2017-08-23T16:58:35+00:00" + }, + { + "name": "symfony/form", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/form.git", + "reference": "36f2059a7b9d8db4f305c284a78848eb5a3dd455" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/form/zipball/36f2059a7b9d8db4f305c284a78848eb5a3dd455", + "reference": "36f2059a7b9d8db4f305c284a78848eb5a3dd455", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/intl": "^2.8.18|^3.2.5", + "symfony/options-resolver": "~2.8|~3.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/property-access": "~2.8|~3.0" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/dependency-injection": "<3.3", + "symfony/doctrine-bridge": "<2.7", + "symfony/framework-bundle": "<2.7", + "symfony/http-kernel": "<3.3.5", + "symfony/twig-bridge": "<2.7" + }, + "require-dev": { + "doctrine/collections": "~1.0", + "symfony/config": "~2.7|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/http-kernel": "^3.3.5", + "symfony/security-csrf": "~2.8|~3.0", + "symfony/translation": "~2.8|~3.0", + "symfony/validator": "^2.8.18|^3.2.5", + "symfony/var-dumper": "~3.3" + }, + "suggest": { + "symfony/framework-bundle": "For templating with PHP.", + "symfony/security-csrf": "For protecting forms against CSRF attacks.", + "symfony/twig-bridge": "For templating with Twig.", + "symfony/validator": "For form validation." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Form\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Form Component", + "homepage": "https://symfony.com", + "time": "2017-08-03T08:59:45+00:00" + }, + { + "name": "symfony/framework-bundle", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/framework-bundle.git", + "reference": "8b7c0a7e4fa44c353c9964e1fe8759da9fc82b4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/8b7c0a7e4fa44c353c9964e1fe8759da9fc82b4e", + "reference": "8b7c0a7e4fa44c353c9964e1fe8759da9fc82b4e", + "shasum": "" + }, + "require": { + "doctrine/cache": "~1.0", + "ext-xml": "*", + "php": "^5.5.9|>=7.0.8", + "symfony/cache": "~3.3", + "symfony/class-loader": "~3.2", + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", + "symfony/event-dispatcher": "^3.3.1", + "symfony/filesystem": "~2.8|~3.0", + "symfony/finder": "~2.8|~3.0", + "symfony/http-foundation": "~3.3", + "symfony/http-kernel": "~3.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/routing": "~3.3", + "symfony/stopwatch": "~2.8|~3.0" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "<3.0", + "phpdocumentor/type-resolver": "<0.2.0", + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/asset": "<3.3", + "symfony/console": "<3.3", + "symfony/form": "<3.3", + "symfony/property-info": "<3.3", + "symfony/serializer": "<3.3", + "symfony/translation": "<3.2", + "symfony/validator": "<3.3", + "symfony/workflow": "<3.3" + }, + "require-dev": { + "doctrine/annotations": "~1.0", + "fig/link-util": "^1.0", + "phpdocumentor/reflection-docblock": "^3.0|^4.0", + "sensio/framework-extra-bundle": "^3.0.2", + "symfony/asset": "~3.3", + "symfony/browser-kit": "~2.8|~3.0", + "symfony/console": "~3.3", + "symfony/css-selector": "~2.8|~3.0", + "symfony/dom-crawler": "~2.8|~3.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/form": "~3.3", + "symfony/polyfill-intl-icu": "~1.0", + "symfony/process": "~2.8|~3.0", + "symfony/property-info": "~3.3", + "symfony/security": "~2.8|~3.0", + "symfony/security-core": "~3.2", + "symfony/security-csrf": "~2.8|~3.0", + "symfony/serializer": "~3.3", + "symfony/templating": "~2.8|~3.0", + "symfony/translation": "~3.2", + "symfony/validator": "~3.3", + "symfony/web-link": "~3.3", + "symfony/workflow": "~3.3", + "symfony/yaml": "~3.2", + "twig/twig": "~1.34|~2.4" + }, + "suggest": { + "ext-apcu": "For best performance of the system caches", + "symfony/console": "For using the console commands", + "symfony/form": "For using forms", + "symfony/property-info": "For using the property_info service", + "symfony/serializer": "For using the serializer service", + "symfony/validator": "For using validation", + "symfony/web-link": "For using web links, features such as preloading, prefetching or prerendering", + "symfony/yaml": "For using the debug:config and lint:yaml commands" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\FrameworkBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony FrameworkBundle", + "homepage": "https://symfony.com", + "time": "2017-08-22T11:27:11+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "14bacad23a4f075bfd3fd456755236cb261320e3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/14bacad23a4f075bfd3fd456755236cb261320e3", + "reference": "14bacad23a4f075bfd3fd456755236cb261320e3", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.1" + }, + "require-dev": { + "symfony/expression-language": "~2.8|~3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony HttpFoundation Component", + "homepage": "https://symfony.com", + "time": "2017-08-10T07:07:06+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "1c1717d28904744dc9a9f6a9d97a8b9bed1680e9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1c1717d28904744dc9a9f6a9d97a8b9bed1680e9", + "reference": "1c1717d28904744dc9a9f6a9d97a8b9bed1680e9", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "psr/log": "~1.0", + "symfony/debug": "~2.8|~3.0", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/http-foundation": "~3.3" + }, + "conflict": { + "symfony/config": "<2.8", + "symfony/dependency-injection": "<3.3", + "symfony/var-dumper": "<3.3", + "twig/twig": "<1.34|<2.4,>=2" + }, + "require-dev": { + "psr/cache": "~1.0", + "symfony/browser-kit": "~2.8|~3.0", + "symfony/class-loader": "~2.8|~3.0", + "symfony/config": "~2.8|~3.0", + "symfony/console": "~2.8|~3.0", + "symfony/css-selector": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/dom-crawler": "~2.8|~3.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/finder": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0", + "symfony/routing": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0", + "symfony/templating": "~2.8|~3.0", + "symfony/translation": "~2.8|~3.0", + "symfony/var-dumper": "~3.3" + }, + "suggest": { + "symfony/browser-kit": "", + "symfony/class-loader": "", + "symfony/config": "", + "symfony/console": "", + "symfony/dependency-injection": "", + "symfony/finder": "", + "symfony/var-dumper": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony HttpKernel Component", + "homepage": "https://symfony.com", + "time": "2017-08-28T22:35:03+00:00" + }, + { + "name": "symfony/inflector", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/inflector.git", + "reference": "0474dc4d867c7efefd44017f7903465a7f368b6b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/inflector/zipball/0474dc4d867c7efefd44017f7903465a7f368b6b", + "reference": "0474dc4d867c7efefd44017f7903465a7f368b6b", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Inflector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Inflector Component", + "homepage": "https://symfony.com", + "keywords": [ + "inflection", + "pluralize", + "singularize", + "string", + "symfony", + "words" + ], + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/intl", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/intl.git", + "reference": "431a020d3e7061e3d9c90e2279ba47ee44962820" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/intl/zipball/431a020d3e7061e3d9c90e2279ba47ee44962820", + "reference": "431a020d3e7061e3d9c90e2279ba47ee44962820", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-intl-icu": "~1.0" + }, + "require-dev": { + "symfony/filesystem": "~2.8|~3.0" + }, + "suggest": { + "ext-intl": "to use the component with locales other than \"en\"" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Intl\\": "" + }, + "classmap": [ + "Resources/stubs" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + }, + { + "name": "Eriksen Costa", + "email": "eriksen.costa@infranology.com.br" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A PHP replacement layer for the C intl extension that includes additional data from the ICU library.", + "homepage": "https://symfony.com", + "keywords": [ + "i18n", + "icu", + "internationalization", + "intl", + "l10n", + "localization" + ], + "time": "2017-08-27T14:52:21+00:00" + }, + { + "name": "symfony/monolog-bridge", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/monolog-bridge.git", + "reference": "101bddb65b99611ffe3e4ac0915bf5c4d74c16da" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/101bddb65b99611ffe3e4ac0915bf5c4d74c16da", + "reference": "101bddb65b99611ffe3e4ac0915bf5c4d74c16da", + "shasum": "" + }, + "require": { + "monolog/monolog": "~1.19", + "php": "^5.5.9|>=7.0.8", + "symfony/http-kernel": "~2.8|~3.0" + }, + "conflict": { + "symfony/http-foundation": "<3.3" + }, + "require-dev": { + "symfony/console": "~2.8|~3.0", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/var-dumper": "~3.3" + }, + "suggest": { + "symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings. You need version ~2.3 of the console for it.", + "symfony/event-dispatcher": "Needed when using log messages in console commands.", + "symfony/http-kernel": "For using the debugging handlers together with the response life cycle of the HTTP kernel." + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\Monolog\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Monolog Bridge", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/monolog-bundle", + "version": "v3.1.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/monolog-bundle.git", + "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/monolog-bundle/zipball/6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", + "reference": "6f96c7dbb6b2ef70b307a1a6f897153cbca3da47", + "shasum": "" + }, + "require": { + "monolog/monolog": "~1.22", + "php": ">=5.3.2", + "symfony/config": "~2.7|~3.0", + "symfony/dependency-injection": "~2.7|~3.0", + "symfony/http-kernel": "~2.7|~3.0", + "symfony/monolog-bridge": "~2.7|~3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "symfony/console": "~2.3|~3.0", + "symfony/yaml": "~2.3|~3.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\MonologBundle\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Symfony MonologBundle", + "homepage": "http://symfony.com", + "keywords": [ + "log", + "logging" + ], + "time": "2017-03-26T11:55:59+00:00" + }, + { + "name": "symfony/options-resolver", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/options-resolver.git", + "reference": "ee4e22978fe885b54ee5da8c7964f0a5301abfb6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/ee4e22978fe885b54ee5da8c7964f0a5301abfb6", + "reference": "ee4e22978fe885b54ee5da8c7964f0a5301abfb6", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\OptionsResolver\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony OptionsResolver Component", + "homepage": "https://symfony.com", + "keywords": [ + "config", + "configuration", + "options" + ], + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/orm-pack", + "version": "v1.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/orm-pack.git", + "reference": "afd5539f04ea5e516532bf43e2dffc4088d2690d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/orm-pack/zipball/afd5539f04ea5e516532bf43e2dffc4088d2690d", + "reference": "afd5539f04ea5e516532bf43e2dffc4088d2690d", + "shasum": "" + }, + "require": { + "doctrine/doctrine-bundle": "^1.6", + "doctrine/orm": "^2.4.5", + "php": "^7.0" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A pack for the Doctrine ORM", + "time": "2017-05-30T14:58:02+00:00" + }, + { + "name": "symfony/polyfill-apcu", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-apcu.git", + "reference": "cec32398a973a9bfe9d2f94f4b5d5e186b40b698" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-apcu/zipball/cec32398a973a9bfe9d2f94f4b5d5e186b40b698", + "reference": "cec32398a973a9bfe9d2f94f4b5d5e186b40b698", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting apcu_* functions to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "apcu", + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2017-07-05T15:09:33+00:00" + }, + { + "name": "symfony/polyfill-intl-icu", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-icu.git", + "reference": "4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09", + "reference": "4aa0b65dc71a7369c1e7e6e2a3ca027d9decdb09", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/intl": "~2.3|~3.0|~4.0" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's ICU-related data and classes", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "icu", + "intl", + "polyfill", + "portable", + "shim" + ], + "time": "2017-06-14T15:44:48+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7c8fae0ac1d216eb54349e6a8baa57d515fe8803", + "reference": "7c8fae0ac1d216eb54349e6a8baa57d515fe8803", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2017-06-14T15:44:48+00:00" + }, + { + "name": "symfony/polyfill-php56", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php56.git", + "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/e85ebdef569b84e8709864e1a290c40f156b30ca", + "reference": "e85ebdef569b84e8709864e1a290c40f156b30ca", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/polyfill-util": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php56\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2017-06-14T15:44:48+00:00" + }, + { + "name": "symfony/polyfill-php70", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php70.git", + "reference": "b6482e68974486984f59449ecea1fbbb22ff840f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/b6482e68974486984f59449ecea1fbbb22ff840f", + "reference": "b6482e68974486984f59449ecea1fbbb22ff840f", + "shasum": "" + }, + "require": { + "paragonie/random_compat": "~1.0|~2.0", + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php70\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2017-06-14T15:44:48+00:00" + }, + { + "name": "symfony/polyfill-util", + "version": "v1.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-util.git", + "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/67925d1cf0b84bd234a83bebf26d4eb281744c6d", + "reference": "67925d1cf0b84bd234a83bebf26d4eb281744c6d", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Util\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony utilities for portability of PHP codes", + "homepage": "https://symfony.com", + "keywords": [ + "compat", + "compatibility", + "polyfill", + "shim" + ], + "time": "2017-07-05T15:09:33+00:00" + }, + { + "name": "symfony/property-access", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-access.git", + "reference": "c2d054b8040fae9e4a52ffd6755497e254d89ce6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-access/zipball/c2d054b8040fae9e4a52ffd6755497e254d89ce6", + "reference": "c2d054b8040fae9e4a52ffd6755497e254d89ce6", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/inflector": "~3.1", + "symfony/polyfill-php70": "~1.0" + }, + "require-dev": { + "symfony/cache": "~3.1" + }, + "suggest": { + "psr/cache-implementation": "To cache access methods." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyAccess\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony PropertyAccess Component", + "homepage": "https://symfony.com", + "keywords": [ + "access", + "array", + "extraction", + "index", + "injection", + "object", + "property", + "property path", + "reflection" + ], + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/routing", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "970326dcd04522e1cd1fe128abaee54c225e27f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/970326dcd04522e1cd1fe128abaee54c225e27f9", + "reference": "970326dcd04522e1cd1fe128abaee54c225e27f9", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "conflict": { + "symfony/config": "<2.8", + "symfony/dependency-injection": "<3.3", + "symfony/yaml": "<3.3" + }, + "require-dev": { + "doctrine/annotations": "~1.0", + "doctrine/common": "~2.2", + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/yaml": "~3.3" + }, + "suggest": { + "doctrine/annotations": "For using the annotation loader", + "symfony/config": "For using the all-in-one router or any loader", + "symfony/dependency-injection": "For loading routes from a service", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Routing Component", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/security", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/security.git", + "reference": "a1e4809a48cc4da4321ea1fd47dc705eda21d02d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/security/zipball/a1e4809a48cc4da4321ea1fd47dc705eda21d02d", + "reference": "a1e4809a48cc4da4321ea1fd47dc705eda21d02d", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/http-kernel": "~3.3", + "symfony/polyfill-php56": "~1.0", + "symfony/polyfill-php70": "~1.0", + "symfony/polyfill-util": "~1.0", + "symfony/property-access": "~2.8|~3.0" + }, + "replace": { "symfony/security-core": "self.version", "symfony/security-csrf": "self.version", "symfony/security-guard": "self.version", - "symfony/security-http": "self.version", - "symfony/serializer": "self.version", - "symfony/stopwatch": "self.version", - "symfony/templating": "self.version", - "symfony/translation": "self.version", - "symfony/twig-bridge": "self.version", - "symfony/twig-bundle": "self.version", - "symfony/validator": "self.version", - "symfony/var-dumper": "self.version", - "symfony/web-link": "self.version", - "symfony/web-profiler-bundle": "self.version", - "symfony/web-server-bundle": "self.version", - "symfony/workflow": "self.version", - "symfony/yaml": "self.version" + "symfony/security-http": "self.version" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/finder": "~2.8|~3.0", + "symfony/ldap": "~3.1", + "symfony/polyfill-intl-icu": "~1.0", + "symfony/routing": "~2.8|~3.0", + "symfony/validator": "^2.8.18|^3.2.5" + }, + "suggest": { + "symfony/expression-language": "For using the expression voter", + "symfony/form": "", + "symfony/ldap": "For using the LDAP user and authentication providers", + "symfony/routing": "For using the HttpUtils class to create sub-requests, redirect the user, and match URLs", + "symfony/validator": "For using the user password constraint" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Security\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Security Component", + "homepage": "https://symfony.com", + "time": "2017-08-06T13:42:17+00:00" + }, + { + "name": "symfony/security-bundle", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/security-bundle.git", + "reference": "b55869bc451b26723639b4b8bb782239a4eab69f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/b55869bc451b26723639b4b8bb782239a4eab69f", + "reference": "b55869bc451b26723639b4b8bb782239a4eab69f", + "shasum": "" + }, + "require": { + "ext-xml": "*", + "php": "^5.5.9|>=7.0.8", + "symfony/dependency-injection": "~3.3", + "symfony/http-kernel": "~3.3", + "symfony/polyfill-php70": "~1.0", + "symfony/security": "~3.3" + }, + "conflict": { + "symfony/var-dumper": "<3.3" + }, + "require-dev": { + "doctrine/doctrine-bundle": "~1.4", + "symfony/asset": "~2.8|~3.0", + "symfony/browser-kit": "~2.8|~3.0", + "symfony/console": "~3.2", + "symfony/css-selector": "~2.8|~3.0", + "symfony/dom-crawler": "~2.8|~3.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/form": "^2.8.18|^3.2.5", + "symfony/framework-bundle": "^3.2.8", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/process": "~2.8|~3.0", + "symfony/security-acl": "~2.8|~3.0", + "symfony/translation": "~2.8|~3.0", + "symfony/twig-bridge": "~2.8|~3.0", + "symfony/twig-bundle": "~2.8|~3.0", + "symfony/validator": "^3.2.5", + "symfony/var-dumper": "~3.3", + "symfony/yaml": "~2.8|~3.0", + "twig/twig": "~1.34|~2.4" + }, + "suggest": { + "symfony/security-acl": "For using the ACL functionality of this bundle" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\SecurityBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony SecurityBundle", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/stopwatch", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/stopwatch.git", + "reference": "9a5610a8d6a50985a7be485c0ba745c22607beeb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/9a5610a8d6a50985a7be485c0ba745c22607beeb", + "reference": "9a5610a8d6a50985a7be485c0ba745c22607beeb", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Stopwatch\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Stopwatch Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/swiftmailer-bundle", + "version": "v3.0.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/swiftmailer-bundle.git", + "reference": "1c870bdd6ad0cccd45a7e553f80ca881b60a14d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/1c870bdd6ad0cccd45a7e553f80ca881b60a14d6", + "reference": "1c870bdd6ad0cccd45a7e553f80ca881b60a14d6", + "shasum": "" + }, + "require": { + "php": ">=5.3.2", + "swiftmailer/swiftmailer": "^6.0.1", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~2.7|~3.0", + "symfony/http-kernel": "~2.7|~3.0" + }, + "require-dev": { + "symfony/console": "~2.7|~3.0", + "symfony/framework-bundle": "~2.7|~3.0", + "symfony/phpunit-bridge": "~3.3@dev", + "symfony/yaml": "~2.7|~3.0" + }, + "suggest": { + "psr/log": "Allows logging" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\SwiftmailerBundle\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Symfony SwiftmailerBundle", + "homepage": "http://symfony.com", + "time": "2017-06-09T00:03:44+00:00" + }, + { + "name": "symfony/translation", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "add53753d978f635492dfe8cd6953f6a7361ef90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/add53753d978f635492dfe8cd6953f6a7361ef90", + "reference": "add53753d978f635492dfe8cd6953f6a7361ef90", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/config": "<2.8", + "symfony/yaml": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~2.8|~3.0", + "symfony/intl": "^2.8.18|^3.2.5", + "symfony/yaml": "~3.3" + }, + "suggest": { + "psr/log": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Translation Component", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/twig-bridge", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/twig-bridge.git", + "reference": "9c12e8f02937a1edfa02fcc73282c7c1a18304b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/9c12e8f02937a1edfa02fcc73282c7c1a18304b2", + "reference": "9c12e8f02937a1edfa02fcc73282c7c1a18304b2", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "twig/twig": "~1.34|~2.4" + }, + "conflict": { + "symfony/form": "<3.2.10|~3.3,<3.3.3" + }, + "require-dev": { + "fig/link-util": "^1.0", + "symfony/asset": "~2.8|~3.0", + "symfony/console": "~2.8|~3.0", + "symfony/expression-language": "~2.8|~3.0", + "symfony/finder": "~2.8|~3.0", + "symfony/form": "^3.2.10|^3.3.3", + "symfony/http-kernel": "~3.2", + "symfony/polyfill-intl-icu": "~1.0", + "symfony/routing": "~2.8|~3.0", + "symfony/security": "~2.8|~3.0", + "symfony/security-acl": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0", + "symfony/templating": "~2.8|~3.0", + "symfony/translation": "~2.8|~3.0", + "symfony/var-dumper": "~2.8.10|~3.1.4|~3.2", + "symfony/web-link": "~3.3", + "symfony/yaml": "~2.8|~3.0" + }, + "suggest": { + "symfony/asset": "For using the AssetExtension", + "symfony/expression-language": "For using the ExpressionExtension", + "symfony/finder": "", + "symfony/form": "For using the FormExtension", + "symfony/http-kernel": "For using the HttpKernelExtension", + "symfony/routing": "For using the RoutingExtension", + "symfony/security": "For using the SecurityExtension", + "symfony/stopwatch": "For using the StopwatchExtension", + "symfony/templating": "For using the TwigEngine", + "symfony/translation": "For using the TranslationExtension", + "symfony/var-dumper": "For using the DumpExtension", + "symfony/web-link": "For using the WebLinkExtension", + "symfony/yaml": "For using the YamlExtension" + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\Twig\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Twig Bridge", + "homepage": "https://symfony.com", + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/twig-bundle", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/twig-bundle.git", + "reference": "fc431bd1679054d199c8e4554fe4646a973b35bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/twig-bundle/zipball/fc431bd1679054d199c8e4554fe4646a973b35bb", + "reference": "fc431bd1679054d199c8e4554fe4646a973b35bb", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/config": "~3.2", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/http-kernel": "^3.3", + "symfony/twig-bridge": "^3.3", + "twig/twig": "~1.34|~2.4" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "require-dev": { + "doctrine/annotations": "~1.0", + "doctrine/cache": "~1.0", + "symfony/asset": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/finder": "~2.8|~3.0", + "symfony/form": "~2.8|~3.0", + "symfony/framework-bundle": "^3.2.8", + "symfony/routing": "~2.8|~3.0", + "symfony/stopwatch": "~2.8|~3.0", + "symfony/templating": "~2.8|~3.0", + "symfony/web-link": "~3.3", + "symfony/yaml": "~2.8|~3.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\TwigBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony TwigBundle", + "homepage": "https://symfony.com", + "time": "2017-08-22T11:12:00+00:00" + }, + { + "name": "symfony/validator", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/validator.git", + "reference": "3ad28ae5f6e71b6c8224569aa6f03908f8a6b1c3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/validator/zipball/3ad28ae5f6e71b6c8224569aa6f03908f8a6b1c3", + "reference": "3ad28ae5f6e71b6c8224569aa6f03908f8a6b1c3", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation": "~2.8|~3.0" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/dependency-injection": "<3.3", + "symfony/yaml": "<3.3" + }, + "require-dev": { + "doctrine/annotations": "~1.0", + "doctrine/cache": "~1.0", + "egulias/email-validator": "^1.2.8|~2.0", + "symfony/cache": "~3.1", + "symfony/config": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/expression-language": "~2.8|~3.0", + "symfony/http-foundation": "~2.8|~3.0", + "symfony/intl": "^2.8.18|^3.2.5", + "symfony/yaml": "~3.3" + }, + "suggest": { + "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.", + "doctrine/cache": "For using the default cached annotation reader and metadata cache.", + "egulias/email-validator": "Strict (RFC compliant) email validation", + "psr/cache-implementation": "For using the metadata cache.", + "symfony/config": "", + "symfony/expression-language": "For using the Expression validator", + "symfony/http-foundation": "", + "symfony/intl": "", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Validator\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Validator Component", + "homepage": "https://symfony.com", + "time": "2017-08-27T14:52:21+00:00" + }, + { + "name": "symfony/yaml", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "1d8c2a99c80862bdc3af94c1781bf70f86bccac0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/1d8c2a99c80862bdc3af94c1781bf70f86bccac0", + "reference": "1d8c2a99c80862bdc3af94c1781bf70f86bccac0", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" }, "require-dev": { - "cache/integration-tests": "dev-master", - "doctrine/cache": "~1.6", - "doctrine/data-fixtures": "1.0.*", - "doctrine/dbal": "~2.4", - "doctrine/doctrine-bundle": "~1.4", - "doctrine/orm": "~2.4,>=2.4.5", - "egulias/email-validator": "~1.2,>=1.2.8|~2.0", - "monolog/monolog": "~1.11", - "ocramius/proxy-manager": "~0.4|~1.0|~2.0", - "phpdocumentor/reflection-docblock": "^3.0", - "predis/predis": "~1.0", - "sensio/framework-extra-bundle": "^3.0.2", - "symfony/phpunit-bridge": "~3.2", - "symfony/polyfill-apcu": "~1.1", - "symfony/security-acl": "~2.8|~3.0" + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" }, "type": "library", "extra": { @@ -2420,18 +4401,10 @@ }, "autoload": { "psr-4": { - "Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/", - "Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/", - "Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/", - "Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/", - "Symfony\\Bundle\\": "src/Symfony/Bundle/", - "Symfony\\Component\\": "src/Symfony/Component/" + "Symfony\\Component\\Yaml\\": "" }, - "classmap": [ - "src/Symfony/Component/Intl/Resources/stubs" - ], "exclude-from-classmap": [ - "**/Tests/" + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2448,12 +4421,9 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "The Symfony PHP framework", + "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "keywords": [ - "framework" - ], - "time": "2017-08-01T10:26:30+00:00" + "time": "2017-07-29T21:54:42+00:00" }, { "name": "twig/extensions", @@ -2513,20 +4483,21 @@ }, { "name": "twig/twig", - "version": "v1.34.4", + "version": "v2.4.3", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee" + "reference": "eab7c3288ae6603d7d6f92b531626af2b162d1f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/f878bab48edb66ad9c6ed626bf817f60c6c096ee", - "reference": "f878bab48edb66ad9c6ed626bf817f60c6c096ee", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/eab7c3288ae6603d7d6f92b531626af2b162d1f2", + "reference": "eab7c3288ae6603d7d6f92b531626af2b162d1f2", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0", + "symfony/polyfill-mbstring": "~1.0" }, "require-dev": { "psr/container": "^1.0", @@ -2536,7 +4507,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.34-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -2574,7 +4545,7 @@ "keywords": [ "templating" ], - "time": "2017-07-04T13:19:31+00:00" + "time": "2017-06-07T18:47:58+00:00" }, { "name": "white-october/pagerfanta-bundle", @@ -2632,23 +4603,23 @@ "packages-dev": [ { "name": "dama/doctrine-test-bundle", - "version": "v3.1.0", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/dmaicher/doctrine-test-bundle.git", - "reference": "40ff57de6ee80fef34428086a4b0693ee3f9cb1c" + "reference": "0a96aed300fa4390291dbb9999daf836e2bd0a33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/40ff57de6ee80fef34428086a4b0693ee3f9cb1c", - "reference": "40ff57de6ee80fef34428086a4b0693ee3f9cb1c", + "url": "https://api.github.com/repos/dmaicher/doctrine-test-bundle/zipball/0a96aed300fa4390291dbb9999daf836e2bd0a33", + "reference": "0a96aed300fa4390291dbb9999daf836e2bd0a33", "shasum": "" }, "require": { "doctrine/dbal": "~2.5", "doctrine/doctrine-bundle": "~1.4", "php": ">=5.5.0", - "symfony/framework-bundle": "~2.3|~3.0" + "symfony/framework-bundle": "~2.7|~3.0" }, "require-dev": { "phpunit/phpunit": "~5.0" @@ -2656,7 +4627,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1.x-dev" + "dev-master": "3.2.x-dev" } }, "autoload": { @@ -2684,20 +4655,20 @@ "symfony 2", "tests" ], - "time": "2017-07-30T11:45:13+00:00" + "time": "2017-08-15T11:57:21+00:00" }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.2.5", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "27c2cd9d4abd2178b5b585fa2c3cca656d377c69" + "reference": "63aad575ec2a29d50eb6c3b5cbc17430b28895b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/27c2cd9d4abd2178b5b585fa2c3cca656d377c69", - "reference": "27c2cd9d4abd2178b5b585fa2c3cca656d377c69", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/63aad575ec2a29d50eb6c3b5cbc17430b28895b2", + "reference": "63aad575ec2a29d50eb6c3b5cbc17430b28895b2", "shasum": "" }, "require": { @@ -2705,26 +4676,25 @@ "ext-json": "*", "ext-tokenizer": "*", "gecko-packages/gecko-php-unit": "^2.0", - "php": "^5.3.6 || >=7.0 <7.2", + "php": "^5.6 || >=7.0 <7.2", "sebastian/diff": "^1.4", - "symfony/console": "^2.4 || ^3.0", - "symfony/event-dispatcher": "^2.1 || ^3.0", - "symfony/filesystem": "^2.4 || ^3.0", - "symfony/finder": "^2.2 || ^3.0", - "symfony/options-resolver": "^2.6 || ^3.0", - "symfony/polyfill-php54": "^1.0", - "symfony/polyfill-php55": "^1.3", + "symfony/console": "^3.2", + "symfony/event-dispatcher": "^3.0", + "symfony/filesystem": "^3.0", + "symfony/finder": "^3.0", + "symfony/options-resolver": "^3.0", "symfony/polyfill-php70": "^1.0", "symfony/polyfill-php72": "^1.4", - "symfony/process": "^2.3 || ^3.0", - "symfony/stopwatch": "^2.5 || ^3.0" + "symfony/process": "^3.0", + "symfony/stopwatch": "^3.0" }, "conflict": { - "hhvm": "<3.18" + "hhvm": "*" }, "require-dev": { - "johnkary/phpunit-speedtrap": "^1.0.1", + "johnkary/phpunit-speedtrap": "^1.1", "justinrainbow/json-schema": "^5.0", + "php-cs-fixer/accessible-object": "^1.0", "phpunit/phpunit": "^4.8.35 || ^5.4.3", "satooshi/php-coveralls": "^1.0", "symfony/phpunit-bridge": "^3.2.2" @@ -2737,16 +4707,12 @@ "php-cs-fixer" ], "type": "application", - "extra": { - "branch-alias": { - "dev-master": "2.2-dev" - } - }, "autoload": { "psr-4": { "PhpCsFixer\\": "src/" }, "classmap": [ + "tests/Test/Assert/AssertTokensTrait.php", "tests/Test/AbstractFixerTestCase.php", "tests/Test/AbstractIntegrationTestCase.php", "tests/Test/IntegrationCase.php", @@ -2768,20 +4734,20 @@ } ], "description": "A tool to automatically fix PHP code style", - "time": "2017-07-18T15:16:38+00:00" + "time": "2017-08-22T14:15:09+00:00" }, { "name": "gecko-packages/gecko-php-unit", - "version": "v2.1", + "version": "v2.2", "source": { "type": "git", "url": "https://github.com/GeckoPackages/GeckoPHPUnit.git", - "reference": "5b9e9622c7efd3b22655270b80c03f9e52878a6e" + "reference": "ab525fac9a9ffea219687f261b02008b18ebf2d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GeckoPackages/GeckoPHPUnit/zipball/5b9e9622c7efd3b22655270b80c03f9e52878a6e", - "reference": "5b9e9622c7efd3b22655270b80c03f9e52878a6e", + "url": "https://api.github.com/repos/GeckoPackages/GeckoPHPUnit/zipball/ab525fac9a9ffea219687f261b02008b18ebf2d1", + "reference": "ab525fac9a9ffea219687f261b02008b18ebf2d1", "shasum": "" }, "require": { @@ -2790,66 +4756,29 @@ "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.4.3" }, + "suggest": { + "ext-dom": "When testing with xml.", + "ext-libxml": "When testing with xml.", + "phpunit/phpunit": "This is an extension for it so make sure you have it some way." + }, "type": "library", "autoload": { "psr-4": { - "GeckoPackages\\PHPUnit\\": "src\\PHPUnit" + "GeckoPackages\\PHPUnit\\": "src/PHPUnit" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Additional PHPUnit tests.", + "description": "Additional PHPUnit asserts and constraints.", "homepage": "https://github.com/GeckoPackages", "keywords": [ "extension", "filesystem", "phpunit" ], - "time": "2017-06-20T11:22:48+00:00" - }, - { - "name": "ircmaxell/password-compat", - "version": "v1.0.4", - "source": { - "type": "git", - "url": "https://github.com/ircmaxell/password_compat.git", - "reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ircmaxell/password_compat/zipball/5c5cde8822a69545767f7c7f3058cb15ff84614c", - "reference": "5c5cde8822a69545767f7c7f3058cb15ff84614c", - "shasum": "" - }, - "require-dev": { - "phpunit/phpunit": "4.*" - }, - "type": "library", - "autoload": { - "files": [ - "lib/password.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Anthony Ferrara", - "email": "ircmaxell@php.net", - "homepage": "http://blog.ircmaxell.com" - } - ], - "description": "A compatibility library for the proposed simplified password hashing algorithm: https://wiki.php.net/rfc/password_hash", - "homepage": "https://github.com/ircmaxell/password_compat", - "keywords": [ - "hashing", - "password" - ], - "time": "2014-11-20T16:49:30+00:00" + "time": "2017-08-23T07:39:54+00:00" }, { "name": "sebastian/diff", @@ -2904,41 +4833,96 @@ "time": "2017-05-22T07:24:03+00:00" }, { - "name": "sensio/generator-bundle", - "version": "v3.1.6", + "name": "symfony/debug-bundle", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/sensiolabs/SensioGeneratorBundle.git", - "reference": "128bc5dabc91ca40b7445f094968dd70ccd58305" + "url": "https://github.com/symfony/debug-bundle.git", + "reference": "654033558fe379f36edb2afde2dae1152ba8f27b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioGeneratorBundle/zipball/128bc5dabc91ca40b7445f094968dd70ccd58305", - "reference": "128bc5dabc91ca40b7445f094968dd70ccd58305", + "url": "https://api.github.com/repos/symfony/debug-bundle/zipball/654033558fe379f36edb2afde2dae1152ba8f27b", + "reference": "654033558fe379f36edb2afde2dae1152ba8f27b", "shasum": "" }, "require": { - "symfony/console": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0", - "symfony/process": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0", - "twig/twig": "^1.28.2|^2.0" + "ext-xml": "*", + "php": "^5.5.9|>=7.0.8", + "symfony/http-kernel": "~2.8|~3.0", + "symfony/twig-bridge": "~2.8|~3.0", + "symfony/var-dumper": "~2.8|~3.0" }, "require-dev": { - "doctrine/orm": "~2.4", - "symfony/doctrine-bridge": "~2.7|~3.0", - "symfony/filesystem": "~2.7|~3.0", - "symfony/phpunit-bridge": "^3.3" + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", + "symfony/web-profiler-bundle": "~2.8|~3.0" + }, + "suggest": { + "symfony/config": "For service container configuration", + "symfony/dependency-injection": "For using as a service from the container" }, "type": "symfony-bundle", "extra": { "branch-alias": { - "dev-master": "3.1.x-dev" + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\DebugBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony DebugBundle", + "homepage": "https://symfony.com", + "time": "2017-08-10T07:07:06+00:00" + }, + { + "name": "symfony/dotenv", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/dotenv.git", + "reference": "60fcd881c6f26f7092e3fae3d567332e4db6b839" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dotenv/zipball/60fcd881c6f26f7092e3fae3d567332e4db6b839", + "reference": "60fcd881c6f26f7092e3fae3d567332e4db6b839", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8" + }, + "require-dev": { + "symfony/process": "^3.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Sensio\\Bundle\\GeneratorBundle\\": "" + "Symfony\\Component\\Dotenv\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -2952,23 +4936,33 @@ { "name": "Fabien Potencier", "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "This bundle generates code for you", - "time": "2017-07-18T07:57:44+00:00" + "description": "Registers environment variables from a .env file", + "homepage": "https://symfony.com", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "time": "2017-08-22T13:55:16+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v3.3.6", + "version": "v3.3.8", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "c2c124b7f9de79f4a64dc011f041a3a2c768b913" + "reference": "13db89f6617d512df9ba6b6416fbc2cbbb5c9784" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/c2c124b7f9de79f4a64dc011f041a3a2c768b913", - "reference": "c2c124b7f9de79f4a64dc011f041a3a2c768b913", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/13db89f6617d512df9ba6b6416fbc2cbbb5c9784", + "reference": "13db89f6617d512df9ba6b6416fbc2cbbb5c9784", "shasum": "" }, "require": { @@ -3017,20 +5011,20 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", - "time": "2017-06-12T13:35:45+00:00" + "time": "2017-08-28T11:33:29+00:00" }, { - "name": "symfony/polyfill-php54", - "version": "v1.4.0", + "name": "symfony/polyfill-php72", + "version": "v1.5.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php54.git", - "reference": "7dd1a8b9f0442273fdfeb1c4f5eaff6890a82789" + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "8abc9097f5001d310f0edba727469c988acc6ea7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php54/zipball/7dd1a8b9f0442273fdfeb1c4f5eaff6890a82789", - "reference": "7dd1a8b9f0442273fdfeb1c4f5eaff6890a82789", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/8abc9097f5001d310f0edba727469c988acc6ea7", + "reference": "8abc9097f5001d310f0edba727469c988acc6ea7", "shasum": "" }, "require": { @@ -3039,18 +5033,15 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.5-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php54\\": "" + "Symfony\\Polyfill\\Php72\\": "" }, "files": [ "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3067,7 +5058,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 5.4+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -3075,38 +5066,37 @@ "portable", "shim" ], - "time": "2017-06-09T08:25:21+00:00" + "time": "2017-07-11T13:25:55+00:00" }, { - "name": "symfony/polyfill-php55", - "version": "v1.4.0", + "name": "symfony/process", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php55.git", - "reference": "94566239a7720cde0820f15f0cc348ddb51ba51d" + "url": "https://github.com/symfony/process.git", + "reference": "b7666e9b438027a1ea0e1ee813ec5042d5d7f6f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php55/zipball/94566239a7720cde0820f15f0cc348ddb51ba51d", - "reference": "94566239a7720cde0820f15f0cc348ddb51ba51d", + "url": "https://api.github.com/repos/symfony/process/zipball/b7666e9b438027a1ea0e1ee813ec5042d5d7f6f0", + "reference": "b7666e9b438027a1ea0e1ee813ec5042d5d7f6f0", "shasum": "" }, "require": { - "ircmaxell/password-compat": "~1.0", - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php55\\": "" + "Symfony\\Component\\Process\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3115,53 +5105,90 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions", + "description": "Symfony Process Component", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "time": "2017-07-29T21:54:42+00:00" + }, + { + "name": "symfony/profiler-pack", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/profiler-pack.git", + "reference": "b06e9064559868265233fb4b13b0342de921aba2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/profiler-pack/zipball/b06e9064559868265233fb4b13b0342de921aba2", + "reference": "b06e9064559868265233fb4b13b0342de921aba2", + "shasum": "" + }, + "require": { + "php": "^7.0", + "symfony/stopwatch": "^3.3", + "symfony/twig-bundle": "^3.3", + "symfony/web-profiler-bundle": "^3.3" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" ], - "time": "2017-06-09T08:25:21+00:00" + "description": "A pack for the Symfony web profiler", + "time": "2017-06-12T14:48:57+00:00" }, { - "name": "symfony/polyfill-php72", - "version": "v1.4.0", + "name": "symfony/var-dumper", + "version": "v3.3.8", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "d3a71580c1e2cab33b6d705f0ec40e9015e14d5c" + "url": "https://github.com/symfony/var-dumper.git", + "reference": "89fcb5a73e0ede2be2512234c4e40457bb22b35f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/d3a71580c1e2cab33b6d705f0ec40e9015e14d5c", - "reference": "d3a71580c1e2cab33b6d705f0ec40e9015e14d5c", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/89fcb5a73e0ede2be2512234c4e40457bb22b35f", + "reference": "89fcb5a73e0ede2be2512234c4e40457bb22b35f", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" + }, + "require-dev": { + "ext-iconv": "*", + "twig/twig": "~1.34|~2.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-symfony_debug": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "3.3-dev" } }, "autoload": { + "files": [ + "Resources/functions/dump.php" + ], "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" + "Symfony\\Component\\VarDumper\\": "" }, - "files": [ - "bootstrap.php" + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -3178,15 +5205,134 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "description": "Symfony mechanism for exploring and dumping PHP variables", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" + "debug", + "dump" + ], + "time": "2017-08-27T14:52:21+00:00" + }, + { + "name": "symfony/web-profiler-bundle", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/web-profiler-bundle.git", + "reference": "abea989bafb861368962b75ee5a2280f00f7a50e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/abea989bafb861368962b75ee5a2280f00f7a50e", + "reference": "abea989bafb861368962b75ee5a2280f00f7a50e", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/http-kernel": "~3.2", + "symfony/polyfill-php70": "~1.0", + "symfony/routing": "~2.8|~3.0", + "symfony/twig-bridge": "~2.8|~3.0", + "symfony/var-dumper": "~3.3", + "twig/twig": "~1.34|~2.4" + }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/event-dispatcher": "<3.2", + "symfony/var-dumper": "<3.3" + }, + "require-dev": { + "symfony/config": "~2.8|~3.0", + "symfony/console": "~2.8|~3.0", + "symfony/dependency-injection": "~3.3", + "symfony/stopwatch": "~2.8|~3.0" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\WebProfilerBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony WebProfilerBundle", + "homepage": "https://symfony.com", + "time": "2017-08-18T14:34:09+00:00" + }, + { + "name": "symfony/web-server-bundle", + "version": "v3.3.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/web-server-bundle.git", + "reference": "b2508667fd9d468135f054c5afc59bc8a5ab7bc7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/web-server-bundle/zipball/b2508667fd9d468135f054c5afc59bc8a5ab7bc7", + "reference": "b2508667fd9d468135f054c5afc59bc8a5ab7bc7", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/console": "~3.3", + "symfony/http-kernel": "~3.3", + "symfony/process": "~3.3" + }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "3.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\WebServerBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } ], - "time": "2017-06-09T08:25:21+00:00" + "description": "Symfony WebServerBundle", + "homepage": "https://symfony.com", + "time": "2017-08-22T13:33:42+00:00" } ], "aliases": [], @@ -3195,11 +5341,11 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=5.5.9", + "php": "^7.1.3", "ext-pdo_sqlite": "*" }, "platform-dev": [], "platform-overrides": { - "php": "5.5.9" + "php": "7.1.3" } } diff --git a/config/bundles.php b/config/bundles.php new file mode 100644 index 000000000..0c9560afb --- /dev/null +++ b/config/bundles.php @@ -0,0 +1,18 @@ + ['all' => true], + 'Symfony\Bundle\SecurityBundle\SecurityBundle' => ['all' => true], + 'Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle' => ['all' => true], + 'Doctrine\Bundle\DoctrineBundle\DoctrineBundle' => ['all' => true], + 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' => ['all' => true], + 'Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle' => ['all' => true], + 'Symfony\Bundle\MonologBundle\MonologBundle' => ['all' => true], + 'Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle' => ['all' => true], + 'Symfony\Bundle\TwigBundle\TwigBundle' => ['all' => true], + 'WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle' => ['all' => true], + 'Symfony\Bundle\DebugBundle\DebugBundle' => ['dev' => true, 'test' => true], + 'Symfony\Bundle\WebServerBundle\WebServerBundle' => ['dev' => true], + 'Symfony\Bundle\WebProfilerBundle\WebProfilerBundle' => ['dev' => true, 'test' => true], + 'DAMA\DoctrineTestBundle\DAMADoctrineTestBundle' => ['test' => true], +]; diff --git a/config/packages/dev/monolog.php b/config/packages/dev/monolog.php new file mode 100644 index 000000000..1e116e72e --- /dev/null +++ b/config/packages/dev/monolog.php @@ -0,0 +1,36 @@ + [ + 'type' => 'stream', + 'path' => '%kernel.logs_dir%/%kernel.environment%.log', + 'level' => 'debug', + 'channels' => ['!event'], + ], + // uncomment to get logging in your browser + // you may have to allow bigger header sizes in your Web server configuration + //'firephp' => [ + // 'type' => 'firephp', + // 'level' => 'info', + //], + //'chromephp' => [ + // 'type' => 'chromephp', + // 'level' => 'info', + //], +]; + +$container->addResource(new ClassExistenceResource(Application::class)); +if (class_exists(Application::class)) { + $handlers['console'] = [ + 'type' => 'console', + 'process_psr_3_messages' => false, + 'channels' => ['!event', '!doctrine', '!console'], + ]; +} + +$container->loadFromExtension('monolog', [ + 'handlers' => $handlers, +]); diff --git a/config/packages/dev/routing.yaml b/config/packages/dev/routing.yaml new file mode 100644 index 000000000..4116679a2 --- /dev/null +++ b/config/packages/dev/routing.yaml @@ -0,0 +1,3 @@ +framework: + router: + strict_requirements: true diff --git a/config/packages/dev/security_checker.yaml b/config/packages/dev/security_checker.yaml new file mode 100644 index 000000000..544c0b33a --- /dev/null +++ b/config/packages/dev/security_checker.yaml @@ -0,0 +1,8 @@ +services: + SensioLabs\Security\SecurityChecker: + public: false + + SensioLabs\Security\Command\SecurityCheckerCommand: + arguments: ['@SensioLabs\Security\SecurityChecker'] + tags: + - { name: console.command } diff --git a/config/packages/dev/swiftmailer.yaml b/config/packages/dev/swiftmailer.yaml new file mode 100644 index 000000000..31fab6c65 --- /dev/null +++ b/config/packages/dev/swiftmailer.yaml @@ -0,0 +1,2 @@ +#swiftmailer: + #delivery_address: me@example.com diff --git a/config/packages/dev/web_profiler.yaml b/config/packages/dev/web_profiler.yaml new file mode 100644 index 000000000..e92166a7f --- /dev/null +++ b/config/packages/dev/web_profiler.yaml @@ -0,0 +1,6 @@ +web_profiler: + toolbar: true + intercept_redirects: false + +framework: + profiler: { only_exceptions: false } diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml new file mode 100644 index 000000000..aa9ddbb70 --- /dev/null +++ b/config/packages/doctrine.yaml @@ -0,0 +1,14 @@ +doctrine: + dbal: + url: '%env(DATABASE_URL)%' + orm: + auto_generate_proxy_classes: '%kernel.debug%' + naming_strategy: doctrine.orm.naming_strategy.underscore + auto_mapping: true + mappings: + App: + is_bundle: false + type: annotation + dir: '%kernel.project_dir%/src/Entity' + prefix: 'App\Entity\' + alias: App diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml new file mode 100644 index 000000000..56d25d5df --- /dev/null +++ b/config/packages/framework.yaml @@ -0,0 +1,41 @@ +framework: + assets: + json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' + + cache: + # this value is used as part of the "namespace" generated for the cache item keys + # to avoid collisions when multiple apps share the same cache backend (e.g. a Redis server) + # See https://symfony.com/doc/current/reference/configuration/framework.html#prefix-seed + prefix_seed: symfony-demo + + csrf_protection: { enabled: true } + + default_locale: '%locale%' + + # When using the HTTP Cache, ESI allows to render page fragments separately + # and with different cache configurations for each fragment + # https://symfony.com/doc/current/book/http_cache.html#edge-side-includes + esi: { enabled: true } + + fragments: { enabled: true } + + http_method_override: true + + # The 'ide' option turns all of the file paths in an exception page + # into clickable links that open the given file using your favorite IDE. + # When 'ide' is set to null the file is opened in your web browser. + # See https://symfony.com/doc/current/reference/configuration/framework.html#ide + ide: ~ + + php_errors: + log: true + + secret: '%env(APP_SECRET)%' + + session: + handler_id: session.handler.native_file + save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%' + + trusted_hosts: null + + validation: { enable_annotations: true } diff --git a/config/packages/framework_extra.yaml b/config/packages/framework_extra.yaml new file mode 100644 index 000000000..a37058c3a --- /dev/null +++ b/config/packages/framework_extra.yaml @@ -0,0 +1,2 @@ +framework: + annotations: true diff --git a/config/packages/prod/doctrine.yaml b/config/packages/prod/doctrine.yaml new file mode 100644 index 000000000..f6031f783 --- /dev/null +++ b/config/packages/prod/doctrine.yaml @@ -0,0 +1,5 @@ +doctrine: + orm: + #metadata_cache_driver: apcu + #result_cache_driver: apcu + #query_cache_driver: apcu diff --git a/config/packages/prod/framework.yaml b/config/packages/prod/framework.yaml new file mode 100644 index 000000000..ae9b911df --- /dev/null +++ b/config/packages/prod/framework.yaml @@ -0,0 +1,3 @@ +#framework: +# cache: +# system: cache.adapter.apcu diff --git a/config/packages/prod/monolog.php b/config/packages/prod/monolog.php new file mode 100644 index 000000000..f182890c3 --- /dev/null +++ b/config/packages/prod/monolog.php @@ -0,0 +1,30 @@ + [ + 'type' => 'fingers_crossed', + 'action_level' => 'error', + 'handler' => 'nested', + ], + 'nested' => [ + 'type' => 'stream', + 'path' => '%kernel.logs_dir%/%kernel.environment%.log', + 'level' => 'debug', + ], +]; + +$container->addResource(new ClassExistenceResource(Application::class)); +if (class_exists(Application::class)) { + $handlers['console'] = [ + 'type' => 'console', + 'process_psr_3_messages' => false, + 'channels' => ['!event', '!doctrine'], + ]; +} + +$container->loadFromExtension('monolog', [ + 'handlers' => $handlers, +]); diff --git a/config/packages/routing.yaml b/config/packages/routing.yaml new file mode 100644 index 000000000..b3e6a0af2 --- /dev/null +++ b/config/packages/routing.yaml @@ -0,0 +1,3 @@ +framework: + router: + strict_requirements: null diff --git a/app/config/security.yml b/config/packages/security.yaml similarity index 88% rename from app/config/security.yml rename to config/packages/security.yaml index 597c8b9b1..99193e3b5 100644 --- a/app/config/security.yml +++ b/config/packages/security.yaml @@ -2,19 +2,23 @@ security: encoders: # Our user class and the algorithm we'll use to encode passwords # https://symfony.com/doc/current/security.html#c-encoding-the-user-s-password - AppBundle\Entity\User: bcrypt + App\Entity\User: bcrypt providers: # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded # In this example, users are stored via Doctrine in the database - # To see the users at src/AppBundle/DataFixtures/ORM/LoadFixtures.php + # To see the users at src/App/DataFixtures/ORM/LoadFixtures.php # To load users from somewhere else: https://symfony.com/doc/current/security/custom_provider.html database_users: - entity: { class: AppBundle:User, property: username } + entity: { class: App\Entity\User, property: username } # https://symfony.com/doc/current/security.html#initial-security-yml-setup-authentication firewalls: - secured_area: + dev: + pattern: ^/(_(profiler|wdt)|css|images|js)/ + security: false + + main: # this firewall applies to all URLs pattern: ^/ diff --git a/config/packages/swiftmailer.yaml b/config/packages/swiftmailer.yaml new file mode 100644 index 000000000..cae65084a --- /dev/null +++ b/config/packages/swiftmailer.yaml @@ -0,0 +1,3 @@ +swiftmailer: + url: '%env(MAILER_URL)%' + spool: { type: 'memory' } diff --git a/config/packages/test/doctrine.yaml b/config/packages/test/doctrine.yaml new file mode 100644 index 000000000..75b87909e --- /dev/null +++ b/config/packages/test/doctrine.yaml @@ -0,0 +1,9 @@ +parameters: + # needed to avoid this fatal error: + # Symfony\Component\DependencyInjection\Exception\EnvParameterException: + # Environment variables "DATABASE_URL" are never used. Please, check your container's configuration. + ignore-this-parameter: '%env(DATABASE_URL)%' + +doctrine: + dbal: + url: 'sqlite:///var/data/blog_test.sqlite' diff --git a/config/packages/test/framework.yaml b/config/packages/test/framework.yaml new file mode 100644 index 000000000..2ad0bdef8 --- /dev/null +++ b/config/packages/test/framework.yaml @@ -0,0 +1,4 @@ +framework: + test: null + session: + storage_id: session.storage.mock_file diff --git a/config/packages/test/security.yaml b/config/packages/test/security.yaml new file mode 100644 index 000000000..356fbc002 --- /dev/null +++ b/config/packages/test/security.yaml @@ -0,0 +1,6 @@ +# this configuration simplifies testing URLs protected by the security mechanism +# See https://symfony.com/doc/current/cookbook/testing/http_authentication.html +security: + firewalls: + main: + http_basic: ~ diff --git a/config/packages/test/swiftmailer.yaml b/config/packages/test/swiftmailer.yaml new file mode 100644 index 000000000..f43807805 --- /dev/null +++ b/config/packages/test/swiftmailer.yaml @@ -0,0 +1,2 @@ +swiftmailer: + disable_delivery: true diff --git a/config/packages/test/web_profiler.yaml b/config/packages/test/web_profiler.yaml new file mode 100644 index 000000000..03752de21 --- /dev/null +++ b/config/packages/test/web_profiler.yaml @@ -0,0 +1,6 @@ +web_profiler: + toolbar: false + intercept_redirects: false + +framework: + profiler: { collect: false } diff --git a/config/packages/translation.yaml b/config/packages/translation.yaml new file mode 100644 index 000000000..8068a236e --- /dev/null +++ b/config/packages/translation.yaml @@ -0,0 +1,7 @@ +framework: + default_locale: '%locale%' + translator: + paths: + - '%kernel.project_dir%/translations/' + fallbacks: + - '%locale%' diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml new file mode 100644 index 000000000..2f130d00b --- /dev/null +++ b/config/packages/twig.yaml @@ -0,0 +1,7 @@ +twig: + paths: ['%kernel.project_dir%/templates'] + debug: '%kernel.debug%' + strict_variables: '%kernel.debug%' + form_themes: + - 'form/layout.html.twig' + - 'form/fields.html.twig' diff --git a/config/routes.yaml b/config/routes.yaml new file mode 100644 index 000000000..6b2374bb4 --- /dev/null +++ b/config/routes.yaml @@ -0,0 +1,21 @@ +controllers: + resource: ../src/Controller/ + type: annotation + prefix: /{_locale} + requirements: + _locale: '%app_locales%' + defaults: + _locale: '%locale%' + +# These lines define a route using YAML configuration. The controller used by +# the route (FrameworkBundle:Template:template) is a convenient shortcut when +# the template can be rendered without executing any logic in your own controller. +# See https://symfony.com/doc/current/cookbook/templating/render_without_controller.html +homepage: + path: /{_locale} + requirements: + _locale: '%app_locales%' + defaults: + _controller: FrameworkBundle:Template:template + template: default/homepage.html.twig + _locale: '%locale%' diff --git a/config/routes/dev/twig.yaml b/config/routes/dev/twig.yaml new file mode 100644 index 000000000..a61972bff --- /dev/null +++ b/config/routes/dev/twig.yaml @@ -0,0 +1,3 @@ +_errors: + resource: '@TwigBundle/Resources/config/routing/errors.xml' + prefix: /_error diff --git a/config/routes/dev/web_profiler.yaml b/config/routes/dev/web_profiler.yaml new file mode 100644 index 000000000..c82beff2f --- /dev/null +++ b/config/routes/dev/web_profiler.yaml @@ -0,0 +1,7 @@ +web_profiler_wdt: + resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' + prefix: /_wdt + +web_profiler_profiler: + resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' + prefix: /_profiler diff --git a/app/config/services.yml b/config/services.yaml similarity index 60% rename from app/config/services.yml rename to config/services.yaml index d929228bb..65782fdf3 100644 --- a/app/config/services.yml +++ b/config/services.yaml @@ -1,3 +1,11 @@ +# Put parameters here that don't need to change on each machine where the app is deployed +# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration +parameters: + locale: 'en' + # This parameter defines the codes of the locales (languages) enabled in the application + app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl|hr|zh_CN + app.notifications.email_sender: anonymous@example.com + services: # default configuration for services in *this* file _defaults: @@ -9,36 +17,35 @@ services: # if you need to do this, you can override this setting on individual services public: false - # makes classes in src/AppBundle available to be used as services + # makes classes in src/ available to be used as services # this creates a service per class whose id is the fully-qualified class name - AppBundle\: - resource: '../../src/AppBundle/*' + App\: + resource: '../src/*' # you can exclude directories or files # but if a service is unused, it's removed anyway - exclude: '../../src/AppBundle/{Controller,Entity,Repository}' + exclude: '../src/{Entity,Repository,Tests}' # controllers are imported separately to make sure they're public # and have a tag that allows actions to type-hint services - AppBundle\Controller\: - resource: '../../src/AppBundle/Controller' + App\Controller\: + resource: '../src/Controller' public: true tags: ['controller.service_arguments'] - # Autowiring can't guess the constructor arguments that are not type-hinted with +# Autowiring can't guess the constructor arguments that are not type-hinted with # classes (e.g. container parameters) so you must define those arguments explicitly - AppBundle\Command\ListUsersCommand: - arguments: - $emailSender: '%app.notifications.email_sender%' + App\Command\ListUsersCommand: + $emailSender: '%app.notifications.email_sender%' # when the service definition only contains arguments, you can omit the # 'arguments' key and define the arguments just below the service class - AppBundle\Twig\AppExtension: + App\Twig\AppExtension: $locales: '%app_locales%' - AppBundle\EventListener\CommentNotificationSubscriber: + App\EventSubscriber\CommentNotificationSubscriber: $sender: '%app.notifications.email_sender%' - AppBundle\EventListener\RedirectToPreferredLocaleSubscriber: + App\EventSubscriber\RedirectToPreferredLocaleSubscriber: $locales: '%app_locales%' $defaultLocale: '%locale%' @@ -48,5 +55,5 @@ services: # the slugger service needs a public alias for getting it from # the container when loading doctrine fixtures slugger: - alias: AppBundle\Utils\Slugger + alias: App\Utils\Slugger public: true diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 16ecbc571..82aaa2b03 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,33 +2,30 @@ - + + + - tests + tests/ - - - src - - src/*Bundle/Resources - src/*/*Bundle/Resources - src/*/Bundle/*Bundle/Resources - - - - diff --git a/web/apple-touch-icon.png b/public/apple-touch-icon.png similarity index 100% rename from web/apple-touch-icon.png rename to public/apple-touch-icon.png diff --git a/web/build/css/admin.css b/public/build/css/admin.css similarity index 100% rename from web/build/css/admin.css rename to public/build/css/admin.css diff --git a/web/build/css/app.css b/public/build/css/app.css similarity index 100% rename from web/build/css/app.css rename to public/build/css/app.css diff --git a/web/build/fonts/fontawesome-webfont.eot b/public/build/fonts/fontawesome-webfont.eot similarity index 100% rename from web/build/fonts/fontawesome-webfont.eot rename to public/build/fonts/fontawesome-webfont.eot diff --git a/web/build/fonts/fontawesome-webfont.ttf b/public/build/fonts/fontawesome-webfont.ttf similarity index 100% rename from web/build/fonts/fontawesome-webfont.ttf rename to public/build/fonts/fontawesome-webfont.ttf diff --git a/web/build/fonts/fontawesome-webfont.woff b/public/build/fonts/fontawesome-webfont.woff similarity index 100% rename from web/build/fonts/fontawesome-webfont.woff rename to public/build/fonts/fontawesome-webfont.woff diff --git a/web/build/fonts/fontawesome-webfont.woff2 b/public/build/fonts/fontawesome-webfont.woff2 similarity index 100% rename from web/build/fonts/fontawesome-webfont.woff2 rename to public/build/fonts/fontawesome-webfont.woff2 diff --git a/public/build/fonts/glyphicons-halflings-regular.eot b/public/build/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 000000000..b93a4953f Binary files /dev/null and b/public/build/fonts/glyphicons-halflings-regular.eot differ diff --git a/public/build/fonts/glyphicons-halflings-regular.ttf b/public/build/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 000000000..1413fc609 Binary files /dev/null and b/public/build/fonts/glyphicons-halflings-regular.ttf differ diff --git a/public/build/fonts/glyphicons-halflings-regular.woff b/public/build/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 000000000..9e612858f Binary files /dev/null and b/public/build/fonts/glyphicons-halflings-regular.woff differ diff --git a/public/build/fonts/glyphicons-halflings-regular.woff2 b/public/build/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 000000000..64539b54c Binary files /dev/null and b/public/build/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/web/build/fonts/lato-bold-italic.woff b/public/build/fonts/lato-bold-italic.woff similarity index 100% rename from web/build/fonts/lato-bold-italic.woff rename to public/build/fonts/lato-bold-italic.woff diff --git a/web/build/fonts/lato-bold-italic.woff2 b/public/build/fonts/lato-bold-italic.woff2 similarity index 100% rename from web/build/fonts/lato-bold-italic.woff2 rename to public/build/fonts/lato-bold-italic.woff2 diff --git a/web/build/fonts/lato-bold.woff b/public/build/fonts/lato-bold.woff similarity index 100% rename from web/build/fonts/lato-bold.woff rename to public/build/fonts/lato-bold.woff diff --git a/web/build/fonts/lato-bold.woff2 b/public/build/fonts/lato-bold.woff2 similarity index 100% rename from web/build/fonts/lato-bold.woff2 rename to public/build/fonts/lato-bold.woff2 diff --git a/web/build/fonts/lato-normal-italic.woff b/public/build/fonts/lato-normal-italic.woff similarity index 100% rename from web/build/fonts/lato-normal-italic.woff rename to public/build/fonts/lato-normal-italic.woff diff --git a/web/build/fonts/lato-normal-italic.woff2 b/public/build/fonts/lato-normal-italic.woff2 similarity index 100% rename from web/build/fonts/lato-normal-italic.woff2 rename to public/build/fonts/lato-normal-italic.woff2 diff --git a/web/build/fonts/lato-normal.woff b/public/build/fonts/lato-normal.woff similarity index 100% rename from web/build/fonts/lato-normal.woff rename to public/build/fonts/lato-normal.woff diff --git a/web/build/fonts/lato-normal.woff2 b/public/build/fonts/lato-normal.woff2 similarity index 100% rename from web/build/fonts/lato-normal.woff2 rename to public/build/fonts/lato-normal.woff2 diff --git a/web/build/images/fontawesome-webfont.svg b/public/build/images/fontawesome-webfont.svg similarity index 100% rename from web/build/images/fontawesome-webfont.svg rename to public/build/images/fontawesome-webfont.svg diff --git a/public/build/images/glyphicons-halflings-regular.svg b/public/build/images/glyphicons-halflings-regular.svg new file mode 100644 index 000000000..94fb5490a --- /dev/null +++ b/public/build/images/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web/build/js/admin.js b/public/build/js/admin.js similarity index 100% rename from web/build/js/admin.js rename to public/build/js/admin.js diff --git a/web/build/js/app.js b/public/build/js/app.js similarity index 100% rename from web/build/js/app.js rename to public/build/js/app.js diff --git a/web/build/js/common.js b/public/build/js/common.js similarity index 100% rename from web/build/js/common.js rename to public/build/js/common.js diff --git a/web/build/js/login.js b/public/build/js/login.js similarity index 100% rename from web/build/js/login.js rename to public/build/js/login.js diff --git a/web/build/js/search.js b/public/build/js/search.js similarity index 100% rename from web/build/js/search.js rename to public/build/js/search.js diff --git a/web/build/manifest.js b/public/build/manifest.js similarity index 100% rename from web/build/manifest.js rename to public/build/manifest.js diff --git a/web/build/manifest.json b/public/build/manifest.json similarity index 100% rename from web/build/manifest.json rename to public/build/manifest.json diff --git a/public/bundles/whiteoctoberpagerfanta b/public/bundles/whiteoctoberpagerfanta new file mode 120000 index 000000000..b3b45b862 --- /dev/null +++ b/public/bundles/whiteoctoberpagerfanta @@ -0,0 +1 @@ +../../vendor/white-october/pagerfanta-bundle/Resources/public/ \ No newline at end of file diff --git a/web/favicon.ico b/public/favicon.ico similarity index 100% rename from web/favicon.ico rename to public/favicon.ico diff --git a/public/index.php b/public/index.php new file mode 100644 index 000000000..bf2a55817 --- /dev/null +++ b/public/index.php @@ -0,0 +1,39 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +use App\Kernel; +use Symfony\Component\Debug\Debug; +use Symfony\Component\Dotenv\Dotenv; +use Symfony\Component\HttpFoundation\Request; + +require __DIR__.'/../vendor/autoload.php'; + +// The check is to ensure we don't use .env in production +if (!getenv('APP_ENV')) { + (new Dotenv())->load(__DIR__.'/../.env'); +} + +if (getenv('APP_DEBUG')) { + // WARNING: You should setup permissions the proper way! + // REMOVE the following PHP line and read + // https://symfony.com/doc/current/book/installation.html#checking-symfony-application-configuration-and-setup + umask(0000); + + Debug::enable(); +} + +// Request::setTrustedProxies(['0.0.0.0/0'], Request::HEADER_FORWARDED); + +$kernel = new Kernel(getenv('APP_ENV'), getenv('APP_DEBUG')); +$request = Request::createFromGlobals(); +$response = $kernel->handle($request); +$response->send(); +$kernel->terminate($request, $response); diff --git a/web/robots.txt b/public/robots.txt similarity index 100% rename from web/robots.txt rename to public/robots.txt diff --git a/src/.htaccess b/src/.htaccess deleted file mode 100644 index fb1de45bd..000000000 --- a/src/.htaccess +++ /dev/null @@ -1,7 +0,0 @@ - - Require all denied - - - Order deny,allow - Deny from all - diff --git a/src/AppBundle/AppBundle.php b/src/AppBundle/AppBundle.php deleted file mode 100644 index 587f03a75..000000000 --- a/src/AppBundle/AppBundle.php +++ /dev/null @@ -1,44 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace AppBundle; - -use Symfony\Component\HttpKernel\Bundle\Bundle; - -/** - * This class is the one that transforms the src/AppBundle/ directory into a real - * Symfony bundle. - * - * There are two types of bundles: - * - * * Reusable Bundles: they are meant to be shared between different applications. - * A lot of them are even publicly available in sites like packagist.org. - * See https://symfony.com/doc/current/cookbook/bundles/best_practices.html - * * Application bundles: they are never shared, not even with other of your - * applications. This allows them to be less strict in some conventions and - * their code is usually simpler. - * See https://symfony.com/doc/current/best_practices/business-logic.html - * - * The AppBundle is an application bundle that is already created when you install - * Symfony. Using AppBundle to start developing your Symfony application is - * considered a good practice, but you can also split your application code into - * as many bundles as you want. - * - * @author Ryan Weaver - * @author Javier Eguiluz - */ -class AppBundle extends Bundle -{ - // At first it's common to leave this class empty, but when the application grows, - // you may need to add some initialization code in the boot() method. - // Checkout the Symfony\Component\HttpKernel\Bundle\Bundle class to see all - // the available methods for bundles. -} diff --git a/src/CodeExplorerBundle/CodeExplorerBundle.php b/src/CodeExplorerBundle/CodeExplorerBundle.php deleted file mode 100644 index 8238ca7da..000000000 --- a/src/CodeExplorerBundle/CodeExplorerBundle.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace CodeExplorerBundle; - -use Symfony\Component\HttpKernel\Bundle\Bundle; - -/** - * @author Oleg Voronkovich - */ -class CodeExplorerBundle extends Bundle -{ -} diff --git a/src/CodeExplorerBundle/DependencyInjection/CodeExplorerExtension.php b/src/CodeExplorerBundle/DependencyInjection/CodeExplorerExtension.php deleted file mode 100644 index b4d715c2e..000000000 --- a/src/CodeExplorerBundle/DependencyInjection/CodeExplorerExtension.php +++ /dev/null @@ -1,30 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace CodeExplorerBundle\DependencyInjection; - -use Symfony\Component\Config\FileLocator; -use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; - -/** - * @author Oleg Voronkovich - */ -class CodeExplorerExtension extends Extension -{ - public function load(array $configs, ContainerBuilder $container) - { - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - - $loader->load('services.yml'); - } -} diff --git a/src/CodeExplorerBundle/Resources/config/services.yml b/src/CodeExplorerBundle/Resources/config/services.yml deleted file mode 100644 index 59c7563d5..000000000 --- a/src/CodeExplorerBundle/Resources/config/services.yml +++ /dev/null @@ -1,6 +0,0 @@ -services: - _defaults: { public: false, autoconfigure: true } - - CodeExplorerBundle\Twig\SourceCodeExtension: ~ - - CodeExplorerBundle\EventListener\ControllerListener: ['@CodeExplorerBundle\Twig\SourceCodeExtension'] diff --git a/src/AppBundle/Command/AddUserCommand.php b/src/Command/AddUserCommand.php similarity index 99% rename from src/AppBundle/Command/AddUserCommand.php rename to src/Command/AddUserCommand.php index a8d19b0cf..825c7c669 100644 --- a/src/AppBundle/Command/AddUserCommand.php +++ b/src/Command/AddUserCommand.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\Command; +namespace App\Command; -use AppBundle\Entity\User; -use AppBundle\Utils\Validator; +use App\Entity\User; +use App\Utils\Validator; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; diff --git a/src/AppBundle/Command/DeleteUserCommand.php b/src/Command/DeleteUserCommand.php similarity index 96% rename from src/AppBundle/Command/DeleteUserCommand.php rename to src/Command/DeleteUserCommand.php index a3a287e71..6a8987f56 100644 --- a/src/AppBundle/Command/DeleteUserCommand.php +++ b/src/Command/DeleteUserCommand.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\Command; +namespace App\Command; -use AppBundle\Entity\User; -use AppBundle\Utils\Validator; +use App\Entity\User; +use App\Utils\Validator; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -28,7 +28,7 @@ * * $ php bin/console app:delete-user * - * Check out the code of the src/AppBundle/Command/AddUserCommand.php file for + * Check out the code of the src/App/Command/AddUserCommand.php file for * the full explanation about Symfony commands. * * See https://symfony.com/doc/current/cookbook/console/console_command.html diff --git a/src/AppBundle/Command/ListUsersCommand.php b/src/Command/ListUsersCommand.php similarity index 98% rename from src/AppBundle/Command/ListUsersCommand.php rename to src/Command/ListUsersCommand.php index bd0794369..1c58528ef 100644 --- a/src/AppBundle/Command/ListUsersCommand.php +++ b/src/Command/ListUsersCommand.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Command; +namespace App\Command; -use AppBundle\Entity\User; +use App\Entity\User; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; diff --git a/src/AppBundle/Controller/Admin/BlogController.php b/src/Controller/Admin/BlogController.php similarity index 98% rename from src/AppBundle/Controller/Admin/BlogController.php rename to src/Controller/Admin/BlogController.php index ceffe9372..a28910523 100644 --- a/src/AppBundle/Controller/Admin/BlogController.php +++ b/src/Controller/Admin/BlogController.php @@ -9,11 +9,11 @@ * file that was distributed with this source code. */ -namespace AppBundle\Controller\Admin; +namespace App\Controller\Admin; -use AppBundle\Entity\Post; -use AppBundle\Form\PostType; -use AppBundle\Utils\Slugger; +use App\Entity\Post; +use App\Form\PostType; +use App\Utils\Slugger; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; diff --git a/src/AppBundle/Controller/BlogController.php b/src/Controller/BlogController.php similarity index 97% rename from src/AppBundle/Controller/BlogController.php rename to src/Controller/BlogController.php index 267eddfd8..3e9ad9505 100644 --- a/src/AppBundle/Controller/BlogController.php +++ b/src/Controller/BlogController.php @@ -9,12 +9,12 @@ * file that was distributed with this source code. */ -namespace AppBundle\Controller; +namespace App\Controller; -use AppBundle\Entity\Comment; -use AppBundle\Entity\Post; -use AppBundle\Events; -use AppBundle\Form\CommentType; +use App\Entity\Comment; +use App\Entity\Post; +use App\Events; +use App\Form\CommentType; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; diff --git a/src/AppBundle/Controller/SecurityController.php b/src/Controller/SecurityController.php similarity index 97% rename from src/AppBundle/Controller/SecurityController.php rename to src/Controller/SecurityController.php index cb2770e68..fd338f5a7 100644 --- a/src/AppBundle/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Controller; +namespace App\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; diff --git a/src/AppBundle/DataFixtures/FixturesTrait.php b/src/DataFixtures/FixturesTrait.php similarity index 99% rename from src/AppBundle/DataFixtures/FixturesTrait.php rename to src/DataFixtures/FixturesTrait.php index 9e81915fd..504d61137 100644 --- a/src/AppBundle/DataFixtures/FixturesTrait.php +++ b/src/DataFixtures/FixturesTrait.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\DataFixtures; +namespace App\DataFixtures; /** * Helper class to create fixtures contents. diff --git a/src/AppBundle/DataFixtures/ORM/PostFixtures.php b/src/DataFixtures/ORM/PostFixtures.php similarity index 96% rename from src/AppBundle/DataFixtures/ORM/PostFixtures.php rename to src/DataFixtures/ORM/PostFixtures.php index eca42f5b5..934ef7508 100644 --- a/src/AppBundle/DataFixtures/ORM/PostFixtures.php +++ b/src/DataFixtures/ORM/PostFixtures.php @@ -9,11 +9,11 @@ * file that was distributed with this source code. */ -namespace AppBundle\DataFixtures\ORM; +namespace App\DataFixtures\ORM; -use AppBundle\DataFixtures\FixturesTrait; -use AppBundle\Entity\Comment; -use AppBundle\Entity\Post; +use App\DataFixtures\FixturesTrait; +use App\Entity\Comment; +use App\Entity\Post; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\DataFixtures\DependentFixtureInterface; use Doctrine\Common\Persistence\ObjectManager; diff --git a/src/AppBundle/DataFixtures/ORM/TagFixtures.php b/src/DataFixtures/ORM/TagFixtures.php similarity index 91% rename from src/AppBundle/DataFixtures/ORM/TagFixtures.php rename to src/DataFixtures/ORM/TagFixtures.php index 877bb58ad..4b600d56e 100644 --- a/src/AppBundle/DataFixtures/ORM/TagFixtures.php +++ b/src/DataFixtures/ORM/TagFixtures.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\DataFixtures\ORM; +namespace App\DataFixtures\ORM; -use AppBundle\DataFixtures\FixturesTrait; -use AppBundle\Entity\Tag; +use App\DataFixtures\FixturesTrait; +use App\Entity\Tag; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\Persistence\ObjectManager; diff --git a/src/AppBundle/DataFixtures/ORM/UserFixtures.php b/src/DataFixtures/ORM/UserFixtures.php similarity index 97% rename from src/AppBundle/DataFixtures/ORM/UserFixtures.php rename to src/DataFixtures/ORM/UserFixtures.php index 139ceecb1..c4cedeca5 100644 --- a/src/AppBundle/DataFixtures/ORM/UserFixtures.php +++ b/src/DataFixtures/ORM/UserFixtures.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\DataFixtures\ORM; +namespace App\DataFixtures\ORM; -use AppBundle\Entity\User; +use App\Entity\User; use Doctrine\Common\DataFixtures\AbstractFixture; use Doctrine\Common\Persistence\ObjectManager; use Symfony\Component\DependencyInjection\ContainerAwareInterface; diff --git a/src/AppBundle/Entity/Comment.php b/src/Entity/Comment.php similarity index 97% rename from src/AppBundle/Entity/Comment.php rename to src/Entity/Comment.php index 3f9d95551..8bcdc5964 100644 --- a/src/AppBundle/Entity/Comment.php +++ b/src/Entity/Comment.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Entity; +namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; @@ -71,7 +71,7 @@ class Comment /** * @var User * - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\User") + * @ORM\ManyToOne(targetEntity="App\Entity\User") * @ORM\JoinColumn(nullable=false) */ private $author; diff --git a/src/AppBundle/Entity/Post.php b/src/Entity/Post.php similarity index 95% rename from src/AppBundle/Entity/Post.php rename to src/Entity/Post.php index 94b32a20a..7d86913fd 100644 --- a/src/AppBundle/Entity/Post.php +++ b/src/Entity/Post.php @@ -9,14 +9,14 @@ * file that was distributed with this source code. */ -namespace AppBundle\Entity; +namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** - * @ORM\Entity(repositoryClass="AppBundle\Repository\PostRepository") + * @ORM\Entity(repositoryClass="App\Repository\PostRepository") * @ORM\Table(name="symfony_demo_post") * * Defines the properties of the Post entity to represent the blog posts. @@ -92,7 +92,7 @@ class Post /** * @var User * - * @ORM\ManyToOne(targetEntity="AppBundle\Entity\User") + * @ORM\ManyToOne(targetEntity="App\Entity\User") * @ORM\JoinColumn(nullable=false) */ private $author; @@ -112,7 +112,7 @@ class Post /** * @var Tag[]|ArrayCollection * - * @ORM\ManyToMany(targetEntity="AppBundle\Entity\Tag", cascade={"persist"}) + * @ORM\ManyToMany(targetEntity="App\Entity\Tag", cascade={"persist"}) * @ORM\JoinTable(name="symfony_demo_post_tag") * @ORM\OrderBy({"name": "ASC"}) * @Assert\Count(max="4", maxMessage="post.too_many_tags") diff --git a/src/AppBundle/Entity/Tag.php b/src/Entity/Tag.php similarity index 98% rename from src/AppBundle/Entity/Tag.php rename to src/Entity/Tag.php index 91dcb6cdd..7c7d09b66 100644 --- a/src/AppBundle/Entity/Tag.php +++ b/src/Entity/Tag.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Entity; +namespace App\Entity; use Doctrine\ORM\Mapping as ORM; diff --git a/src/AppBundle/Entity/User.php b/src/Entity/User.php similarity index 97% rename from src/AppBundle/Entity/User.php rename to src/Entity/User.php index 1df7c3c54..6a8906245 100644 --- a/src/AppBundle/Entity/User.php +++ b/src/Entity/User.php @@ -9,13 +9,13 @@ * file that was distributed with this source code. */ -namespace AppBundle\Entity; +namespace App\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface; /** - * @ORM\Entity(repositoryClass="AppBundle\Repository\UserRepository") + * @ORM\Entity(repositoryClass="App\Repository\UserRepository") * @ORM\Table(name="symfony_demo_user") * * Defines the properties of the User entity to represent the application users. diff --git a/src/AppBundle/EventListener/CheckRequirementsSubscriber.php b/src/EventSubscriber/CheckRequirementsSubscriber.php similarity index 99% rename from src/AppBundle/EventListener/CheckRequirementsSubscriber.php rename to src/EventSubscriber/CheckRequirementsSubscriber.php index c13f6e97e..2078b5a2b 100644 --- a/src/AppBundle/EventListener/CheckRequirementsSubscriber.php +++ b/src/EventSubscriber/CheckRequirementsSubscriber.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\EventListener; +namespace App\EventSubscriber; use Doctrine\DBAL\Exception\DriverException; use Doctrine\ORM\EntityManagerInterface; diff --git a/src/AppBundle/EventListener/CommentNotificationSubscriber.php b/src/EventSubscriber/CommentNotificationSubscriber.php similarity index 95% rename from src/AppBundle/EventListener/CommentNotificationSubscriber.php rename to src/EventSubscriber/CommentNotificationSubscriber.php index 8ae7de977..1e54dc5e3 100644 --- a/src/AppBundle/EventListener/CommentNotificationSubscriber.php +++ b/src/EventSubscriber/CommentNotificationSubscriber.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\EventListener; +namespace App\EventSubscriber; -use AppBundle\Entity\Comment; -use AppBundle\Events; +use App\Entity\Comment; +use App\Events; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; @@ -91,7 +91,7 @@ public function onCommentCreated(GenericEvent $event) // Symfony uses a library called SwiftMailer to send emails. That's why // email messages are created instantiating a Swift_Message class. // See https://symfony.com/doc/current/email.html#sending-emails - $message = \Swift_Message::newInstance() + $message = (new \Swift_Message()) ->setSubject($subject) ->setTo($post->getAuthor()->getEmail()) ->setFrom($this->sender) diff --git a/src/CodeExplorerBundle/EventListener/ControllerListener.php b/src/EventSubscriber/ControllerSubscriber.php similarity index 88% rename from src/CodeExplorerBundle/EventListener/ControllerListener.php rename to src/EventSubscriber/ControllerSubscriber.php index 978aab8e5..9a5bf7eb5 100644 --- a/src/CodeExplorerBundle/EventListener/ControllerListener.php +++ b/src/EventSubscriber/ControllerSubscriber.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace CodeExplorerBundle\EventListener; +namespace App\EventSubscriber; -use CodeExplorerBundle\Twig\SourceCodeExtension; +use App\Twig\SourceCodeExtension; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\FilterControllerEvent; use Symfony\Component\HttpKernel\KernelEvents; @@ -23,7 +23,7 @@ * @author Ryan Weaver * @author Javier Eguiluz */ -class ControllerListener implements EventSubscriberInterface +class ControllerSubscriber implements EventSubscriberInterface { private $twigExtension; @@ -32,6 +32,13 @@ public function __construct(SourceCodeExtension $twigExtension) $this->twigExtension = $twigExtension; } + public static function getSubscribedEvents() + { + return [ + KernelEvents::CONTROLLER => 'registerCurrentController', + ]; + } + public function registerCurrentController(FilterControllerEvent $event) { // this check is needed because in Symfony a request can perform any @@ -41,14 +48,4 @@ public function registerCurrentController(FilterControllerEvent $event) $this->twigExtension->setController($event->getController()); } } - - /** - * {@inheritdoc} - */ - public static function getSubscribedEvents() - { - return [ - KernelEvents::CONTROLLER => 'registerCurrentController', - ]; - } } diff --git a/src/AppBundle/EventListener/RedirectToPreferredLocaleSubscriber.php b/src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php similarity index 99% rename from src/AppBundle/EventListener/RedirectToPreferredLocaleSubscriber.php rename to src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php index 2d95dc25e..9ece99b6f 100644 --- a/src/AppBundle/EventListener/RedirectToPreferredLocaleSubscriber.php +++ b/src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\EventListener; +namespace App\EventSubscriber; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\RedirectResponse; diff --git a/src/AppBundle/Events.php b/src/Events.php similarity index 97% rename from src/AppBundle/Events.php rename to src/Events.php index 24453f9af..351ceeeb8 100644 --- a/src/AppBundle/Events.php +++ b/src/Events.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle; +namespace App; /** * This class defines the names of all the events dispatched in diff --git a/src/AppBundle/Form/CommentType.php b/src/Form/CommentType.php similarity index 96% rename from src/AppBundle/Form/CommentType.php rename to src/Form/CommentType.php index fbbeb3b2e..19626fe8a 100644 --- a/src/AppBundle/Form/CommentType.php +++ b/src/Form/CommentType.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Form; +namespace App\Form; -use AppBundle\Entity\Comment; +use App\Entity\Comment; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; diff --git a/src/AppBundle/Form/DataTransformer/TagArrayToStringTransformer.php b/src/Form/DataTransformer/TagArrayToStringTransformer.php similarity index 95% rename from src/AppBundle/Form/DataTransformer/TagArrayToStringTransformer.php rename to src/Form/DataTransformer/TagArrayToStringTransformer.php index 5a4add9f1..26d4cdad7 100644 --- a/src/AppBundle/Form/DataTransformer/TagArrayToStringTransformer.php +++ b/src/Form/DataTransformer/TagArrayToStringTransformer.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Form\DataTransformer; +namespace App\Form\DataTransformer; -use AppBundle\Entity\Tag; +use App\Entity\Tag; use Doctrine\Common\Persistence\ObjectManager; use Symfony\Component\Form\DataTransformerInterface; @@ -68,7 +68,7 @@ public function reverseTransform($string) $tags[] = $tag; // There's no need to persist these new tags because Doctrine does that automatically - // thanks to the cascade={"persist"} option in the AppBundle\Entity\Post::$tags property. + // thanks to the cascade={"persist"} option in the App\Entity\Post::$tags property. } // Return an array of tags to transform them back into a Doctrine Collection. diff --git a/src/AppBundle/Form/PostType.php b/src/Form/PostType.php similarity index 94% rename from src/AppBundle/Form/PostType.php rename to src/Form/PostType.php index 5af2f5f5a..c15e237f3 100644 --- a/src/AppBundle/Form/PostType.php +++ b/src/Form/PostType.php @@ -9,11 +9,11 @@ * file that was distributed with this source code. */ -namespace AppBundle\Form; +namespace App\Form; -use AppBundle\Entity\Post; -use AppBundle\Form\Type\DateTimePickerType; -use AppBundle\Form\Type\TagsInputType; +use App\Entity\Post; +use App\Form\Type\DateTimePickerType; +use App\Form\Type\TagsInputType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/AppBundle/Form/Type/DateTimePickerType.php b/src/Form/Type/DateTimePickerType.php similarity index 95% rename from src/AppBundle/Form/Type/DateTimePickerType.php rename to src/Form/Type/DateTimePickerType.php index 1c370b40c..dea737747 100644 --- a/src/AppBundle/Form/Type/DateTimePickerType.php +++ b/src/Form/Type/DateTimePickerType.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Form\Type; +namespace App\Form\Type; -use AppBundle\Utils\MomentFormatConverter; +use App\Utils\MomentFormatConverter; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\DateTimeType; use Symfony\Component\Form\FormInterface; diff --git a/src/AppBundle/Form/Type/TagsInputType.php b/src/Form/Type/TagsInputType.php similarity index 94% rename from src/AppBundle/Form/Type/TagsInputType.php rename to src/Form/Type/TagsInputType.php index 1090cce01..563d83da5 100644 --- a/src/AppBundle/Form/Type/TagsInputType.php +++ b/src/Form/Type/TagsInputType.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\Form\Type; +namespace App\Form\Type; -use AppBundle\Entity\Tag; -use AppBundle\Form\DataTransformer\TagArrayToStringTransformer; +use App\Entity\Tag; +use App\Form\DataTransformer\TagArrayToStringTransformer; use Doctrine\Common\Persistence\ObjectManager; use Symfony\Bridge\Doctrine\Form\DataTransformer\CollectionToArrayTransformer; use Symfony\Component\Form\AbstractType; diff --git a/src/Kernel.php b/src/Kernel.php new file mode 100644 index 000000000..03572cebd --- /dev/null +++ b/src/Kernel.php @@ -0,0 +1,70 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace App; + +use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; +use Symfony\Component\Config\Loader\LoaderInterface; +use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\HttpKernel\Kernel as BaseKernel; +use Symfony\Component\Routing\RouteCollectionBuilder; + +/** + * @author Fabien Potencier + */ +final class Kernel extends BaseKernel +{ + use MicroKernelTrait; + + private const CONFIG_EXTS = '.{php,xml,yaml,yml}'; + + public function getCacheDir(): string + { + return dirname(__DIR__).'/var/cache/'.$this->environment; + } + + public function getLogDir(): string + { + return dirname(__DIR__).'/var/logs'; + } + + public function registerBundles(): iterable + { + $contents = require dirname(__DIR__).'/config/bundles.php'; + foreach ($contents as $class => $envs) { + if (isset($envs['all']) || isset($envs[$this->environment])) { + yield new $class(); + } + } + } + + protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void + { + $confDir = dirname(__DIR__).'/config'; + $loader->load($confDir.'/packages/*'.self::CONFIG_EXTS, 'glob'); + if (is_dir($confDir.'/packages/'.$this->environment)) { + $loader->load($confDir.'/packages/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob'); + } + $loader->load($confDir.'/services'.self::CONFIG_EXTS, 'glob'); + } + + protected function configureRoutes(RouteCollectionBuilder $routes): void + { + $confDir = dirname(__DIR__).'/config'; + if (is_dir($confDir.'/routes/')) { + $routes->import($confDir.'/routes/*'.self::CONFIG_EXTS, '/', 'glob'); + } + if (is_dir($confDir.'/routes/'.$this->environment)) { + $routes->import($confDir.'/routes/'.$this->environment.'/**/*'.self::CONFIG_EXTS, '/', 'glob'); + } + $routes->import($confDir.'/routes'.self::CONFIG_EXTS, '/', 'glob'); + } +} diff --git a/src/AppBundle/Repository/PostRepository.php b/src/Repository/PostRepository.php similarity index 97% rename from src/AppBundle/Repository/PostRepository.php rename to src/Repository/PostRepository.php index c298c93f7..3320f91cc 100644 --- a/src/AppBundle/Repository/PostRepository.php +++ b/src/Repository/PostRepository.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Repository; +namespace App\Repository; -use AppBundle\Entity\Post; +use App\Entity\Post; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Query; use Pagerfanta\Adapter\DoctrineORMAdapter; @@ -39,7 +39,7 @@ public function findLatest($page = 1) $query = $this->getEntityManager() ->createQuery(' SELECT p, a, t - FROM AppBundle:Post p + FROM App:Post p JOIN p.author a LEFT JOIN p.tags t WHERE p.publishedAt <= :now diff --git a/src/AppBundle/Repository/UserRepository.php b/src/Repository/UserRepository.php similarity index 96% rename from src/AppBundle/Repository/UserRepository.php rename to src/Repository/UserRepository.php index 68fd4381f..cef9d2419 100644 --- a/src/AppBundle/Repository/UserRepository.php +++ b/src/Repository/UserRepository.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Repository; +namespace App\Repository; use Doctrine\ORM\EntityRepository; diff --git a/app/Resources/TwigBundle/views/Exception/error.html.twig b/src/Resources/TwigBundle/views/Exception/error.html.twig similarity index 100% rename from app/Resources/TwigBundle/views/Exception/error.html.twig rename to src/Resources/TwigBundle/views/Exception/error.html.twig diff --git a/app/Resources/TwigBundle/views/Exception/error403.html.twig b/src/Resources/TwigBundle/views/Exception/error403.html.twig similarity index 100% rename from app/Resources/TwigBundle/views/Exception/error403.html.twig rename to src/Resources/TwigBundle/views/Exception/error403.html.twig diff --git a/app/Resources/TwigBundle/views/Exception/error404.html.twig b/src/Resources/TwigBundle/views/Exception/error404.html.twig similarity index 100% rename from app/Resources/TwigBundle/views/Exception/error404.html.twig rename to src/Resources/TwigBundle/views/Exception/error404.html.twig diff --git a/app/Resources/TwigBundle/views/Exception/error500.html.twig b/src/Resources/TwigBundle/views/Exception/error500.html.twig similarity index 100% rename from app/Resources/TwigBundle/views/Exception/error500.html.twig rename to src/Resources/TwigBundle/views/Exception/error500.html.twig diff --git a/src/AppBundle/Security/PostVoter.php b/src/Security/PostVoter.php similarity index 95% rename from src/AppBundle/Security/PostVoter.php rename to src/Security/PostVoter.php index 1601923e1..efda06a0f 100644 --- a/src/AppBundle/Security/PostVoter.php +++ b/src/Security/PostVoter.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace AppBundle\Security; +namespace App\Security; -use AppBundle\Entity\Post; -use AppBundle\Entity\User; +use App\Entity\Post; +use App\Entity\User; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; use Symfony\Component\Security\Core\Authorization\Voter\Voter; diff --git a/src/AppBundle/Twig/AppExtension.php b/src/Twig/AppExtension.php similarity index 97% rename from src/AppBundle/Twig/AppExtension.php rename to src/Twig/AppExtension.php index 5a7939d64..ee5ab7604 100644 --- a/src/AppBundle/Twig/AppExtension.php +++ b/src/Twig/AppExtension.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace AppBundle\Twig; +namespace App\Twig; -use AppBundle\Utils\Markdown; +use App\Utils\Markdown; use Symfony\Component\Intl\Intl; /** diff --git a/src/CodeExplorerBundle/Twig/SourceCodeExtension.php b/src/Twig/SourceCodeExtension.php similarity index 95% rename from src/CodeExplorerBundle/Twig/SourceCodeExtension.php rename to src/Twig/SourceCodeExtension.php index 5a8f66785..324150ce9 100644 --- a/src/CodeExplorerBundle/Twig/SourceCodeExtension.php +++ b/src/Twig/SourceCodeExtension.php @@ -9,13 +9,13 @@ * file that was distributed with this source code. */ -namespace CodeExplorerBundle\Twig; +namespace App\Twig; /** * CAUTION: this is an extremely advanced Twig extension. It's used to get the * source code of the controller and the template used to render the current * page. If you are starting with Symfony, don't look at this code and consider - * studying instead the code of the src/AppBundle/Twig/AppExtension.php extension. + * studying instead the code of the src/App/Twig/AppExtension.php extension. * * @author Ryan Weaver * @author Javier Eguiluz @@ -41,7 +41,7 @@ public function getFunctions() public function showSourceCode(\Twig_Environment $twig, $template) { - return $twig->render('@CodeExplorer/source_code.html.twig', [ + return $twig->render('debug/source_code.html.twig', [ 'controller' => $this->getController(), 'template' => $this->getTemplateSource($twig->resolveTemplate($template)), ]); diff --git a/src/AppBundle/Utils/Markdown.php b/src/Utils/Markdown.php similarity index 97% rename from src/AppBundle/Utils/Markdown.php rename to src/Utils/Markdown.php index 3f68b66b9..c274a9eae 100644 --- a/src/AppBundle/Utils/Markdown.php +++ b/src/Utils/Markdown.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Utils; +namespace App\Utils; /** * This class is a light interface between an external Markdown parser library diff --git a/src/AppBundle/Utils/MomentFormatConverter.php b/src/Utils/MomentFormatConverter.php similarity index 97% rename from src/AppBundle/Utils/MomentFormatConverter.php rename to src/Utils/MomentFormatConverter.php index 2d7e58107..221c0a98d 100644 --- a/src/AppBundle/Utils/MomentFormatConverter.php +++ b/src/Utils/MomentFormatConverter.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Utils; +namespace App\Utils; /** * This class is used to convert PHP date format to moment.js format. diff --git a/src/AppBundle/Utils/Slugger.php b/src/Utils/Slugger.php similarity index 96% rename from src/AppBundle/Utils/Slugger.php rename to src/Utils/Slugger.php index 60fbfcc51..711cd221f 100644 --- a/src/AppBundle/Utils/Slugger.php +++ b/src/Utils/Slugger.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Utils; +namespace App\Utils; /** * This class is used to provide an example of integrating simple classes as diff --git a/src/AppBundle/Utils/Validator.php b/src/Utils/Validator.php similarity index 98% rename from src/AppBundle/Utils/Validator.php rename to src/Utils/Validator.php index 770117b10..1c0840a70 100644 --- a/src/AppBundle/Utils/Validator.php +++ b/src/Utils/Validator.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace AppBundle\Utils; +namespace App\Utils; class Validator { diff --git a/app/Resources/views/admin/blog/_delete_form.html.twig b/templates/admin/blog/_delete_form.html.twig similarity index 100% rename from app/Resources/views/admin/blog/_delete_form.html.twig rename to templates/admin/blog/_delete_form.html.twig diff --git a/app/Resources/views/admin/blog/_form.html.twig b/templates/admin/blog/_form.html.twig similarity index 100% rename from app/Resources/views/admin/blog/_form.html.twig rename to templates/admin/blog/_form.html.twig diff --git a/app/Resources/views/admin/blog/edit.html.twig b/templates/admin/blog/edit.html.twig similarity index 100% rename from app/Resources/views/admin/blog/edit.html.twig rename to templates/admin/blog/edit.html.twig diff --git a/app/Resources/views/admin/blog/index.html.twig b/templates/admin/blog/index.html.twig similarity index 100% rename from app/Resources/views/admin/blog/index.html.twig rename to templates/admin/blog/index.html.twig diff --git a/app/Resources/views/admin/blog/new.html.twig b/templates/admin/blog/new.html.twig similarity index 100% rename from app/Resources/views/admin/blog/new.html.twig rename to templates/admin/blog/new.html.twig diff --git a/app/Resources/views/admin/blog/show.html.twig b/templates/admin/blog/show.html.twig similarity index 100% rename from app/Resources/views/admin/blog/show.html.twig rename to templates/admin/blog/show.html.twig diff --git a/app/Resources/views/admin/layout.html.twig b/templates/admin/layout.html.twig similarity index 100% rename from app/Resources/views/admin/layout.html.twig rename to templates/admin/layout.html.twig diff --git a/app/Resources/views/base.html.twig b/templates/base.html.twig similarity index 100% rename from app/Resources/views/base.html.twig rename to templates/base.html.twig diff --git a/app/Resources/views/blog/_comment_form.html.twig b/templates/blog/_comment_form.html.twig similarity index 100% rename from app/Resources/views/blog/_comment_form.html.twig rename to templates/blog/_comment_form.html.twig diff --git a/app/Resources/views/blog/_delete_post_confirmation.html.twig b/templates/blog/_delete_post_confirmation.html.twig similarity index 100% rename from app/Resources/views/blog/_delete_post_confirmation.html.twig rename to templates/blog/_delete_post_confirmation.html.twig diff --git a/app/Resources/views/blog/_post_tags.html.twig b/templates/blog/_post_tags.html.twig similarity index 100% rename from app/Resources/views/blog/_post_tags.html.twig rename to templates/blog/_post_tags.html.twig diff --git a/app/Resources/views/blog/_rss.html.twig b/templates/blog/_rss.html.twig similarity index 100% rename from app/Resources/views/blog/_rss.html.twig rename to templates/blog/_rss.html.twig diff --git a/app/Resources/views/blog/about.html.twig b/templates/blog/about.html.twig similarity index 100% rename from app/Resources/views/blog/about.html.twig rename to templates/blog/about.html.twig diff --git a/app/Resources/views/blog/comment_form_error.html.twig b/templates/blog/comment_form_error.html.twig similarity index 100% rename from app/Resources/views/blog/comment_form_error.html.twig rename to templates/blog/comment_form_error.html.twig diff --git a/app/Resources/views/blog/index.html.twig b/templates/blog/index.html.twig similarity index 100% rename from app/Resources/views/blog/index.html.twig rename to templates/blog/index.html.twig diff --git a/app/Resources/views/blog/index.xml.twig b/templates/blog/index.xml.twig similarity index 100% rename from app/Resources/views/blog/index.xml.twig rename to templates/blog/index.xml.twig diff --git a/app/Resources/views/blog/post_show.html.twig b/templates/blog/post_show.html.twig similarity index 96% rename from app/Resources/views/blog/post_show.html.twig rename to templates/blog/post_show.html.twig index b8019eaca..aae71c089 100644 --- a/app/Resources/views/blog/post_show.html.twig +++ b/templates/blog/post_show.html.twig @@ -22,7 +22,7 @@ See https://symfony.com/doc/current/cookbook/security/remember_me.html#forcing-the-user-to-re-authenticate-before-accessing-certain-resources #} {% if is_granted('IS_AUTHENTICATED_FULLY') %} - {{ render(controller('AppBundle:Blog:commentForm', {'id': post.id})) }} + {{ render(controller('App\\Controller\\BlogController:commentFormAction', {'id': post.id})) }} {% else %}

diff --git a/app/Resources/views/blog/search.html.twig b/templates/blog/search.html.twig similarity index 100% rename from app/Resources/views/blog/search.html.twig rename to templates/blog/search.html.twig diff --git a/src/CodeExplorerBundle/Resources/views/source_code.html.twig b/templates/debug/source_code.html.twig similarity index 100% rename from src/CodeExplorerBundle/Resources/views/source_code.html.twig rename to templates/debug/source_code.html.twig diff --git a/app/Resources/views/default/_flash_messages.html.twig b/templates/default/_flash_messages.html.twig similarity index 100% rename from app/Resources/views/default/_flash_messages.html.twig rename to templates/default/_flash_messages.html.twig diff --git a/app/Resources/views/default/homepage.html.twig b/templates/default/homepage.html.twig similarity index 100% rename from app/Resources/views/default/homepage.html.twig rename to templates/default/homepage.html.twig diff --git a/app/Resources/views/form/fields.html.twig b/templates/form/fields.html.twig similarity index 100% rename from app/Resources/views/form/fields.html.twig rename to templates/form/fields.html.twig diff --git a/app/Resources/views/form/layout.html.twig b/templates/form/layout.html.twig similarity index 100% rename from app/Resources/views/form/layout.html.twig rename to templates/form/layout.html.twig diff --git a/app/Resources/views/security/login.html.twig b/templates/security/login.html.twig similarity index 100% rename from app/Resources/views/security/login.html.twig rename to templates/security/login.html.twig diff --git a/tests/AppBundle/Command/AddUserCommandTest.php b/tests/App/Command/AddUserCommandTest.php similarity index 97% rename from tests/AppBundle/Command/AddUserCommandTest.php rename to tests/App/Command/AddUserCommandTest.php index d372e60ea..c1c2828df 100644 --- a/tests/AppBundle/Command/AddUserCommandTest.php +++ b/tests/App/Command/AddUserCommandTest.php @@ -9,11 +9,11 @@ * file that was distributed with this source code. */ -namespace Tests\Command; +namespace App\Tests\Command; -use AppBundle\Command\AddUserCommand; -use AppBundle\Entity\User; -use AppBundle\Utils\Validator; +use App\Command\AddUserCommand; +use App\Entity\User; +use App\Utils\Validator; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Component\Console\Tester\CommandTester; diff --git a/tests/AppBundle/Controller/Admin/BlogControllerTest.php b/tests/App/Controller/Admin/BlogControllerTest.php similarity index 98% rename from tests/AppBundle/Controller/Admin/BlogControllerTest.php rename to tests/App/Controller/Admin/BlogControllerTest.php index 4fd652523..7dee0bbae 100644 --- a/tests/AppBundle/Controller/Admin/BlogControllerTest.php +++ b/tests/App/Controller/Admin/BlogControllerTest.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Controller\Admin; +namespace App\Tests\Controller\Admin; -use AppBundle\DataFixtures\FixturesTrait; -use AppBundle\Entity\Post; +use App\DataFixtures\FixturesTrait; +use App\Entity\Post; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/AppBundle/Controller/BlogControllerTest.php b/tests/App/Controller/BlogControllerTest.php similarity index 97% rename from tests/AppBundle/Controller/BlogControllerTest.php rename to tests/App/Controller/BlogControllerTest.php index 79eb7d1c2..822cd4341 100644 --- a/tests/AppBundle/Controller/BlogControllerTest.php +++ b/tests/App/Controller/BlogControllerTest.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Controller; +namespace App\Tests\Controller; -use AppBundle\Entity\Post; +use App\Entity\Post; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; /** diff --git a/tests/AppBundle/Controller/DefaultControllerTest.php b/tests/App/Controller/DefaultControllerTest.php similarity index 98% rename from tests/AppBundle/Controller/DefaultControllerTest.php rename to tests/App/Controller/DefaultControllerTest.php index ad9380db0..5d38572cc 100644 --- a/tests/AppBundle/Controller/DefaultControllerTest.php +++ b/tests/App/Controller/DefaultControllerTest.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Controller; +namespace App\Tests\Controller; -use AppBundle\Entity\Post; +use App\Entity\Post; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/AppBundle/Form/DataTransformer/TagArrayToStringTransformerTest.php b/tests/App/Form/DataTransformer/TagArrayToStringTransformerTest.php similarity index 96% rename from tests/AppBundle/Form/DataTransformer/TagArrayToStringTransformerTest.php rename to tests/App/Form/DataTransformer/TagArrayToStringTransformerTest.php index 12fe07234..bf048f9e3 100644 --- a/tests/AppBundle/Form/DataTransformer/TagArrayToStringTransformerTest.php +++ b/tests/App/Form/DataTransformer/TagArrayToStringTransformerTest.php @@ -9,10 +9,10 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Form\DataTransformer; +namespace App\Tests\Form\DataTransformer; -use AppBundle\Entity\Tag; -use AppBundle\Form\DataTransformer\TagArrayToStringTransformer; +use App\Entity\Tag; +use App\Form\DataTransformer\TagArrayToStringTransformer; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\ORM\EntityRepository; diff --git a/tests/AppBundle/Utils/SluggerTest.php b/tests/App/Utils/SluggerTest.php similarity index 95% rename from tests/AppBundle/Utils/SluggerTest.php rename to tests/App/Utils/SluggerTest.php index 21b199a0c..de95ba027 100644 --- a/tests/AppBundle/Utils/SluggerTest.php +++ b/tests/App/Utils/SluggerTest.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Utils; +namespace App\Tests\Utils; -use AppBundle\Utils\Slugger; +use App\Utils\Slugger; /** * Unit test for the application utils. diff --git a/tests/AppBundle/Utils/ValidatorTest.php b/tests/App/Utils/ValidatorTest.php similarity index 97% rename from tests/AppBundle/Utils/ValidatorTest.php rename to tests/App/Utils/ValidatorTest.php index 0da2315ea..7dadc2ac4 100644 --- a/tests/AppBundle/Utils/ValidatorTest.php +++ b/tests/App/Utils/ValidatorTest.php @@ -9,9 +9,9 @@ * file that was distributed with this source code. */ -namespace Tests\AppBundle\Utils; +namespace App\Tests\Utils; -use AppBundle\Utils\Validator; +use App\Utils\Validator; class ValidatorTest extends \PHPUnit_Framework_TestCase { diff --git a/app/Resources/translations/messages.ca.xlf b/translations/messages.ca.xlf similarity index 100% rename from app/Resources/translations/messages.ca.xlf rename to translations/messages.ca.xlf diff --git a/app/Resources/translations/messages.cs.xlf b/translations/messages.cs.xlf similarity index 100% rename from app/Resources/translations/messages.cs.xlf rename to translations/messages.cs.xlf diff --git a/app/Resources/translations/messages.de.xlf b/translations/messages.de.xlf similarity index 100% rename from app/Resources/translations/messages.de.xlf rename to translations/messages.de.xlf diff --git a/app/Resources/translations/messages.en.xlf b/translations/messages.en.xlf similarity index 100% rename from app/Resources/translations/messages.en.xlf rename to translations/messages.en.xlf diff --git a/app/Resources/translations/messages.es.xlf b/translations/messages.es.xlf similarity index 100% rename from app/Resources/translations/messages.es.xlf rename to translations/messages.es.xlf diff --git a/app/Resources/translations/messages.fr.xlf b/translations/messages.fr.xlf similarity index 100% rename from app/Resources/translations/messages.fr.xlf rename to translations/messages.fr.xlf diff --git a/app/Resources/translations/messages.hr.xlf b/translations/messages.hr.xlf similarity index 100% rename from app/Resources/translations/messages.hr.xlf rename to translations/messages.hr.xlf diff --git a/app/Resources/translations/messages.id.xlf b/translations/messages.id.xlf similarity index 100% rename from app/Resources/translations/messages.id.xlf rename to translations/messages.id.xlf diff --git a/app/Resources/translations/messages.it.xlf b/translations/messages.it.xlf similarity index 100% rename from app/Resources/translations/messages.it.xlf rename to translations/messages.it.xlf diff --git a/app/Resources/translations/messages.ja.xlf b/translations/messages.ja.xlf similarity index 100% rename from app/Resources/translations/messages.ja.xlf rename to translations/messages.ja.xlf diff --git a/app/Resources/translations/messages.nl.xlf b/translations/messages.nl.xlf similarity index 100% rename from app/Resources/translations/messages.nl.xlf rename to translations/messages.nl.xlf diff --git a/app/Resources/translations/messages.pl.xlf b/translations/messages.pl.xlf similarity index 100% rename from app/Resources/translations/messages.pl.xlf rename to translations/messages.pl.xlf diff --git a/app/Resources/translations/messages.pt_BR.xlf b/translations/messages.pt_BR.xlf similarity index 100% rename from app/Resources/translations/messages.pt_BR.xlf rename to translations/messages.pt_BR.xlf diff --git a/app/Resources/translations/messages.ro.xlf b/translations/messages.ro.xlf similarity index 100% rename from app/Resources/translations/messages.ro.xlf rename to translations/messages.ro.xlf diff --git a/app/Resources/translations/messages.ru.xlf b/translations/messages.ru.xlf similarity index 100% rename from app/Resources/translations/messages.ru.xlf rename to translations/messages.ru.xlf diff --git a/app/Resources/translations/messages.sl.xlf b/translations/messages.sl.xlf similarity index 100% rename from app/Resources/translations/messages.sl.xlf rename to translations/messages.sl.xlf diff --git a/app/Resources/translations/messages.uk.xlf b/translations/messages.uk.xlf similarity index 100% rename from app/Resources/translations/messages.uk.xlf rename to translations/messages.uk.xlf diff --git a/app/Resources/translations/messages.zh_CN.xlf b/translations/messages.zh_CN.xlf similarity index 100% rename from app/Resources/translations/messages.zh_CN.xlf rename to translations/messages.zh_CN.xlf diff --git a/app/Resources/translations/validators.ca.xlf b/translations/validators.ca.xlf similarity index 100% rename from app/Resources/translations/validators.ca.xlf rename to translations/validators.ca.xlf diff --git a/app/Resources/translations/validators.cs.xlf b/translations/validators.cs.xlf similarity index 100% rename from app/Resources/translations/validators.cs.xlf rename to translations/validators.cs.xlf diff --git a/app/Resources/translations/validators.de.xlf b/translations/validators.de.xlf similarity index 100% rename from app/Resources/translations/validators.de.xlf rename to translations/validators.de.xlf diff --git a/app/Resources/translations/validators.en.xlf b/translations/validators.en.xlf similarity index 100% rename from app/Resources/translations/validators.en.xlf rename to translations/validators.en.xlf diff --git a/app/Resources/translations/validators.es.xlf b/translations/validators.es.xlf similarity index 100% rename from app/Resources/translations/validators.es.xlf rename to translations/validators.es.xlf diff --git a/app/Resources/translations/validators.fr.xlf b/translations/validators.fr.xlf similarity index 100% rename from app/Resources/translations/validators.fr.xlf rename to translations/validators.fr.xlf diff --git a/app/Resources/translations/validators.hr.xlf b/translations/validators.hr.xlf similarity index 100% rename from app/Resources/translations/validators.hr.xlf rename to translations/validators.hr.xlf diff --git a/app/Resources/translations/validators.id.xlf b/translations/validators.id.xlf similarity index 100% rename from app/Resources/translations/validators.id.xlf rename to translations/validators.id.xlf diff --git a/app/Resources/translations/validators.it.xlf b/translations/validators.it.xlf similarity index 100% rename from app/Resources/translations/validators.it.xlf rename to translations/validators.it.xlf diff --git a/app/Resources/translations/validators.ja.xlf b/translations/validators.ja.xlf similarity index 100% rename from app/Resources/translations/validators.ja.xlf rename to translations/validators.ja.xlf diff --git a/app/Resources/translations/validators.nl.xlf b/translations/validators.nl.xlf similarity index 100% rename from app/Resources/translations/validators.nl.xlf rename to translations/validators.nl.xlf diff --git a/app/Resources/translations/validators.pl.xlf b/translations/validators.pl.xlf similarity index 100% rename from app/Resources/translations/validators.pl.xlf rename to translations/validators.pl.xlf diff --git a/app/Resources/translations/validators.pt_BR.xlf b/translations/validators.pt_BR.xlf similarity index 100% rename from app/Resources/translations/validators.pt_BR.xlf rename to translations/validators.pt_BR.xlf diff --git a/app/Resources/translations/validators.ro.xlf b/translations/validators.ro.xlf similarity index 100% rename from app/Resources/translations/validators.ro.xlf rename to translations/validators.ro.xlf diff --git a/app/Resources/translations/validators.ru.xlf b/translations/validators.ru.xlf similarity index 100% rename from app/Resources/translations/validators.ru.xlf rename to translations/validators.ru.xlf diff --git a/app/Resources/translations/validators.sl.xlf b/translations/validators.sl.xlf similarity index 100% rename from app/Resources/translations/validators.sl.xlf rename to translations/validators.sl.xlf diff --git a/app/Resources/translations/validators.uk.xlf b/translations/validators.uk.xlf similarity index 100% rename from app/Resources/translations/validators.uk.xlf rename to translations/validators.uk.xlf diff --git a/app/Resources/translations/validators.zh_CN.xlf b/translations/validators.zh_CN.xlf similarity index 100% rename from app/Resources/translations/validators.zh_CN.xlf rename to translations/validators.zh_CN.xlf diff --git a/var/data/blog.sqlite b/var/data/blog.sqlite index 552fa0e92..1bdf92e07 100644 Binary files a/var/data/blog.sqlite and b/var/data/blog.sqlite differ diff --git a/var/data/blog_test.sqlite b/var/data/blog_test.sqlite index 6fc9abdb2..1bdf92e07 100644 Binary files a/var/data/blog_test.sqlite and b/var/data/blog_test.sqlite differ diff --git a/web/.htaccess b/web/.htaccess deleted file mode 100644 index 0c5f37def..000000000 --- a/web/.htaccess +++ /dev/null @@ -1,52 +0,0 @@ -# Use the front controller as index file. It serves as a fallback solution when -# every other rewrite/redirect fails (e.g. in an aliased environment without -# mod_rewrite). Additionally, this reduces the matching process for the -# start page (path "/") because otherwise Apache will apply the rewriting rules -# to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl). -DirectoryIndex app.php - - - RewriteEngine On - - # Determine the RewriteBase automatically and set it as environment variable. - # If you are using Apache aliases to do mass virtual hosting or installed the - # project in a subdirectory, the base path will be prepended to allow proper - # resolution of the app.php file and to redirect to the correct URI. It will - # work in environments without path prefix as well, providing a safe, one-size - # fits all solution. But as you do not need it in this case, you can comment - # the following 2 lines to eliminate the overhead. - RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$ - RewriteRule ^(.*) - [E=BASE:%1] - - # Redirect to URI without front controller to prevent duplicate content - # (with and without `/app.php`). Only do this redirect on the initial - # rewrite by Apache and not on subsequent cycles. Otherwise we would get an - # endless redirect loop (request -> rewrite to front controller -> - # redirect -> request -> ...). - # So in case you get a "too many redirects" error or you always get redirected - # to the start page because your Apache does not expose the REDIRECT_STATUS - # environment variable, you have 2 choices: - # - disable this feature by commenting the following 2 lines or - # - use Apache >= 2.3.9 and replace all L flags by END flags and remove the - # following RewriteCond (best solution) - RewriteCond %{ENV:REDIRECT_STATUS} ^$ - RewriteRule ^app\.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L] - - # If the requested filename exists, simply serve it. - # We only want to let Apache serve files and not directories. - RewriteCond %{REQUEST_FILENAME} -f - RewriteRule .? - [L] - - # Rewrite all other queries to the front controller. - RewriteRule .? %{ENV:BASE}/app.php [L] - - - - - # When mod_rewrite is not available, we instruct a temporary redirect of - # the start page to the front controller explicitly so that the website - # and the generated links can still be used. - RedirectMatch 302 ^/$ /app.php/ - # RedirectTemp cannot be used instead - - diff --git a/web/app.php b/web/app.php deleted file mode 100644 index 8ff32fb42..000000000 --- a/web/app.php +++ /dev/null @@ -1,59 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -// This is the front controller used when executing the application in the -// production environment ('prod'). See: -// * https://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html -// * https://symfony.com/doc/current/cookbook/configuration/environments.html - -use Symfony\Component\HttpFoundation\Request; - -/** - * @var Composer\Autoload\ClassLoader - */ -$loader = require __DIR__.'/../vendor/autoload.php'; -if (PHP_VERSION_ID < 70000) { - include_once __DIR__.'/../var/bootstrap.php.cache'; -} - -// If your web server provides APC support for PHP applications, uncomment these -// lines to use APC for class autoloading. This can improve application performance -// very significantly. See https://symfony.com/doc/current/components/class_loader/cache_class_loader.html#apcclassloader - -// NOTE: The first argument of ApcClassLoader() is the prefix used to prevent -// cache key conflicts. In a real Symfony application, make sure to change -// it to a value that it's unique in the web server. A common practice is to use -// the domain name associated to the Symfony application (e.g. 'example_com'). - -// $apcLoader = new Symfony\Component\ClassLoader\ApcClassLoader(sha1(__FILE__), $loader); -// $loader->unregister(); -// $apcLoader->register(true); - -$kernel = new AppKernel('prod', false); -if (PHP_VERSION_ID < 70000) { - $kernel->loadClassCache(); -} - -// When using the HTTP Cache to improve application performance, the application -// kernel is wrapped by the AppCache class to activate the built-in reverse proxy. -// See https://symfony.com/doc/current/book/http_cache.html#symfony-reverse-proxy -$kernel = new AppCache($kernel); - -// If you use HTTP Cache and your application relies on the _method request parameter -// to get the intended HTTP method, uncomment this line. -// See https://symfony.com/doc/current/reference/configuration/framework.html#http-method-override -Request::enableHttpMethodParameterOverride(); - -$request = Request::createFromGlobals(); -$response = $kernel->handle($request); -$response->send(); - -$kernel->terminate($request, $response); diff --git a/web/app_dev.php b/web/app_dev.php deleted file mode 100644 index a26c0ec4a..000000000 --- a/web/app_dev.php +++ /dev/null @@ -1,47 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -// This is the front controller used when executing the application in the -// development environment ('dev'). See: -// * https://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html -// * https://symfony.com/doc/current/cookbook/configuration/environments.html - -use Symfony\Component\Debug\Debug; -use Symfony\Component\HttpFoundation\Request; - -// If you don't want to setup permissions the proper way, just uncomment the -// following PHP line. See: -// https://symfony.com/doc/current/book/installation.html#configuration-and-setup for more information -//umask(0000); - -// This check prevents access to debug front controllers that are deployed by -// accident to production servers. Feel free to remove this, extend it, or make -// something more sophisticated. -if (isset($_SERVER['HTTP_CLIENT_IP']) - || isset($_SERVER['HTTP_X_FORWARDED_FOR']) - || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1'], true) || PHP_SAPI === 'cli-server') -) { - header('HTTP/1.0 403 Forbidden'); - exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); -} - -/** @var Composer\Autoload\ClassLoader $loader */ -$loader = require __DIR__.'/../vendor/autoload.php'; -Debug::enable(); - -$kernel = new AppKernel('dev', true); -if (PHP_VERSION_ID < 70000) { - $kernel->loadClassCache(); -} -$request = Request::createFromGlobals(); -$response = $kernel->handle($request); -$response->send(); -$kernel->terminate($request, $response); diff --git a/web/config.php b/web/config.php deleted file mode 100644 index fd7e17e6b..000000000 --- a/web/config.php +++ /dev/null @@ -1,422 +0,0 @@ -getFailedRequirements(); -$minorProblems = $symfonyRequirements->getFailedRecommendations(); -$hasMajorProblems = (bool) count($majorProblems); -$hasMinorProblems = (bool) count($minorProblems); - -?> - - - - - - Symfony Configuration Checker - - - -

- -