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

PHP 5.3 (namespace) version

Open nghuuphuoc opened this issue 11 years ago • 2 comments

I wish PHP Resque provides PHP 5.3 compatible version that uses namespace. So, we will have Resque\Worker instead of Resque_Worker

nghuuphuoc avatar Jan 08 '14 10:01 nghuuphuoc

Curious as to why you find PECL namespaces insufficient.

danhunsaker avatar Jan 28 '14 18:01 danhunsaker

As for me, there are two main reasons:

1- it's not supported by PSR-4, and PSR-0 is going to be deprecated (probably), so there could be problems with composer in the future.

2- many projects are abandoning PEAR (I think you meant PEAR and not PECL :) in favour of composer/packagist/PSR-4-based repos, so its style-guide is going to not be relevant anymore.

Alex-PK avatar Jul 25 '14 10:07 Alex-PK