-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from hshn/catching-up
Updated outdated stuffs
- Loading branch information
Showing
6 changed files
with
17 additions
and
59 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,28 @@ | ||
language: php | ||
|
||
node_js: | ||
- 0.12 | ||
cache: | ||
directories: | ||
- .phpunit | ||
- $HOME/.composer/cache/files | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.2 | ||
env: SYMFONY_VERSION=2.8.* | ||
- php: 7.2 | ||
env: SYMFONY_VERSION=3.3.* | ||
- php: 7.2 | ||
env: SYMFONY_VERSION=3.4.* | ||
- php: 7.2 | ||
env: SYMFONY_VERSION=4.0.* | ||
- php: 7.1 | ||
env: DEPENDENCY="symfony/lts:^2" | ||
- php: 7.1 | ||
env: DEPENDENCY="symfony/lts:^3" | ||
|
||
before_install: | ||
- composer selfupdate | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; | ||
- if [ "$DEPENDENCY" != "" ]; then composer require "${DEPENDENCY}" --dev --no-update; fi; | ||
|
||
install: | ||
- npm install | ||
- composer update --prefer-source --no-interaction | ||
|
||
script: npm test | ||
script: composer run-script test |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
use Symfony\Component\Form\AbstractType; | ||
use Symfony\Component\Form\FormBuilderInterface; | ||
use Symfony\Component\OptionsResolver\OptionsResolver; | ||
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | ||
|
||
|
||
/** | ||
* @author Shota Hoshino <[email protected]> | ||
|
@@ -61,17 +59,6 @@ public function getBlockPrefix() | |
return 'file_base64_encoded'; | ||
} | ||
|
||
/** | ||
* BC for SF < 2.7 | ||
* | ||
* @param \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver | ||
*/ | ||
public function setDefaultOptions(OptionsResolverInterface $resolver) | ||
{ | ||
/* @var $resolver OptionsResolver */ | ||
$this->configureOptions($resolver); | ||
} | ||
|
||
/** | ||
* BC for SF < 3.0 | ||
* | ||
|
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