Skip to content

Commit

Permalink
Compatibility with Symfony 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
m-adamski committed Feb 7, 2020
1 parent e16d379 commit 2e583d0
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 3,397 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.idea/
/vendor/
composer.lock
composer.phar
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: php
os: linux
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/symfony-bridge/.phpunit

env:
global:
- PHPUNIT_FLAGS="-v"
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
jobs:
fast_finish: true
include:
- php: 7.2
env: DEPENDENCIES="symfony/symfony:^4.1"

- php: 7.2
env: DEPENDENCIES="symfony/symfony:^5.0"

- php: 7.3
- php: 7.4

before_install:
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;

install:
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
- ./vendor/bin/simple-phpunit install

script:
- composer validate --strict --no-check-lock
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Notification Bundle for Symfony 4
# Notification Bundle for Symfony

The Symfony 4 Bundle, which aims to simplify the communication with the end user.
The Symfony Bundle, which aims to simplify the communication with the end user.
By using simple functions, we can create information that will later be displayed to the user.

This bundle is compatible with Symfony 4.1 and Symfony 5.0. Symfony 3.4 compatibility abandoned.

## Installation

This bundle can be installed by Composer:
Expand Down
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "m-adamski/symfony-notification-bundle",
"description": "Bundle for Symfony 4 which helps display information for the user",
"description": "Bundle for Symfony which helps display information for the user",
"type": "symfony-bundle",
"license": "MIT",
"authors": [
Expand All @@ -10,14 +10,13 @@
}
],
"require": {
"php": "^7.1",
"symfony/framework-bundle": "^3.4|^4.1",
"symfony/twig-bundle": "^3.4|^4.1"
"php": "^7.2",
"symfony/framework-bundle": "^4.1|^5.0",
"symfony/twig-bundle": "^4.1|^5.0"
},
"require-dev": {
"kint-php/kint": "^3.0",
"phpunit/phpunit": "^7.4",
"symfony/phpunit-bridge": "^4.1"
"symfony/phpunit-bridge": "^4.1|^5.0"
},
"config": {
"sort-packages": true
Expand All @@ -34,7 +33,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
"dev-master": "2.0.x-dev"
}
}
}
Loading

0 comments on commit 2e583d0

Please sign in to comment.