Skip to content

Symfony 3.2

Art Hundiak edited this page Jul 21, 2016 · 3 revisions

Wanted to mess around with using the latest unreleased Symfony development version.

composer create-project symfony/framework-standard-edition s32 "3.2.*" --stability=dev
"symfony/symfony": "3.1.*", # No workflow component
"symfony/symfony": "3.2.*@dev", # Gives the workflow

renamed src to srcServer in anticipation of having a srcClient directory for react

PHPUnit tests using in memory sqlite

The idea is to speed up unit database tests by using sqlite.

Used to defining database schemas by editing a sql file then sourcing it.

There are syntax differences between mysql and sqlite. For example, CREATE TABLE for mysql end with a bunch of default character set nonsense which sqlite complains about.

Might need to shift to the doctrine schema tool? Bit of a pain.

Simple insert and select works as expected.

Got foreign keys with cascade working as desired for mysql.

sqlite may or may not support foreign keys. Not sure yet. For now the tables are created but the behavior is not enforced.

Clone this wiki locally