Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
f0cfe56
Update ChangeLog For 3.2.8 Release (#1754)
lrljoe Jul 2, 2024
1adebfb
Add release date
lrljoe Jul 3, 2024
13fe6a5
Fix phpstan unescaped |
lrljoe Jul 3, 2024
51f4c94
Fix missing typehints (#1757)
lrljoe Jul 3, 2024
ff9dfd1
Initial Commit
lrljoe Jul 5, 2024
be1b208
Fix styling
lrljoe Jul 5, 2024
f1faef6
Adjust CountColumn
lrljoe Jul 5, 2024
2e3fdf8
Fix buildedr
lrljoe Jul 5, 2024
474d7d1
Fix styling
lrljoe Jul 5, 2024
fc20d5f
Fixes
lrljoe Jul 5, 2024
d8a03a3
Fix styling
lrljoe Jul 5, 2024
1621829
Add ExtraWiths
lrljoe Jul 5, 2024
baf668e
Fix styling
lrljoe Jul 5, 2024
5ebf022
Add AggregateColumn
lrljoe Jul 5, 2024
6b39025
Fix styling
lrljoe Jul 5, 2024
9d3b2bd
Add SumColumn
lrljoe Jul 5, 2024
87f7b2f
Fix styling
lrljoe Jul 5, 2024
02b4f6f
Standardise to setDataSource
lrljoe Jul 5, 2024
775d760
Fix styling
lrljoe Jul 5, 2024
cd2ad2c
Adjustments
lrljoe Jul 5, 2024
8e26603
Fix styling
lrljoe Jul 5, 2024
c242a94
Adjust SumColumn
lrljoe Jul 5, 2024
f717b4f
Add fixes
lrljoe Jul 5, 2024
c776bdb
Change CountColumn to extend AggregateColumn
lrljoe Jul 5, 2024
91c8b44
Clean up Helpers
lrljoe Jul 5, 2024
a191aa4
Fix styling
lrljoe Jul 5, 2024
9a5dbe4
AvgCol
lrljoe Jul 5, 2024
b64e527
Fix styling
lrljoe Jul 5, 2024
0e500f1
Adjust Avg/Sum
lrljoe Jul 5, 2024
27eb561
Fix styling
lrljoe Jul 5, 2024
d31fdf0
Start docs
lrljoe Jul 5, 2024
31120f2
Update Docs - Add Column Types Section
lrljoe Jul 5, 2024
8c73630
Migrating Column Docs
lrljoe Jul 5, 2024
a079af2
D
lrljoe Jul 5, 2024
288dee8
Test
lrljoe Jul 5, 2024
fd4f614
Revert Docs Change
lrljoe Jul 5, 2024
5f02d70
Add start of docs for new columns
lrljoe Jul 5, 2024
49ee968
Add Array Column doc
lrljoe Jul 5, 2024
9f0c5b0
Add Livewire Component Column
lrljoe Jul 5, 2024
5629981
Add weights
lrljoe Jul 5, 2024
aaf94e5
Adjust Col Docs
lrljoe Jul 5, 2024
fa9d677
Adding Docs
lrljoe Jul 5, 2024
62f6d62
Add more docs for Agg cols
lrljoe Jul 5, 2024
7c445dc
Add exceptions for empty data source, add standard tests
lrljoe Jul 10, 2024
fb85218
Fix styling
lrljoe Jul 10, 2024
dbdb365
Add additional tests
lrljoe Jul 10, 2024
10044b0
Fix styling
lrljoe Jul 10, 2024
8dc312a
Ensure pcov runs on push to master/development/develop
lrljoe Jul 10, 2024
d5cb666
Add extra tests
lrljoe Jul 10, 2024
ef62fb1
Fix styling
lrljoe Jul 10, 2024
7e7fad5
Update to use codecov v4
lrljoe Jul 10, 2024
5a2ce74
Add Count Render Test
lrljoe Jul 10, 2024
435558c
Fix styling
lrljoe Jul 10, 2024
6d3e83b
Add setForeignColumn tests
lrljoe Jul 10, 2024
c7017f6
Fix styling
lrljoe Jul 10, 2024
e58c1ec
Add ExtraWithAvgs tests
lrljoe Jul 10, 2024
efc4521
Fix styling
lrljoe Jul 10, 2024
08de9bd
Update ChangeLog
lrljoe Jul 10, 2024
351b2a7
Update Tests for AvgColumn and SumColumn
lrljoe Jul 10, 2024
bf6e12f
Fix styling
lrljoe Jul 10, 2024
994aecd
Add ArrayColumnTest
lrljoe Jul 10, 2024
dc9b099
Fix styling
lrljoe Jul 10, 2024
0bc1c01
Add ArrayColumnTest
lrljoe Jul 10, 2024
308358a
Fix styling
lrljoe Jul 10, 2024
fa128df
Add emptyValue option
lrljoe Jul 10, 2024
1a846bc
Fix styling
lrljoe Jul 10, 2024
df7de52
Move getContent to Helper method
lrljoe Jul 10, 2024
94a15f8
Fix styling
lrljoe Jul 10, 2024
1e4a25a
Add IsAggregateColumn trait
lrljoe Jul 10, 2024
680e6c8
Fix styling
lrljoe Jul 10, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/discord-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Package Releases
uses: SethCohen/[email protected]
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Fix PHP code style issues

on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master'
paths:
- '**.php'

Expand All @@ -14,7 +19,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/run-phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: run-phpstan

on: [push, pull_request]
on:
pull_request:
branches:
- 'master'
- 'development'
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master'

jobs:
test:
Expand All @@ -20,7 +30,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup cache environment
id: extcache
Expand All @@ -31,7 +41,7 @@ jobs:
key: ${{ env.extensionKey }}

- name: Cache extensions
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
Expand All @@ -55,7 +65,7 @@ jobs:
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-PHPStan-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/run-tests-pcov-pull.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: run-tests-pcov-pull

on:
push:
branches:
- 'develop'
- 'development'
- 'master'
pull_request:
branches:
- 'develop'
Expand All @@ -18,14 +23,14 @@ jobs:
laravel: [10]
stability: [prefer-dist]

name: PCOV-PULL - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
name: PCOV - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
env:
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-withpcov
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pcov,pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup cache environment
id: extcache
Expand All @@ -47,7 +52,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Cache extensions
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
Expand All @@ -61,7 +66,7 @@ jobs:
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-PCOV-PULL-PHP${{ matrix.php }}-Laravel${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -86,7 +91,7 @@ jobs:
run: php ./vendor/bin/paratest --cache-directory=".phpunit.cache/code-coverage" --strict-coverage --coverage-clover ./coverage.xml --processes=4

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
111 changes: 96 additions & 15 deletions .github/workflows/run-tests-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,40 @@ on:
- 'master'

jobs:
test:
test-laravel10:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2, 8.3]
laravel: [10.*,11.*]
laravel: [10.*]
stability: [prefer-dist]
exclude:
- laravel: 11.*
php: 8.1

name: STD-PULL - ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
name: PULL PHP-${{ matrix.php }} - Laravel-10
env:
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup cache environment
id: extcache
uses: shivammathur/cache-extensions@v1
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
key: ${{ runner.os }}-${{ env.extensionKey }}
key: ${{ env.extensionKey }}

- name: Cache extensions
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
restore-keys: ${{ steps.extcache.outputs.key }}
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -64,11 +62,11 @@ jobs:
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-STDPULL-PHP-${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-STDPULL-PHP-${{ matrix.php }}-L${{ matrix.laravel }}-composer-
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-

- name: Add token
run: |
Expand All @@ -79,7 +77,90 @@ jobs:
run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-interaction --no-update

- name: Update dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer update --${{ matrix.stability }} --no-interaction

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Run Unit Tests
run: php ./vendor/bin/paratest --no-coverage --processes=4


test-laravel11:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 2
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
laravel: [11.*]
stability: [prefer-dist]

name: PULL PHP-${{ matrix.php }} - Laravel-11
env:
extensionKey: phpextensions-${{ matrix.os }}-P${{ matrix.php }}-L{{ matrix.laravel }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pcov, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo, :psr

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup cache environment
id: extcache
uses: shivammathur/cache-extensions@v1
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
key: ${{ env.extensionKey }}

- name: Cache extensions
uses: actions/cache@v4
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ runner.os }}-${{ steps.extcache.outputs.key }}
restore-keys: ${{ runner.os }}-${{ steps.extcache.outputs.key }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
tools: phpunit:latest
ini-values: memory_limit=512M
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"

- name: Get composer cache directory
id: composer-cache
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-STDPUSH-PHP${{ matrix.php }}-L${{ matrix.laravel }}-composer-

- name: Add token
run: |
composer config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer require "laravel/framework:${{ matrix.laravel }}.*" --no-interaction --no-update

- name: Update dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer update --${{ matrix.stability }} --no-interaction

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Run Unit Tests
run: php ./vendor/bin/paratest --no-coverage --processes=4
Loading