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

big update to modern package versions, many changes to tests + more #1

Merged
merged 4 commits into from
Apr 7, 2021

Conversation

mattwithoos
Copy link
Contributor

  • Updates all dependencies to modern versions
  • Removes useless dependencies
  • Removes unnecessary author attributes
  • Removes change log file + other files + adds deprecation warning in anticipation of making this repo private
  • Updates a tonne of tests that broke
  • Reduces dependencies on third-parties to reduce dependency chain / make life easier
  • More, probably, send hlep

This should be tagged as a new major version.

Copy link

@EthicalJobsJesse EthicalJobsJesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure what this repo is meant to do, it feels a bit like overengineering. i like the sound of merging it into a main package though. could we potentially delete it all together if there's another better supported package we could drop in?

* @return $this
*/
public function push($criteria)
public function push(...$values)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ive never seen ... syntax in php, does it bundle all the args into a single value?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the "splat" operator used for argument unpacking https://wiki.php.net/rfc/argument_unpacking

strategy:
fail-fast: false
matrix:
php: [ 7.3 ]

name: PHPUnit (PHP ${{ matrix.php }})
name: PHPUnit (PHP 7.3)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI this could have been used to run the tests on various PHP versions (eg. 7.4 & 8.0)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh hmmm... yeah forward-support's a nice idea. I'll add it, see if it passes out of the box, if so I'll keep otherwise I'll leave as-is

@mattwithoos mattwithoos merged commit 85c052f into master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants