Skip to content

Commit 21cf869

Browse files
committed
style: format code using prettier
1 parent 03733f6 commit 21cf869

File tree

6 files changed

+28
-27
lines changed

6 files changed

+28
-27
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ sudo: required
22
language: php
33

44
php:
5-
- '5.4'
6-
- '5.5'
7-
- '5.6'
5+
- "5.4"
6+
- "5.5"
7+
- "5.6"
88

99
services:
1010
- rabbitmq

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Change log
22

33
## 3.0.0 [Unreleased]
4+
45
- **Removed support for PHP 5.3.**
56
- celery-php now uses a PSR-4 compliant namespace, `Celery`. To migrate to the
67
new version, change code from `new Celery(…)` to `new \Celery\Celery(…)`.

DEVELOPMENT.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Testability is a tetrary goal. If you're reporting a bug, please provide a test
1414

1515
TLDR: The pace of development is slow. Problems? Do it yourself and submit a pull request or use paid support.
1616

17-
* I'm using this library in production in several projects. Any bugs affecting stability will be fixed immediately.
18-
* This library will be tested with the latest versions of Celery, PHP-AMQPLib, PECL-AMQP and PRedis at least once a year. If necessary, fixes will be made to ensure compatibility with the latest and greatest. The [README file](README.md) lists last known working versions. If you need some version supported sooner than that, [Paid support](https://massivescale.net/contact.html) is available.
19-
* All pull requests are tested for overall code quality and passing existing unit tests. Because of the amount of work required for this, pull requests are merged rarely, in batches, 1-3 times a year.
20-
* Issues asking for new features will not be implemented. [Paid support](https://massivescale.net/contact.html) is available if you want something developed, or do it yourself and submit a pull request.
21-
* Issues reporting non-critical bugs may be fixed if the author has enough free time, which happens rarely. [Paid support](https://massivescale.net/contact.html) is available, the author has plenty of work time. Pull requests implementing these are welcome too.
17+
- I'm using this library in production in several projects. Any bugs affecting stability will be fixed immediately.
18+
- This library will be tested with the latest versions of Celery, PHP-AMQPLib, PECL-AMQP and PRedis at least once a year. If necessary, fixes will be made to ensure compatibility with the latest and greatest. The [README file](README.md) lists last known working versions. If you need some version supported sooner than that, [Paid support](https://massivescale.net/contact.html) is available.
19+
- All pull requests are tested for overall code quality and passing existing unit tests. Because of the amount of work required for this, pull requests are merged rarely, in batches, 1-3 times a year.
20+
- Issues asking for new features will not be implemented. [Paid support](https://massivescale.net/contact.html) is available if you want something developed, or do it yourself and submit a pull request.
21+
- Issues reporting non-critical bugs may be fixed if the author has enough free time, which happens rarely. [Paid support](https://massivescale.net/contact.html) is available, the author has plenty of work time. Pull requests implementing these are welcome too.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
## Archived
22

3-
I have no more commercial or personal use for this project. It doesn't seem to be used by any Free Software projects and I'm definitely not spending my spare time on something used internally by some random companies I never met. Check out the [forks](https://github.com/gjedeer/celery-php/network), maybe you'll find something that works for you there.
3+
I have no more commercial or personal use for this project. It doesn't seem to be used by any Free Software projects and I'm definitely not spending my spare time on something used internally by some random companies I never met. Check out the [forks](https://github.com/gjedeer/celery-php/network), maybe you'll find something that works for you there.
44

55
Thanks to all the contributors!
66

7-
87
PHP client capable of executing [Celery](http://celeryproject.org/) tasks and
98
reading asynchronous results.
109

docgen/footer.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="credit">
22
<hr class="separator" />
3-
This software has been brought to you by
3+
This software has been brought to you by
44
{php}
55
$bullshit = array(
66
'<a href="http://massivescale.net/">Massive Scale - fast, scalable web applications</a>',

testscenario/README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
11
## Setting up
22

3-
rabbitmqctl add_user gdr test
4-
rabbitmqctl add_vhost wutka
5-
rabbitmqctl set_permissions -p wutka gdr ".*" ".*" ".*"
3+
rabbitmqctl add_user gdr test
4+
rabbitmqctl add_vhost wutka
5+
rabbitmqctl set_permissions -p wutka gdr ".*" ".*" ".*"
66

77
## Running
88

9-
cd testscenario
10-
celery worker -l DEBUG -c 20
9+
cd testscenario
10+
celery worker -l DEBUG -c 20
1111

12-
# In another terminal
13-
cd testscenario
14-
celery worker -l DEBUG -c 20 --config=celeryredisconfig
12+
# In another terminal
13+
cd testscenario
14+
celery worker -l DEBUG -c 20 --config=celeryredisconfig
1515

16-
# In another terminal
17-
phpunit
16+
# In another terminal
17+
phpunit
1818

1919
## Testing Redis authentication
20-
echo requirepass test >>/etc/redis/redis.conf
21-
service redis-server restart
2220

23-
cd testscenario
24-
celery worker -l DEBUG -c 20 --config=celeryredisauthconfig
21+
echo requirepass test >>/etc/redis/redis.conf
22+
service redis-server restart
2523

26-
# In another terminal
27-
phpunit CeleryRedisAuthTest unittest/CeleryRedisAuthTest.php
24+
cd testscenario
25+
celery worker -l DEBUG -c 20 --config=celeryredisauthconfig
26+
27+
# In another terminal
28+
phpunit CeleryRedisAuthTest unittest/CeleryRedisAuthTest.php

0 commit comments

Comments
 (0)