php-resque-pool icon indicating copy to clipboard operation
php-resque-pool copied to clipboard

Bug fixes and Static Analysis support

Open JoyceBabu opened this issue 2 years ago • 0 comments

This PR contains the following changes.

  • The method Platform::_exit was referenced as Platform::exit at a few places.
  • The package already depends on the short array syntax, which requires PHP 5.4+. So I have updated the minimum required version from PHP 5.4 to 5.4.
  • Fixed incorrect/non-standard phpdoc syntax for some of the methods / properties.
  • Added typehint for all methods, so that the code can be statically analyzed with PHPStan
  • Add Symfony 6.0 to supported versions

There is no backward incompatibility. If required, I can split the PR into multiple PRs.

JoyceBabu avatar Aug 22 '22 16:08 JoyceBabu