Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into GH-39
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Apr 14, 2015
2 parents fd92ce6 + d02b6ef commit 75950b5
Show file tree
Hide file tree
Showing 67 changed files with 4,065 additions and 1,670 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
language: php
before_script:
- composer self-update
- composer install --dev --prefer-dist
script: phpunit; php vendor/bin/behat --format progress
script: php vendor/bin/phpunit; php vendor/bin/behat --format progress
php:
- 5.4
- 5.5
- 5.6
- 7.0

matrix:
fast_finish: true
allow_failures:
- php: hhvm
- php: 7
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ It outputs a diff to the screen and you can apply it to your code by piping it t

php refactor.phar <refactoring> <arg1>...<argN> | patch -p1

### Editor Plugins

There are third-party plugins available for using PHP refactorings within
different text editors. These separately maintained projects can be found at
the links below:

* vim : https://github.com/vim-php/vim-php-refactoring
* emacs : https://github.com/keelerm84/php-refactor-mode.el

## Why?

Users of PHPStorm (or Netbeans) might wonder why this project exists, all the
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@
"nikic/php-parser": "@stable",
"beberlei/assert": "@stable",
"andrewsville/php-token-reflection": "@stable",
"symfony/finder": "@stable",
"symfony/console": "@stable"
"symfony/finder": "~2.4@stable",
"symfony/console": "~2.4@stable",
"tomphp/patch-builder": "~0.1"
},

"require-dev": {
"php": ">=5.4",
"behat/behat": "@stable",
"behat/behat": "~2.5@stable",
"mikey179/vfsStream": "@stable",
"phake/phake": "@stable",
"symfony/process": "@stable"
"symfony/process": "@stable",
"phpunit/phpunit": "~4.6@stable"
},

"autoload": {
Expand All @@ -31,7 +33,5 @@
}
},

"bin": ["src/bin/refactor"],

"minimum-stability": "dev"
"bin": ["src/bin/refactor"]
}
Loading

0 comments on commit 75950b5

Please sign in to comment.