Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
4ccd424
2.0 — Refactor: Reasonable model methods and properties are made stat…
JasonTheAdams Apr 12, 2025
a4c3af9
2.0 — Feature: Built-in system for converting from query data (#19)
JasonTheAdams Sep 29, 2025
5011f49
2.0 — Feature: Improved Properties (#22)
JasonTheAdams Sep 29, 2025
535c0fd
Adds support for PHPStan (#24)
JasonTheAdams Sep 30, 2025
9425842
Removes factories (#25)
JasonTheAdams Sep 30, 2025
9d33cd7
Consolidates model contracts (#26)
JasonTheAdams Oct 1, 2025
1dc5cef
Changes how model properties are determined as set (#28)
JasonTheAdams Oct 1, 2025
813aace
Feature: adds more model control over relationship caching (#29)
JasonTheAdams Oct 1, 2025
163dc02
Feature: Read-only properties (#27)
JasonTheAdams Oct 1, 2025
7841091
Feature: adds model definition generation overloading (#30)
JasonTheAdams Oct 1, 2025
0836e17
chore: adds doc for upgrading
JasonTheAdams Oct 2, 2025
813ac59
Feature: Rebuilt relationship structure (#32)
JasonTheAdams Oct 3, 2025
53193ea
Fix accessing model properties
dpanta94 Oct 7, 2025
3c15118
Merge pull request #34 from stellarwp/fix/minor-issues-on-accessing-m…
dpanta94 Oct 7, 2025
06c01f6
Adding comment about bitwise constants
borkweb Oct 7, 2025
219ea15
Adds more flexibility on definining relationships and its values
dpanta94 Oct 7, 2025
68df5fe
php compatibility update
dpanta94 Oct 7, 2025
e4cb6c4
Fix static analysis
dpanta94 Oct 7, 2025
dbd8c29
Fix tests
dpanta94 Oct 7, 2025
43773fe
Fix tests - add own test
dpanta94 Oct 7, 2025
5e68514
Store hydrator in local var
dpanta94 Oct 7, 2025
6155f54
Switched back return type definition
dpanta94 Oct 7, 2025
64c1beb
Fix exception message
dpanta94 Oct 7, 2025
74c25c0
Fixing another docblock
dpanta94 Oct 7, 2025
5236008
fix static analysis
dpanta94 Oct 7, 2025
bf85514
Update ModelRelationshipDefinition.php
dpanta94 Oct 7, 2025
f10992c
Update ModelRelationshipDefinition.php
dpanta94 Oct 7, 2025
ea5a000
make find's return nullable
dpanta94 Oct 7, 2025
34d0767
Merge pull request #35 from stellarwp/feat/more-flexibility-on-defini…
dpanta94 Oct 7, 2025
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
35 changes: 35 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'PHPStan'
on:
push:
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 1
# ------------------------------------------------------------------------------
# Prepare our composer cache directory
# ------------------------------------------------------------------------------
- name: Get Composer Cache Directory
id: get-composer-cache-dir
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: composer-cache
with:
path: ${{ steps.get-composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
# ------------------------------------------------------------------------------
# Install dependencies
# ------------------------------------------------------------------------------
- name: Install dependencies
run: composer install --ignore-platform-reqs --no-interaction
# ------------------------------------------------------------------------------
# Run PHPStan
# ------------------------------------------------------------------------------
- name: Run PHPStan
run: composer phpstan
8 changes: 4 additions & 4 deletions .github/workflows/tests-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 1000
submodules: recursive
# ------------------------------------------------------------------------------
# Checkout slic
# ------------------------------------------------------------------------------
- name: Checkout slic
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: stellarwp/slic
ref: main
Expand All @@ -30,8 +30,8 @@ jobs:
- name: Get Composer Cache Directory
id: get-composer-cache-dir
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v2
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: composer-cache
with:
path: ${{ steps.get-composer-cache-dir.outputs.dir }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ files/
repo/
vendor/
.idea
.vscode
Loading