Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing typehints #1757

Merged
merged 27 commits into from
Jul 3, 2024
Merged

Conversation

lrljoe
Copy link
Sponsor Collaborator

@lrljoe lrljoe commented Jul 3, 2024

This PR is ongoing development, and is to add missing typehints, and returntypes.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests and did you add any new tests needed for your feature?
  2. Did you update all templates (if applicable)?
  3. Did you add the relevant documentation (if applicable)?
  4. Did you test locally to make sure your feature works as intended?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 77.41935% with 7 lines in your changes missing coverage. Please review.

Please upload report for BASE (development@f0cfe56). Learn more about missing BASE report.

Files Patch % Lines
src/Commands/MakeCommand.php 0.00% 4 Missing ⚠️
src/Traits/WithEvents.php 0.00% 2 Missing ⚠️
src/Traits/WithPagination.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             development    #1757   +/-   ##
==============================================
  Coverage               ?   85.56%           
  Complexity             ?     1384           
==============================================
  Files                  ?      127           
  Lines                  ?     3264           
  Branches               ?        0           
==============================================
  Hits                   ?     2793           
  Misses                 ?      471           
  Partials               ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lrljoe lrljoe merged commit 51f4c94 into rappasoft:development Jul 3, 2024
8 of 9 checks passed
lrljoe added a commit that referenced this pull request Jul 3, 2024
* Adjust for HTML Columns

* Update ChangeLog and SP

