-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.sensiolabs.yml
46 lines (38 loc) · 1.22 KB
/
.sensiolabs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
php_version: 5
php_ini: |
extension=mysql.so
extension=pdo_mysql.so
pre_composer_script: |
#!/bin/bash
# Do what you need to setup your project
cp app/config/parameters.yml.dist app/config/parameters.yml
sed -i -e "s/database_user:.*/database_user: fiderlet/" app/config/parameters.yml
sed -i -e "s/database_password:.*/database_password: kingston/" app/config/parameters.yml
sed -i -e "s/mailer_user:.*/mailer_user: [email protected]/" app/config/parameters.yml
post_composer_script: |
#!/bin/bash
# Do what you need to configure your project
php app/console doctrine:database:create --no-interaction
php app/console doctrine:schema:create --no-interaction
php app/console doctrine:schema:update --force
global_exclude_dirs:
- vendor
- vendors
- test
- tests
- Tests
- lib/vendor
exclude_patterns:
- app/check.php
- app/SymfonyRequirements.php
- web/config.php
- web/app_*.php
- web/app.php
- web/lib/bootstrap
- src/Mails/ContactBundle/DependencyInjection
- src/Mails/MailBundle/DependencyInjection
- src/Mails/UserBundle/DependencyInjection
rules:
twig.template_too_complex:
enabled: true
max_depth: 5