From a9507e3a964a7ec468a378d04bef2173160a9fb2 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Sat, 15 Aug 2020 02:12:25 +0000 Subject: [PATCH 1/3] DevKit updates --- .editorconfig | 4 +++ .flintci.yml | 4 +++ .gitattributes | 4 +++ .github/ISSUE_TEMPLATE.md | 52 ------------------------------ .github/ISSUE_TEMPLATE/Question.md | 7 ---- .github/ISSUE_TEMPLATE/config.yml | 12 +++++++ .github/workflows/lint.yaml | 4 +++ .github/workflows/stale.yaml | 4 +++ .travis.yml | 3 +- .travis/after_success_test.sh | 5 +++ .travis/before_install_test.sh | 5 +++ .travis/before_script_test.sh | 5 +++ .travis/check_relevant_test.sh | 5 +++ .travis/install_test.sh | 5 +++ .yamllint | 4 +++ CONTRIBUTING.md | 6 ++++ README.md | 6 ++++ docs/.doctor-rst.yaml | 4 +++ docs/conf.py | 4 +++ docs/requirements.txt | 1 + tests/autoload.php.dist | 6 ++++ tests/bootstrap.php | 6 ++++ 22 files changed, 95 insertions(+), 61 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md delete mode 100644 .github/ISSUE_TEMPLATE/Question.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.editorconfig b/.editorconfig index dca0534c..b2621ff9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + root = true [*] diff --git a/.flintci.yml b/.flintci.yml index 8258ef2e..0de2252f 100644 --- a/.flintci.yml +++ b/.flintci.yml @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + services: composernormalize: true phpcsfixer: true diff --git a/.gitattributes b/.gitattributes index 667b29d7..14d001e6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + .* export-ignore *.md export-ignore tests export-ignore diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index b5a8d110..00000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,52 +0,0 @@ - - - - -### Environment - -#### Sonata packages - -``` -$ composer show --latest 'sonata-project/*' -# Put the result here. -``` - -#### Symfony packages - -``` -$ composer show --latest 'symfony/*' -# Put the result here. -``` - -#### PHP version - -``` -$ php -v -# Put the result here. -``` - -## Subject - - - -## Steps to reproduce - -## Expected results - -## Actual results - - diff --git a/.github/ISSUE_TEMPLATE/Question.md b/.github/ISSUE_TEMPLATE/Question.md deleted file mode 100644 index e363f8e5..00000000 --- a/.github/ISSUE_TEMPLATE/Question.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -name: ⛔ NO support questions -about: If you have a question, please check out our Slack or StackOverflow! ---- - -Hi, we try to keep Github issues for bug reports and feature requests only. -If you have a question, please ask it on Stack Overflow or on #sonata on [the symfony-devs slack](https://symfony.com/slack-invite). diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..7876e7c9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,12 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + +blank_issues_enabled: false +contact_links: + - name: StackOverflow + url: https://stackoverflow.com/questions/tagged/sonata + about: 'Questions tagged with "sonata" on StackOverflow' + - name: Slack + url: https://symfony-devs.slack.com/archives/C3GC7MKM5 + about: '#sonata channel on Symfony Devs Slack' diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ee088834..0e4647bc 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + on: [push, pull_request] name: Lint diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index dd4acf6e..9679ec46 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + # https://github.com/actions/stale name: "Stale" diff --git a/.travis.yml b/.travis.yml index b8f7fed9..24dbbf51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,8 +33,7 @@ matrix: - php: '7.2' env: COMPOSER_FLAGS="--prefer-lowest" - php: '7.3' - env: SYMFONY=4.4.* - - php: '7.3' + env: SYMFONY=4.4.* - php: '7.3' env: SYMFONY='dev-master as 4.4.x-dev' - php: '7.3' env: SYMFONY_DEPRECATIONS_HELPER=0 diff --git a/.travis/after_success_test.sh b/.travis/after_success_test.sh index 87158518..ef9cea09 100755 --- a/.travis/after_success_test.sh +++ b/.travis/after_success_test.sh @@ -1,4 +1,9 @@ #!/usr/bin/env sh + +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + set -ev coveralls -v diff --git a/.travis/before_install_test.sh b/.travis/before_install_test.sh index 57da5d5f..60bdd673 100755 --- a/.travis/before_install_test.sh +++ b/.travis/before_install_test.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + set -ev PHP_INI_DIR="$HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/" diff --git a/.travis/before_script_test.sh b/.travis/before_script_test.sh index 61e55240..74788e5d 100755 --- a/.travis/before_script_test.sh +++ b/.travis/before_script_test.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + set -ev if [ -f .travis/before_script_test.local.sh ] diff --git a/.travis/check_relevant_test.sh b/.travis/check_relevant_test.sh index a4ad2903..6fa88cb6 100755 --- a/.travis/check_relevant_test.sh +++ b/.travis/check_relevant_test.sh @@ -1,4 +1,9 @@ #!/usr/bin/env bash + +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + set -ev RELEVANT_FILES=$(git diff --name-only HEAD upstream/${TRAVIS_BRANCH} -- '*.php' '*.yml' '*.xml' '*.twig' '*.js' '*.css' '*.json') diff --git a/.travis/install_test.sh b/.travis/install_test.sh index c02c107c..70324c80 100755 --- a/.travis/install_test.sh +++ b/.travis/install_test.sh @@ -1,4 +1,9 @@ #!/usr/bin/env sh + +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + set -ev mkdir --parents "${HOME}/bin" diff --git a/.yamllint b/.yamllint index 228b748a..c4a9cdb4 100644 --- a/.yamllint +++ b/.yamllint @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + extends: default rules: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8fdf799..dee6ca3e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,9 @@ + + # Sonata project contribution Thanks for your interest in Sonata projects! diff --git a/README.md b/README.md index 093e30a5..c28e03b3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Sonata Notification Bundle Symfony SonataNotificationBundle diff --git a/docs/.doctor-rst.yaml b/docs/.doctor-rst.yaml index 29257eb9..641228cd 100644 --- a/docs/.doctor-rst.yaml +++ b/docs/.doctor-rst.yaml @@ -1,3 +1,7 @@ +# DO NOT EDIT THIS FILE! +# +# It's auto-generated by sonata-project/dev-kit package. + rules: blank_line_after_directive: ~ short_array_syntax: ~ diff --git a/docs/conf.py b/docs/conf.py index 66f99f3e..8c595cda 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,5 +1,9 @@ # -*- coding: utf-8 -*- + +# DO NOT EDIT THIS FILE! # +# It's auto-generated by sonata-project/dev-kit package. + # IoC documentation build configuration file, created by # sphinx-quickstart on Fri Mar 29 01:43:00 2013. # diff --git a/docs/requirements.txt b/docs/requirements.txt index a86ef50a..ee596d3c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,7 @@ # DO NOT EDIT THIS FILE! # # It's auto-generated by sonata-project/dev-kit package. + Sphinx==1.8.5 git+https://github.com/fabpot/sphinx-php.git sphinx_rtd_theme diff --git a/tests/autoload.php.dist b/tests/autoload.php.dist index cbba4048..d862976b 100644 --- a/tests/autoload.php.dist +++ b/tests/autoload.php.dist @@ -1,5 +1,11 @@ Date: Sat, 15 Aug 2020 10:41:18 +0000 Subject: [PATCH 2/3] DevKit updates --- .travis.yml | 3 ++- docs/conf.py | 2 +- tests/bootstrap.php | 12 ++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24dbbf51..b8f7fed9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,8 @@ matrix: - php: '7.2' env: COMPOSER_FLAGS="--prefer-lowest" - php: '7.3' - env: SYMFONY=4.4.* - php: '7.3' + env: SYMFONY=4.4.* + - php: '7.3' env: SYMFONY='dev-master as 4.4.x-dev' - php: '7.3' env: SYMFONY_DEPRECATIONS_HELPER=0 diff --git a/docs/conf.py b/docs/conf.py index 8c595cda..44468697 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,7 +48,7 @@ master_doc = 'index' # General information about the project. -project = u'' +project = u'Sonata Notification Bundle' copyright = u'2010-2019, Thomas Rabaix' # The version info for the project you're documenting, acts as replacement for diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 047c92d5..12813b1d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,12 +2,6 @@ declare(strict_types=1); -/** - * DO NOT EDIT THIS FILE! - * - * It's auto-generated by sonata-project/dev-kit package. - */ - /* * This file is part of the Sonata Project package. * @@ -17,6 +11,12 @@ * file that was distributed with this source code. */ +/** + * DO NOT EDIT THIS FILE! + * + * It's auto-generated by sonata-project/dev-kit package. + */ + /* * fix encoding issue while running text on different host with different locale configuration */ From 90fb039fee03cbe5eaf9d5522ec92c1d6741f800 Mon Sep 17 00:00:00 2001 From: SonataCI Date: Sat, 15 Aug 2020 11:01:57 +0000 Subject: [PATCH 3/3] DevKit updates --- .php_cs.dist | 2 +- tests/autoload.php.dist | 2 +- tests/bootstrap.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 47f50fea..6f7ff02b 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,6 +1,6 @@