* fix: Apply cursor pointer only on clickable columns when using Bootst… (#1742)

* Ensure HTML Columns Return HTML Correctly (#1737)

* Adjust for HTML Columns

* fix: Apply cursor pointer only on clickable columns when using Bootstrap

---------

Co-authored-by: Joe <104938042+lrljoe@users.noreply.github.com>

* Fix styling

* Fix hide bulk actions when empty not reflecting in frontend (#1747)

* Fix issue with Hide Bulk Actions When Empty not reflecting in frontend

* Fix styling

* Add development branch into tests

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Change Return Type for attributes() to static (#1749)

* Switch to using Composer\InstalledVersions for AboutCommand to reduce necessity to update ServiceProvider with each update (#1748)

* Two improvements to improve typehinting, migrate to larastan/larastan, cleanup of test (#1750)

* Add ArrayColumn (BETA) (#1751)

* Add ArrayColumn

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Always hide bulk actions option (#1752)

* Add option to "Always Hide Bulk Actions"

* Fix styling

* Fix test function name clash

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Optionally disable count for simple pagination (#1755)

* Add option for setShouldRetrieveTotalItemCountStatus

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Update ChangeLog For 3.2.8 Release (#1754)

* Update ChangeLog for 3.2.8

* Add release date

* Fix phpstan unescaped |

* Fix missing typehints (#1757)

* Add additional typehints

* Fix styling

* Add filterCollection typehint

* Fix styling

* trUrlCallback fixes

* Use Collection rather than collect() helper

* Fix styling

* Add ignore for "Unable to resolve the template type" for Illuminate Collection, add typehint for empty

* Add ignore for $model has no defined type (allows for non Eloquent Model to be used longer term)

* Adjust concurrency

* Adjust Test

* Adjust Again

* Adjust PHPStan

* Add Max Parallel

* Use v4 of checkout/cache

* Run one at a time

* Add Clear Cache Workflow

* Fix

* Migrate to v4 and adjust workflows

* Adjust workflow run rules

* Adjust Run-Tests to separate L10 and L11 jobs

* Adjust run-tests

* Adjust Test

* Add Laravel matrix

* Adjust Concurrency

* Adjust

* Adjust Pull Jobs to Match Push jobs

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

---------

Co-authored-by: Matt Pickering <mattukp+gh@gmail.com>
Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
lrljoe added a commit to LowerRockLabs/laravel-livewire-tables that referenced this pull request Jul 10, 2024
* Update ChangeLog For 3.2.8 Release (rappasoft#1754)

* Update ChangeLog for 3.2.8

* Add release date

* Fix phpstan unescaped |

* Fix missing typehints (rappasoft#1757)

* Add additional typehints

* Fix styling

* Add filterCollection typehint

* Fix styling

* trUrlCallback fixes

* Use Collection rather than collect() helper

* Fix styling

* Add ignore for "Unable to resolve the template type" for Illuminate Collection, add typehint for empty

* Add ignore for $model has no defined type (allows for non Eloquent Model to be used longer term)

* Adjust concurrency

* Adjust Test

* Adjust Again

* Adjust PHPStan

* Add Max Parallel

* Use v4 of checkout/cache

* Run one at a time

* Add Clear Cache Workflow

* Fix

* Migrate to v4 and adjust workflows

* Adjust workflow run rules

* Adjust Run-Tests to separate L10 and L11 jobs

* Adjust run-tests

* Adjust Test

* Add Laravel matrix

* Adjust Concurrency

* Adjust

* Adjust Pull Jobs to Match Push jobs

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
lrljoe added a commit to LowerRockLabs/laravel-livewire-tables that referenced this pull request Jul 10, 2024
* Update ChangeLog For 3.2.8 Release (rappasoft#1754)

* Update ChangeLog for 3.2.8

* Add release date

* Fix phpstan unescaped |

* Fix missing typehints (rappasoft#1757)

* Add additional typehints

* Fix styling

* Add filterCollection typehint

* Fix styling

* trUrlCallback fixes

* Use Collection rather than collect() helper

* Fix styling

* Add ignore for "Unable to resolve the template type" for Illuminate Collection, add typehint for empty

* Add ignore for $model has no defined type (allows for non Eloquent Model to be used longer term)

* Adjust concurrency

* Adjust Test

* Adjust Again

* Adjust PHPStan

* Add Max Parallel

* Use v4 of checkout/cache

* Run one at a time

* Add Clear Cache Workflow

* Fix

* Migrate to v4 and adjust workflows

* Adjust workflow run rules

* Adjust Run-Tests to separate L10 and L11 jobs

* Adjust run-tests

* Adjust Test

* Add Laravel matrix

* Adjust Concurrency

* Adjust

* Adjust Pull Jobs to Match Push jobs

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
lrljoe added a commit that referenced this pull request Jul 11, 2024
* Adjust for HTML Columns

* Update ChangeLog and SP

* fix: Apply cursor pointer only on clickable columns when using Bootst… (#1742)

* Ensure HTML Columns Return HTML Correctly (#1737)

* Adjust for HTML Columns

* fix: Apply cursor pointer only on clickable columns when using Bootstrap

---------

Co-authored-by: Joe <104938042+lrljoe@users.noreply.github.com>

* Fix styling

* Fix hide bulk actions when empty not reflecting in frontend (#1747)

* Fix issue with Hide Bulk Actions When Empty not reflecting in frontend

* Fix styling

* Add development branch into tests

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Change Return Type for attributes() to static (#1749)

* Switch to using Composer\InstalledVersions for AboutCommand to reduce necessity to update ServiceProvider with each update (#1748)

* Two improvements to improve typehinting, migrate to larastan/larastan, cleanup of test (#1750)

* Add ArrayColumn (BETA) (#1751)

* Add ArrayColumn

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Always hide bulk actions option (#1752)

* Add option to "Always Hide Bulk Actions"

* Fix styling

* Fix test function name clash

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Optionally disable count for simple pagination (#1755)

* Add option for setShouldRetrieveTotalItemCountStatus

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Update ChangeLog For 3.2.8 Release (#1754)

* Update ChangeLog for 3.2.8

* Add release date

* Fix phpstan unescaped |

* Fix missing typehints (#1757)

* Add additional typehints

* Fix styling

* Add filterCollection typehint

* Fix styling

* trUrlCallback fixes

* Use Collection rather than collect() helper

* Fix styling

* Add ignore for "Unable to resolve the template type" for Illuminate Collection, add typehint for empty

* Add ignore for $model has no defined type (allows for non Eloquent Model to be used longer term)

* Adjust concurrency

* Adjust Test

* Adjust Again

* Adjust PHPStan

* Add Max Parallel

* Use v4 of checkout/cache

* Run one at a time

* Add Clear Cache Workflow

* Fix

* Migrate to v4 and adjust workflows

* Adjust workflow run rules

* Adjust Run-Tests to separate L10 and L11 jobs

* Adjust run-tests

* Adjust Test

* Add Laravel matrix

* Adjust Concurrency

* Adjust

* Adjust Pull Jobs to Match Push jobs

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add CountColumn, simpler adding of WithCounts, With (#1761)

* Initial Commit

* Adjust CountColumn

* Add ExtraWiths

* Add AggregateColumn

* Add SumColumn

* Update Docs - Add Column Types Section

* Add exceptions for empty data source, add standard tests

* Ensure pcov runs on push to master/development/develop

* Update to use codecov v4

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add Option to Retain Selected when Searching/Filtering (#1762)

* Initial Commit for Retaining Selected

* Update Test for Search/Filter

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add WireLink Column (#1763)

* Add WireLinkColumn

* Add Tests for WireLinkColumn

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Fix styling

---------

Co-authored-by: Matt Pickering <mattukp+gh@gmail.com>
Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
lrljoe added a commit that referenced this pull request Jul 11, 2024
* Adjust for HTML Columns

* Update ChangeLog and SP

* fix: Apply cursor pointer only on clickable columns when using Bootst… (#1742)

* Ensure HTML Columns Return HTML Correctly (#1737)

* Adjust for HTML Columns

* fix: Apply cursor pointer only on clickable columns when using Bootstrap

---------

Co-authored-by: Joe <104938042+lrljoe@users.noreply.github.com>

* Fix styling

* Fix hide bulk actions when empty not reflecting in frontend (#1747)

* Fix issue with Hide Bulk Actions When Empty not reflecting in frontend

* Fix styling

* Add development branch into tests

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Change Return Type for attributes() to static (#1749)

* Switch to using Composer\InstalledVersions for AboutCommand to reduce necessity to update ServiceProvider with each update (#1748)

* Two improvements to improve typehinting, migrate to larastan/larastan, cleanup of test (#1750)

* Add ArrayColumn (BETA) (#1751)

* Add ArrayColumn

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Always hide bulk actions option (#1752)

* Add option to "Always Hide Bulk Actions"

* Fix styling

* Fix test function name clash

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Optionally disable count for simple pagination (#1755)

* Add option for setShouldRetrieveTotalItemCountStatus

* Fix styling

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Update ChangeLog For 3.2.8 Release (#1754)

* Update ChangeLog for 3.2.8

* Add release date

* Fix phpstan unescaped |

* Fix missing typehints (#1757)

* Add additional typehints

* Fix styling

* Add filterCollection typehint

* Fix styling

* trUrlCallback fixes

* Use Collection rather than collect() helper

* Fix styling

* Add ignore for "Unable to resolve the template type" for Illuminate Collection, add typehint for empty

* Add ignore for $model has no defined type (allows for non Eloquent Model to be used longer term)

* Adjust concurrency

* Adjust Test

* Adjust Again

* Adjust PHPStan

* Add Max Parallel

* Use v4 of checkout/cache

* Run one at a time

* Add Clear Cache Workflow

* Fix

* Migrate to v4 and adjust workflows

* Adjust workflow run rules

* Adjust Run-Tests to separate L10 and L11 jobs

* Adjust run-tests

* Adjust Test

* Add Laravel matrix

* Adjust Concurrency

* Adjust

* Adjust Pull Jobs to Match Push jobs

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add CountColumn, simpler adding of WithCounts, With (#1761)

* Initial Commit

* Adjust CountColumn

* Add ExtraWiths

* Add AggregateColumn

* Add SumColumn

* Update Docs - Add Column Types Section

* Add exceptions for empty data source, add standard tests

* Ensure pcov runs on push to master/development/develop

* Update to use codecov v4

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add Option to Retain Selected when Searching/Filtering (#1762)

* Initial Commit for Retaining Selected

* Update Test for Search/Filter

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Add WireLink Column (#1763)

* Add WireLinkColumn

* Add Tests for WireLinkColumn

---------

Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>

* Fix styling

* Update ChangeLog

---------

Co-authored-by: Matt Pickering <mattukp+gh@gmail.com>
Co-authored-by: lrljoe <lrljoe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant