You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You did a change 22 days ago to support monolog 2.0 that included the following change in the file "src/MonologHandler.php":
protected function write(array $record): void
This syntax is only supported by PHP 7.0 or greater, but you didn't change the version of you required php in composer.json:
"require": { "php": ">=5.4",
So when we did a "composer update" in our project, we downloaded the last version of your library being v0.7.3 breaking our project because we have PHP version 5.6.40
The following is the error we got:
syntax error, unexpected ':', expecting ';' or '{' in /vendor/airbrake/phpbrake/src/MonologHandler.php:31
The text was updated successfully, but these errors were encountered:
corozco4
changed the title
Last commit made in src/MonologHandler.php break old versions
Last commit made in src/MonologHandler.php break old versions of PHP
Apr 8, 2020
Good Afternoon,
You did a change 22 days ago to support monolog 2.0 that included the following change in the file "src/MonologHandler.php":
protected function write(array $record): void
This syntax is only supported by PHP 7.0 or greater, but you didn't change the version of you required php in composer.json:
"require": { "php": ">=5.4",
So when we did a "composer update" in our project, we downloaded the last version of your library being v0.7.3 breaking our project because we have PHP version 5.6.40
The following is the error we got:
syntax error, unexpected ':', expecting ';' or '{' in /vendor/airbrake/phpbrake/src/MonologHandler.php:31
The text was updated successfully, but these errors were encountered: