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
I, Jens Schulze, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Thu Mar 16 2017 13:56:04 GMT+0100 (CET) |
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
public class Foo | |
{ | |
public boolean bar(int a, int b) | |
{ | |
if (a == b) { | |
return false; | |
} | |
return true; | |
} |
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
<?php | |
namespace App; | |
use Cache\Adapter\Filesystem\FilesystemCachePool; | |
use Commercetools\Core\Builder\Request\RequestBuilder; | |
use Commercetools\Core\Client; | |
use Commercetools\Core\Config; | |
use Commercetools\Core\Request\Products\Command\ProductUnpublishAction; | |
use League\Flysystem\Adapter\Local; | |
use League\Flysystem\Filesystem; |
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
<?php | |
require __DIR__ . '/../vendor/autoload.php'; | |
use Doctrine\Common\Annotations\AnnotationRegistry; | |
use JMS\Serializer\Annotation as Serializer; | |
use JMS\Serializer\Annotation\Type; | |
use JMS\Serializer\SerializerBuilder; | |
use pcrov\JsonReader\JsonReader; |
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
#!/bin/sh | |
export PATH="/usr/local/bin:$PATH" | |
php vendor/bin/phpunit --configuration phpunit.xml.dist --testsuite=unit | |
if [[ $? -ne 0 ]]; then | |
exit 1 | |
fi | |
PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` |