8000 Update project to Symfony 4 beta4 by javiereguiluz · Pull Request #698 · symfony/demo · GitHub
[go: up one dir, main page]

Skip to content

Update project to Symfony 4 beta4 #698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Update project to Symfony 4 beta4 #698

wants to merge 4 commits into from

Conversation

javiereguiluz
Copy link
Member

Changelog:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 43 updates, 0 removals
  - Updating symfony/flex (v1.0.39 => v1.0.41)
  - Installing ocramius/package-versions (1.1.3)
  - Updating symfony/asset (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/cache (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/expression-language (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/inflector (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/property-access (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/options-resolver (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/intl (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/event-dispatcher (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/form (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/http-foundation (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/debug (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/http-kernel (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/filesystem (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/config (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/dependency-injection (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/monolog-bridge (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/monolog-bundle (v3.1.1 => v3.1.2)
  - Updating symfony/routing (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/finder (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/framework-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/yaml (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/console (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Installing zendframework/zend-eventmanager (3.2.0)
  - Installing zendframework/zend-code (3.3.0)
  - Installing ocramius/proxy-manager (2.1.1)
  - Installing doctrine/migrations (v1.6.0)
  - Updating symfony/doctrine-bridge (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Installing doctrine/doctrine-migrations-bundle (v1.3.1)
  - Updating symfony/security (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/security-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/translation (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/validator (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/stopwatch (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/process (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating friendsofphp/php-cs-fixer (v2.8.0 => v2.8.1)
  - Updating symfony/dom-crawler (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/browser-kit (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/css-selector (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/var-dumper (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/twig-bridge (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/debug-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/dotenv (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/phpunit-bridge (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/web-server-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/twig-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
  - Updating symfony/web-profiler-bundle (v4.0.0-BETA3 => v4.0.0-BETA4)
Writing lock file
Generating autoload files
Symfony operations: 1 recipe (4cbbdec1ecf0bb3138e2dae41ebc487d)
  - Configuring doctrine/doctrine-migrations-bundle (1.2): From github.com/symfony/recipes:master
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class

Anybody knows what's going on with this unexpected output messages?

Installing ocramius/package-versions (1.1.3)

[...]

ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class

@@ -15,4 +15,5 @@
Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
DAMA\DoctrineTestBundle\DAMADoctrineTestBundle::class => ['test' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it be worth add a bundle that we don't use? is there a way to avoid/skip the installation of a transitive package through composer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use it (yet) but I think it's better to be 100% in sync with Symfony recipes.

@yceruto
Copy link
Member
yceruto commented Nov 13, 2017

What about to reflect the latest changes in symfony/symfony#24860 and symfony/recipes#249 in this PR? i.e. move translations/ directory inside config/.

src/Kernel.php Outdated
@@ -45,7 +45,9 @@ public function registerBundles()

protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)
{
$confDir = dirname(__DIR__).'/config';
$container->setParameter('container.autowiring.strict_mode', true);
$container->setParameter('container.dumper.inline_class_loader', true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think both behavior are enabled by default in 4.0 so they are not necessary.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, not container.dumper.inline_class_loader IIRC.
For container.autowiring.strict_mode, it just has no effect, as the BC layer for the old autowiring system is removed.

@yceruto
Copy link
Member
yceruto commented Nov 19, 2017

Travis failure: https://travis-ci.org/symfony/demo/builds/304273930#L636

The .travis.yml configuration should be updated to check by config/translations instead?

@javiereguiluz
Copy link
Member Author

Thanks for the reviews. I've fixed everything. I'd like to merge this as soon as possible to better prepare for the beta5 and/or final release. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0