Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
59af8b1
Rewire observers on top of the anydataset-db 7.0 DatabaseExecutor obs…
byjg Jul 12, 2026
ec6680d
FieldUuidAttribute: accept parentTable to declare FK relationships
byjg Jul 18, 2026
db747aa
ORM: resolve incomplete relationships when the parent registers later
byjg Jul 18, 2026
8da3229
QueryBasic: add auto-discovering joinRelated; joinWith on it; remove …
byjg Jul 19, 2026
b5b96cb
joinRelated/joinWith accept a model class (on-demand mapper registrat…
byjg Jul 22, 2026
f67f80e
Prepare 7.0: PHP 8.3-8.6, PHPUnit 12.5, Psalm as a tool
byjg Aug 24, 2026
69b5e59
Fix the license badge link and drop the hand-written dependency graph
byjg Sep 14, 2026
1673052
Remove CONTRIBUTING.md in favour of the byjg/.github default
byjg Sep 17, 2026
f38bf04
Align with the 7.0 standard
byjg Oct 9, 2026
ceb1c2e
Rename Enums to use PascalCase as standard
byjg Oct 13, 2026
cf997e3
Keep a primary key set on the instance when inserting
byjg Oct 15, 2026
a1a09c5
Generate UUID keys in PHP and write them in each database's syntax
byjg Oct 15, 2026
5a3e791
Skip the UUID database tests before setUp() when the driver is missing
byjg Oct 16, 2026
a562ca3
Write PostgreSQL and SQL Server compatible inserts and timestamps
byjg Oct 16, 2026
24d2cbd
Test and document backed enum properties
byjg Oct 16, 2026
9d82ab2
Merge remote-tracking branch 'origin/master' into 7.0
byjg Oct 17, 2026
c17e825
Align documentation and code.
byjg Oct 17, 2026
ed38aa0
Fix getByFilter() paging and ActiveRecord::where() type
byjg Oct 19, 2026
1356d3f
Rename the Query::limit() quantity parameter and property
byjg Oct 19, 2026
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
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

37 changes: 33 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.6"
- "8.5"
- "8.4"
- "8.3"
Expand All @@ -36,11 +37,39 @@ jobs:
--health-timeout=20s
--health-retries=10

postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
options: >-
--health-cmd "pg_isready -U postgres"
--health-interval 10s
--health-timeout 5s
--health-retries 5

sqlserver:
# Pinned to 2022: the 2025 image ("latest") crashes on startup on hybrid
# CPUs with a topology assert (see docker-compose.yml)
image: mcr.microsoft.com/mssql/server:2022-latest
env:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: Pa55word
options: >-
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -U sa -P Pa55word -Q 'SELECT 1'"
--health-interval 10s
--health-timeout 5s
--health-retries 5

env:
MYSQL_TEST_HOST: mysql
PSQL_TEST_HOST: postgres
MSSQL_TEST_HOST: sqlserver

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- name: Install pdo_dblib for the SQL Server tests
run: apk add --no-cache ${PHP_VARIANT}-pdo_dblib
- run: composer install
- run: composer test

Expand All @@ -51,20 +80,20 @@ jobs:
# for github/codeql-action/upload-sarif to upload SARIF results
security-events: write
container:
image: byjg/php:8.4-cli
image: byjg/php:8.5-cli
options: --user root --privileged

steps:
- name: Git checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Composer
run: composer install

- name: Psalm
# Note: Ignoring error code 2, which just signals that some
# flaws were found, not that Psalm itself failed to run.
run: ./vendor/bin/psalm
run: ./vendor/bin/psalm.phar
--show-info=true
--report=psalm-results.sarif || [ $? = 2 ]

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ vendor
!.idea/runConfigurations
.phpunit.result.cache
phpunit.xml.dist.bak
.vscode
28 changes: 0 additions & 28 deletions .gitpod.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .vscode/launch.json

This file was deleted.

Loading
Loading