Skip to content

Update dependencies#2

Merged
moiikana merged 4 commits intomasterfrom
update-dependencies
Oct 30, 2023
Merged

Update dependencies#2
moiikana merged 4 commits intomasterfrom
update-dependencies

Conversation

@gbirke
Copy link
Copy Markdown
Member

@gbirke gbirke commented Oct 27, 2023

Make the library ready for PHP 8.x

This PR includes #1

The library was activating `remoteConfig` when it was set to `false`,
giving the user no option to disable it.
Update to 8.0 to be able to run with PHP 8 and installed with composer
on PHP 8, convert tests from old PHPUnit format to PHPUnit 8. Choosing
PHPUnit 8 as an intermediate step that has enough changes, but also has
some deprecations that will be removed in future PHP versions.

The only change to the library is to add a property that formerly was
implicit and to move the constant AIRBRAKE_NOTIFIER_VERSION from
Notifier.php to a separate file that will be autoloaded. This removes
the dependency on "accidentally" autoloading the constant when loading
the Notifier class. In the future we might think about making it a
class constant.

Update php_codesniffer to a version that's compatible with PHP 8
Migrate the configuration file
Make data providers static
Replace renamed assertion
@moiikana
Copy link
Copy Markdown

is this ready for review despite the dependencies not being resolvable?

@gbirke
Copy link
Copy Markdown
Member Author

gbirke commented Oct 27, 2023

I forgot to update the Travis file, now it's ready to review.

@moiikana moiikana merged commit 0d787c5 into master Oct 30, 2023
@moiikana moiikana deleted the update-dependencies branch October 30, 2023 09:45
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.

2 participants