Skip to content

Commit bd7defe

Browse files
committed
Rename *.yml to *.yaml for consistency (new symfony default)
1 parent 9740c4e commit bd7defe

9 files changed

+7
-7
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ application/public/uploads
22

33
!application/public/uploads/mapbender_user
44
!application/public/uploads/mapbender_user_basic
5-
*/config/parameters.yml
5+
*/config/parameters.yaml
66
*/vendor
77
*.tar.gz
88
*.rpm

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ bin/phpunit -c app vendor/mapbender/digitizer/Mapbender/DigitizerBundle/Tests/Fe
596596
[SCSS]: http://sass-lang.com/guide "SCSS"
597597
[CSS]: http://www.w3schools.com/css/css_intro.asp "CSS"
598598
[TWIG]: http://twig.sensiolabs.org/ "TWIG"
599-
[parameters.yml]: http://symfony.com/doc/current/best_practices/configuration.html "Symfony configuratioN"
599+
[parameters.yaml]: http://symfony.com/doc/current/best_practices/configuration.html "Symfony configuratioN"
600600
[pull-request]: https://help.github.com/articles/creating-a-pull-request/ "Pull requests"
601601
[Resolve git conflicts]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ "Resolve git conflicts"
602602
[branch]: https://help.github.com/articles/about-branches/ "Branching"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cd mapbender-starter
7171

7272
The bootstrap command performs the following required setup tasks for you:
7373
* installs userland dependencies (via composer)
74-
* creates a parameters.yml by copying the bundled parameters.yml.dist
74+
* creates a parameters.yaml by copying the bundled parameters.yml.dist
7575
* performs the necessary database setup (as an sqlite file in `application/var/db/demo.sqlite`)
7676
* creates a root account with a default password `root` (which you should change later)
7777

application/bin/ComposerBootstrap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public static function updateEpsgCodes()
214214
}
215215

216216
/**
217-
* Import example applications from "app/config/mapbender.yml" file
217+
* Import example applications from "app/config/mapbender.yaml" file
218218
*/
219219
public static function importExampleApplications()
220220
{
@@ -450,7 +450,7 @@ public static function displayProjectName($e)
450450
*/
451451
protected static function getParametersPath()
452452
{
453-
return static::getSymfonyRootPath() . '/config/parameters.yml';
453+
return static::getSymfonyRootPath() . '/config/parameters.yaml';
454454
}
455455

456456
/**

application/config/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
parameters.yml
1+
parameters.yaml

application/config/parameters.yml.dist application/config/parameters.yaml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
parameters:
22
### todo: switch to using dsn urls, see https://www.doctrine-project.org/projects/doctrine-dbal/en/2.9/reference/configuration.html#connecting-using-a-url
33
### To avoid suprises, a DSN can be constructed here from parts, at least for the shipping default parameters
4-
### Connection definition in config.yml should only use url: '%database_dsn%' though
4+
### Connection definition in config.yaml should only use url: '%database_dsn%' though
55
database_driver: pdo_sqlite
66
database_host: ~
77
database_port: ~

0 commit comments

Comments
 (0)