Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
Coding Style and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Nov 26, 2014
1 parent f5178c6 commit cada939
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/phpunit.xml
/vendor/
/build/
/composer.lock
1 change: 1 addition & 0 deletions .php_cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

$finder = Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
;

return Symfony\CS\Config\Config::create()
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
}
],
"require": {
"php": ">=5.3.3",
"chili-labs/json-pointer": "1.0.*@dev"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Operation/AddOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct($path, $value)
public function __invoke($document, AccessorInterface $accessor)
{
if ($accessor->has($document, $this->path)) {
throw new OperationException(sprintf('The path "%s" does already exist.', (string)$this->path));
throw new OperationException(sprintf('The path "%s" does already exist.', (string) $this->path));
}

$accessor->set($document, $this->path, $this->value);
Expand Down
1 change: 0 additions & 1 deletion tests/Operation/AddOperationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
*/
class AddOperationTest extends \PHPUnit_Framework_TestCase
{

public function testOperation()
{
$operation = new AddOperation('/node2', 'new');
Expand Down

0 comments on commit cada939

Please sign in to comment.