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

Commit 75950b5

Browse files
committed
Merge branch 'master' into GH-39
2 parents fd92ce6 + d02b6ef commit 75950b5

File tree

67 files changed

+4065
-1670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4065
-1670
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
language: php
22
before_script:
3+
- composer self-update
34
- composer install --dev --prefer-dist
4-
script: phpunit; php vendor/bin/behat --format progress
5+
script: php vendor/bin/phpunit; php vendor/bin/behat --format progress
56
php:
67
- 5.4
78
- 5.5
9+
- 5.6
10+
- 7.0
11+
12+
matrix:
13+
fast_finish: true
14+
allow_failures:
15+
- php: hhvm
16+
- php: 7

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ It outputs a diff to the screen and you can apply it to your code by piping it t
3535

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

38+
### Editor Plugins
39+
40+
There are third-party plugins available for using PHP refactorings within
41+
different text editors. These separately maintained projects can be found at
42+
the links below:
43+
44+
* vim : https://github.com/vim-php/vim-php-refactoring
45+
* emacs : https://github.com/keelerm84/php-refactor-mode.el
46+
3847
## Why?
3948

4049
Users of PHPStorm (or Netbeans) might wonder why this project exists, all the

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@
1111
"nikic/php-parser": "@stable",
1212
"beberlei/assert": "@stable",
1313
"andrewsville/php-token-reflection": "@stable",
14-
"symfony/finder": "@stable",
15-
"symfony/console": "@stable"
14+
"symfony/finder": "~2.4@stable",
15+
"symfony/console": "~2.4@stable",
16+
"tomphp/patch-builder": "~0.1"
1617
},
1718

1819
"require-dev": {
1920
"php": ">=5.4",
20-
"behat/behat": "@stable",
21+
"behat/behat": "~2.5@stable",
2122
"mikey179/vfsStream": "@stable",
2223
"phake/phake": "@stable",
23-
"symfony/process": "@stable"
24+
"symfony/process": "@stable",
25+
"phpunit/phpunit": "~4.6@stable"
2426
},
2527

2628
"autoload": {
@@ -31,7 +33,5 @@
3133
}
3234
},
3335

34-
"bin": ["src/bin/refactor"],
35-
36-
"minimum-stability": "dev"
36+
"bin": ["src/bin/refactor"]
3737
}

0 commit comments

Comments
 (0)