#-------------------------
# Operating Specific Junk Files
#-------------------------

# OS X
.DS_Store
.AppleDouble
.LSOverride

# OS X Thumbnails
._*

# Windows image file caches
Thumbs.db
ehthumbs.db
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# Linux
*~

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

#-------------------------
# Environment Files
#-------------------------
# These should never be under version control,
# as it poses a security risk.
.env
.vagrant
Vagrantfile

docker-compose*.yml
Dockerfile

#-------------------------
# CI ignore
#-------------------------
#app/Config/App.php

#-------------------------
# Temporary Files
#-------------------------
writable/cache/*
!writable/cache/index.html

writable/logs/*
!writable/logs/index.html

writable/session/*
!writable/session/index.html

writable/uploads/*
!writable/uploads/index.html

writable/debugbar/*
!writable/debugbar/index.html

# Ignore writable but keep directory structure
!/writable/logs/.gitkeep
!/writable/cache/.gitkeep
!/writable/session/.gitkeep
!/writable/debugbar/.gitkeep
!/writable/uploads/.gitkeep

php_errors.log

#-------------------------
# User Guide Temp Files
#-------------------------
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*

#-------------------------
# Test Files
#-------------------------
tests/coverage*

# Don't save phpunit under version control.
phpunit

#-------------------------
# Composer
#-------------------------
vendor/

#-------------------------
# IDE / Development Files
#-------------------------

# Modules Testing
_modules/*

# phpenv local config
.php-version

# Jetbrains editors (PHPStorm, etc)
.idea/
*.iml

# NetBeans
/nbproject/
/build/
/nbbuild/
/dist/
/nbdist/
/nbactions.xml
/nb-configuration.xml
/.nb-gradle/

# Sublime Text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
.phpintel
/api/

# Visual Studio Code
.vscode/

/results/
/phpunit*.xml

.history/

.README

# 1. 민감한 환경 설정 파일 (필수)
# 실제 환경 변수 값이 담긴 파일은 Git에 절대 포함하지 않습니다.
#/.env

# 2. Composer 종속성 (필수)
# CI/CD에서 'composer install'로 재설치합니다.
/vendor/

# 3. CI4가 생성하는 런타임 파일 (필수)
# 캐시, 로그, 세션 등은 서버에서 생성 및 관리되어야 합니다.
/writable/cache/*
/writable/logs/*
/writable/session/*

# 4. IDE 및 OS 생성 파일
# 개발 환경에서만 필요한 파일 (Windows/MacOS/Linux 등)
.idea/
.vscode/
*.swp
.DS_Store

# 5. 빌드 및 테스트 부산물 (선택적)
# 특정 IDE나 빌드 도구가 생성하는 파일은 추가합니다.
/build/
/dist/
/node_modules/
.env
**/logs/