-
Notifications
You must be signed in to change notification settings - Fork 248
Add symfony 3.0 support #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
db28c35
Add symfony 3.0 support
348de13
Fix usage of deprecated class FlattenException
127d2d3
Update travis.yml and composer.json
ae2cc0d
HHVM is not compatible with the bundle
9c9a355
Update constraints temporally
edea60e
Use the finder to find the `console` command
35dc7ad
Resolving error: You have requested a non-existent service "request"
471cfb5
Remove commented attribute
6f0019b
Fixes
35ac0b9
Merge https://github.com/Ener-Getick/JMSJobQueueBundle/pull/2
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,3 +1,3 @@ | ||
| phpunit.xml | ||
| vendor/ | ||
|
|
||
| composer.lock |
This file contains hidden or 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,15 +1,33 @@ | ||
| language: php | ||
|
|
||
| sudo: false | ||
|
|
||
| cache: | ||
| directories: | ||
| - "$HOME/.composer/cache" | ||
|
|
||
| php: | ||
| - 5.5 | ||
| - 5.6 | ||
| - 5.5 | ||
| - 5.6 | ||
| - 7.0 | ||
|
|
||
| before_script: | ||
| - curl -s http://getcomposer.org/installer | php | ||
| - php composer.phar install --dev | ||
| matrix: | ||
| include: | ||
| - php: 7.0 | ||
| env: SYMFONY_VERSION="2.3.*" | ||
| - php: 7.0 | ||
| env: SYMFONY_VERSION="2.7.*" | ||
| - php: 7.0 | ||
| env: SYMFONY_VERSION="2.8.*" | ||
| - php: 7.0 | ||
| env: SYMFONY_VERSION="3.0.*" | ||
|
|
||
| script: phpunit --coverage-clover clover | ||
| before_install: | ||
| - composer self-update | ||
| - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony:${SYMFONY_VERSION}; fi | ||
|
|
||
| after_success: | ||
| - curl -sL https://bit.ly/artifact-uploader | php | ||
| install: composer update | ||
|
|
||
| script: phpunit --coverage-clover clover | ||
|
|
||
| after_success: curl -sL https://bit.ly/artifact-uploader | php |
This file contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we detect the console command based on how this command itself was started?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would you do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you check the content of
$_SERVER, there should be everything you need.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much more complicated as the user can use either
php consoleorconsoleso we would have to parse the input.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should do the trick, whether the
phpexecutable is mentioned or not.This looks safer than expecting to find a single file called
consolesomewhere under the root dir - which is a convention that not all projects might follow.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nclavaud could you send a PR on my repo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ener-Getick @schmittjoh what do you think of https://github.com/Ener-Getick/JMSJobQueueBundle/pull/3 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nclavaud i don't think it will work when using
phpunit:/