diff --git a/Symfony.gitignore b/Symfony.gitignore index 3dab634c..ab25c59f 100644 --- a/Symfony.gitignore +++ b/Symfony.gitignore @@ -1,52 +1,30 @@ -# 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 - -# Logs (Symfony4) -/var/log/* -!var/log/.gitkeep - -# Parameters -/app/config/parameters.yml -/app/config/parameters.ini - -# Managed by Composer -/app/bootstrap.php.cache -/var/bootstrap.php.cache -/bin/* -!bin/console -!bin/symfony_requirements +# Composer /vendor/ - -# 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/*~ +# Cache, session files and logs +/var/cache/* +/var/log/* +/var/sessions/* +!var/cache/.gitkeep +!var/log/.gitkeep +!var/sessions/.gitkeep -# Embedded web-server pid file -/.web-server-pid +# Env vars & Secrets +/.env.local +/.env.local.php +/.env.*.local +/config/secrets/prod/prod.decrypt.private.php + +# Bundles assets +/public/bundles/ + +# Webpack Encore +/node_modules/ +npm-debug.log +yarn-error.log + +# PHPUnit +.phpunit.result.cache +/phpunit.xml +/phpunit.xml.dist diff --git a/community/PHP/Symfony.gitignore b/community/PHP/Symfony.gitignore new file mode 100644 index 00000000..3dab634c --- /dev/null +++ b/community/PHP/Symfony.gitignore @@ -0,0 +1,52 @@ +# 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 + +# Logs (Symfony4) +/var/log/* +!var/log/.gitkeep + +# Parameters +/app/config/parameters.yml +/app/config/parameters.ini + +# Managed by Composer +/app/bootstrap.php.cache +/var/bootstrap.php.cache +/bin/* +!bin/console +!bin/symfony_requirements +/vendor/ + +# 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