forked from loafle/openapi-generator-original
* use .yaml instead of .yml This is recommended by Symfony standards * save Bundle files also to src path * add test for generate ping * add package imports * fix expected file names * why is Api/ApiServer.php missing * output filenames * use getAbsolutePath for debug purpose * do not use punctuation as current directory * refactor: remove todos * use also .yaml in test to fix it * add test for setting a different source directory * use correct const for setting source dir property in tests * import the AbstractPhpCodegen in test class * put also Resources to source path * save docs not to Resources * update samples and improve src path in autoload.php and composer.json * update moved samples
69 lines
1.6 KiB
Plaintext
69 lines
1.6 KiB
Plaintext
# ref: https://github.com/github/gitignore/blob/master/Symfony.gitignore
|
|
|
|
# Cache and logs (Symfony2)
|
|
/app/cache/*
|
|
/app/logs/*
|
|
!app/cache/.gitkeep
|
|
!app/logs/.gitkeep
|
|
|
|
# Email spool folder
|
|
/app/spool/*
|
|
|
|
# Cache, session files and logs (Symfony3)
|
|
/var/cache/*
|
|
/var/logs/*
|
|
/var/sessions/*
|
|
!var/cache/.gitkeep
|
|
!var/logs/.gitkeep
|
|
!var/sessions/.gitkeep
|
|
|
|
# Parameters
|
|
/app/config/parameters.yaml
|
|
/app/config/parameters.ini
|
|
|
|
# Managed by Composer
|
|
/app/bootstrap.php.cache
|
|
/var/bootstrap.php.cache
|
|
/bin/*
|
|
!bin/console
|
|
!bin/symfony_requirements
|
|
/vendor/
|
|
|
|
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
|
|
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
|
|
# composer.lock
|
|
|
|
# Assets and user uploads
|
|
/web/bundles/
|
|
/web/uploads/
|
|
|
|
# PHPUnit
|
|
/app/phpunit.xml
|
|
/phpunit.xml
|
|
|
|
# Build data
|
|
/build/
|
|
|
|
# Composer PHAR
|
|
/composer.phar
|
|
|
|
# Backup entities generated with doctrine:generate:entities command
|
|
**/Entity/*~
|
|
|
|
# Embedded web-server pid file
|
|
/.web-server-pid
|
|
|
|
# From root gitignore
|
|
/Tests/cache/
|
|
/Tests/logs/
|
|
|
|
# PHP Coding Standards Fixer
|
|
# https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/UPGRADE.md#config-file
|
|
# From now you can create new configuration file: .php_cs.dist.
|
|
# This file is used if no .php_cs file was found.
|
|
# It is recommended to create .php_cs.dist file attached in your repository and add .php_cs file to .gitignore for allowing your contributors to have theirs own configuration file.
|
|
/.php_cs
|
|
|
|
# No reason to commit PHP CS Fixer cache files
|
|
/.php_cs.cache
|