forked from mcintyred/php-amqp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove shutup operator, ANSI C comments, iniArr renamed to ini_arr
- Loading branch information
Showing
17 changed files
with
82 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,12 @@ before_script: | |
- sh -c "cd rabbitmq-c && git submodule init && git submodule update" | ||
- sh -c "cd rabbitmq-c && autoreconf -i && ./configure && make && sudo make install" | ||
- sh -c "phpize && ./configure && make" | ||
# - sudo rabbitmqctl set_vm_memory_high_watermark 0.01 | ||
|
||
script: | ||
- sh -c "make test | tee result.txt" | ||
- sh test-report.sh | ||
|
||
notifications: | ||
email: | ||
- [email protected] | ||
# - [email protected] | ||
# - [email protected] | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
--TEST-- | ||
AMQPConnection setTimeout float | ||
AMQPConnection setTimeout out of range | ||
--SKIPIF-- | ||
<?php if (!extension_loaded("amqp")) print "skip"; ?> | ||
--FILE-- | ||
<?php | ||
$cnn = new AMQPConnection(); | ||
try { | ||
@$cnn->setTimeout(-1); | ||
$cnn->setTimeout(-1); | ||
} catch (Exception $e) { | ||
echo get_class($e); | ||
echo PHP_EOL; | ||
echo $e->getMessage(); | ||
} | ||
?> | ||
--EXPECT-- | ||
--EXPECTF-- | ||
%s: AMQPConnection::setTimeout(): AMQPConnection::setTimeout($timeout) method is deprecated; use AMQPConnection::setReadTimeout($timeout) instead in %s on line 4 | ||
AMQPConnectionException | ||
Parameter 'timeout' must be greater than or equal to zero. |
Oops, something went wrong.