Skip to content

Commit fef2ca3

Browse files
authored
Merge pull request #30 from seferov/symfony4
Symfony4 support
2 parents e0f0e24 + 84bcea8 commit fef2ca3

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@ matrix:
1818
env: SYMFONY_VERSION="2.8.*"
1919
- php: 7.1
2020
env: SYMFONY_VERSION="3.4.*"
21+
- php: 7.1
22+
env: SYMFONY_VERSION="4.0.*"
23+
- php: 7.1
24+
env: SYMFONY_VERSION="4.1.*"
2125
# Test latest PHP against all symfony versions
2226
- php: 7.2
2327
env: SYMFONY_VERSION="2.7.*"
2428
- php: 7.2
2529
env: SYMFONY_VERSION="2.8.*"
2630
- php: 7.2
2731
env: SYMFONY_VERSION="3.4.*"
32+
- php: 7.2
33+
env: SYMFONY_VERSION="4.0.*"
34+
- php: 7.2
35+
env: SYMFONY_VERSION="4.1.*"
2836

2937
before_install:
3038
- composer self-update

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/mybuilder/cronos-bundle.svg?branch=master)](https://travis-ci.org/mybuilder/cronos-bundle)
44

5-
A bundle for Symfony 2/3 that allows you to use `@Cron` annotations to configure when cron should run your console commands.
5+
A bundle for Symfony that allows you to use `@Cron` annotations to configure when cron should run your console commands.
66

77
Uses the [Cronos](https://github.com/mybuilder/cronos) library to do the actual output and updating.
88

composer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mybuilder/cronos-bundle",
3-
"description": "Symfony 2/3 bundle which allows you to use @Cron annotations to configure cron to run your console commands.",
3+
"description": "Symfony bundle which allows you to use @Cron annotations to configure cron to run your console commands.",
44
"keywords": ["cron", "cronos"],
55
"minimum-stability": "stable",
66
"license": "MIT",
@@ -19,10 +19,10 @@
1919
"require": {
2020
"mybuilder/cronos": "~2.0",
2121
"doctrine/annotations": "1.*",
22-
"symfony/console": "~2.7|~3.0",
23-
"symfony/framework-bundle": "~2.7|~3.0",
24-
"php": ">=7.1",
25-
"symfony/yaml": "~2.7|~3.0"
22+
"symfony/console": "~2.7|~3.0||^4.0",
23+
"symfony/framework-bundle": "~2.7|~3.0||^4.0",
24+
"symfony/yaml": "~2.7|~3.0||^4.0",
25+
"php": ">=7.1"
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "~7.0"
@@ -33,10 +33,5 @@
3333
"target-dir": "MyBuilder/Bundle/CronosBundle",
3434
"config": {
3535
"bin-dir": "bin"
36-
},
37-
"extra": {
38-
"branch-alias": {
39-
"dev-master": "2.0-dev"
40-
}
4136
}
4237
}

0 commit comments

Comments
 (0)