Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Exclude Git and CI configuration files from archives.
.git* export-ignore
.github/ export-ignore

# Exclude test-related files from archives.
tests/ export-ignore
phpstan* export-ignore
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
branches:
- main
- support/*
pull_request:
branches:
- main
workflow_dispatch:

jobs:
php:
Expand Down
12 changes: 4 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Exclude all hidden files
.*

# Except those related to Git (and GitHub)
!.git*

# Exclude files from composer install
vendor/
# Ignore Composer installation artifacts; composer.lock is intentionally
# excluded as this is a library - applications depending on this package
# manage their own lock file.
/vendor/
composer.lock
20 changes: 13 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"name": "ipl/sql",
"type": "library",
"description": "Icinga PHP Library - SQL abstraction layer",
"keywords": ["sql", "database"],
"homepage": "https://github.com/Icinga/ipl-sql",
"license": "MIT",
"type": "library",
"keywords": [
"sql",
"database"
],
"homepage": "https://github.com/Icinga/ipl-sql",
"require": {
"php": ">=8.2",
"ext-pdo": "*",
Expand All @@ -14,18 +17,21 @@
"ipl/stdlib": "dev-main"
},
"autoload": {
"files": [
"src/pdo-driver-consts-forward-compat.php"
],
"psr-4": {
"ipl\\Sql\\": "src"
}
},
"files": [
"src/pdo-driver-consts-forward-compat.php"
]
},
"autoload-dev": {
"psr-4": {
"ipl\\Tests\\Sql\\": "tests"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"test": "vendor/bin/phpunit"
}
Expand Down
Loading