fixed coding standard to be psr compliant #42

Merged
merged 2 commits into from Oct 12, 2012

Conversation

Projects
None yet
2 participants
@brikou
Contributor

brikou commented Oct 12, 2012

fixed cs using php cs fixer

PhpAmqpLib/Channel/AMQPChannel.php
+ public function set_return_listener($callback)
+ {
+ if(!is_callable($callback))
+ throw new \InvalidArgumentException('$callback should be callable.');

This comment has been minimized.

@videlalvaro

videlalvaro Oct 12, 2012

Collaborator

Now that I see we need double quotes here right? Else $callback won't be in the output

@videlalvaro

videlalvaro Oct 12, 2012

Collaborator

Now that I see we need double quotes here right? Else $callback won't be in the output

@videlalvaro

This comment has been minimized.

Show comment
Hide comment
@videlalvaro

videlalvaro Oct 12, 2012

Collaborator

Would you mind fixing that small issue I've found that was there even before your changes? After that I press the button :)

Collaborator

videlalvaro commented Oct 12, 2012

Would you mind fixing that small issue I've found that was there even before your changes? After that I press the button :)

@brikou

This comment has been minimized.

Show comment
Hide comment
@brikou

brikou Oct 12, 2012

Contributor

@videlalvaro done ;)

Contributor

brikou commented Oct 12, 2012

@videlalvaro done ;)

videlalvaro added a commit that referenced this pull request Oct 12, 2012

Merge pull request #42 from brikou/dev_psr
fixed coding standard to be psr compliant

@videlalvaro videlalvaro merged commit 8a393d2 into php-amqplib:master Oct 12, 2012

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment