Skip to content

Commit

Permalink
Merge pull request #6 from smartynovych/smartynovych-patch-1
Browse files Browse the repository at this point in the history
Update composer.json to support symfony 4
  • Loading branch information
giggsey authored Dec 29, 2017
2 parents e351a72 + 62a807f commit 1741ce0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"pear/versioncontrol_git": "^0.5",
"pear/pear-core-minimal": "^1.9",
"pear/pear_exception": "^1.0",
"symfony/console": "^2.8|^3.0",
"symfony/filesystem": "^2.8|^3.0",
"symfony/process": "^2.8|^3.0",
"symfony/finder": "^2.8|^3.0"
"symfony/console": "^2.8|^3.0|^4.0",
"symfony/filesystem": "^2.8|^3.0|^4.0",
"symfony/process": "^2.8|^3.0|^4.0",
"symfony/finder": "^2.8|^3.0|^4.0"
},
"autoload": {
"psr-4": {
Expand Down
11 changes: 3 additions & 8 deletions tests/PhingCompareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Finder\SplFileInfo;
use Symfony\Component\Process\ProcessBuilder;
use Symfony\Component\Process\Process;

class PhingCompareTest extends \PHPUnit_Framework_TestCase
{
Expand Down Expand Up @@ -35,13 +35,8 @@ public static function tearDownAfterClass()
public function testRunningPhing()
{
// Run phing compile
$builder = new ProcessBuilder();
$builder->setPrefix(__DIR__ . '/../vendor/bin/phing');
$builder->setWorkingDirectory(__DIR__ . '/../');
$builder->setArguments(array('compile'));

$process = $builder->getProcess();

$process = new Process(__DIR__ . '/../vendor/bin/phing compile');
$process->setWorkingDirectory(__DIR__ . '/../');
$process->run();

// Print this for keepsakes
Expand Down

0 comments on commit 1741ce0

Please sign in to comment.