Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 44463d7

Browse files
committed
DevKit updates
1 parent 5fa9d85 commit 44463d7

File tree

10 files changed

+107
-41
lines changed

10 files changed

+107
-41
lines changed

.github/Bug_report.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug Report
3+
about: Report errors and problems
4+
5+
---
6+
7+
<!--
8+
The Symfony Code of Conduct applies to all the activity on this repository.
9+
See https://symfony.com/doc/current/contributing/code_of_conduct/index.html
10+
-->
11+
12+
**Description**
13+
<!-- A clear and concise description of the problem. -->
14+
15+
**How to reproduce**
16+
<!-- Code and/or config needed to reproduce the problem. If it's a complex bug,
17+
create a "bug reproducer" as explained in:
18+
https://symfony.com/doc/current/contributing/code/reproducer.html -->
19+
20+
**Possible Solution**
21+
<!--- Optional: only if you have suggestions on a fix/reason for the bug -->
22+
23+
**Additional context**
24+
<!-- Optional: any other context about the problem: log messages, screenshots, etc. -->

.github/Documentation_issue.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Documentation Issue
3+
about: Anything related to Symfony CMF Documentation
4+
5+
---
6+
7+
Symfony CMF Documentation has its own dedicated repository. Please open your
8+
documentation-related issue at https://github.com/symfony-cmf/symfony-cmf-docs/issues
9+
10+
Thanks!

.github/Feature_request.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Feature Request
3+
about: RFC and ideas for new features and improvements
4+
5+
---
6+
7+
**Description**
8+
<!-- A clear and concise description of the new feature. -->
9+
10+
**Example**
11+
<!-- A simple example of the new feature in action (include PHP code, YAML config, etc.)
12+
If the new feature changes an existing feature, include a simple before/after comparison. -->

.github/Security_issue.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Security Issue
3+
about: Report security-related errors
4+
5+
---
6+
7+
If you have found a security issue in Symfony, please send the details to
8+
[David](mailto:[email protected]) or [Maximilian](mailto:[email protected]) and don't disclose it publicly until we can provide a
9+
fix for it.

.github/Support_question.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Support Question
3+
about: Questions about using Symfony CMF and its components
4+
5+
---
6+
7+
**Description**
8+
<!-- A clear and concise description of the problem. -->
9+
10+
**How to reproduce (optional)**
11+
<!-- Optional: Only if you have something to reproduce. Code and/or config needed to reproduce the problem. -->
12+
13+
**Possible Solution**
14+
<!-- Optional: only if you have suggestions to solve it -->
15+

.travis.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,32 @@ cache:
2828
env:
2929
matrix: SYMFONY_VERSION=4.0.*
3030
global:
31-
- SYMFONY_DEPRECATIONS_HELPER=0
31+
- SYMFONY_DEPRECATIONS_HELPER="0"
3232
- SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml"
3333
- KERNEL_CLASS=Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Tests\Fixtures\App\Kernel
34-
- SYMFONY_PHPUNIT_VERSION=5.7
35-
- TEST_INSTALLATION=false
34+
- SYMFONY_PHPUNIT_VERSION=5.7.26
3635

3736
matrix:
3837
include:
39-
- php: 7.1
40-
env: STABILITY=dev SYMFONY_VERSION=4.0.*
41-
- php: 7.1
42-
env: STABILITY=dev COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION=2.8.* SYMFONY_DEPRECATIONS_HELPER=weak
43-
- php: 7.1
44-
env: STABILITY=dev SYMFONY_VERSION=3.3.*
45-
- php: 7.1
46-
env: STABILITY=dev SYMFONY_VERSION=3.4.*
47-
- env: TEST_INSTALLATION=true
38+
- php: "7.1"
39+
env: STABILITY="dev" SYMFONY_VERSION="4.0.*"
40+
- php: "7.1"
41+
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_VERSION="2.8." SYMFONY_DEPRECATIONS_HELPER="0"
42+
- php: "7.1"
43+
env: STABILITY="dev" SYMFONY_VERSION="3.3"
44+
- php: "7.1"
45+
env: STABILITY="dev" SYMFONY_VERSION="3.4.*"
4846
fast_finish: true
49-
allow_failures:
50-
- env: TEST_INSTALLATION=true
5147

5248
before_install:
5349
- phpenv config-rm xdebug.ini || true
5450
- composer self-update
51+
- composer validate --no-check-all --ansi
5552
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
5653
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
5754
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
5855

5956
install: travis_wait composer update --prefer-dist $COMPOSER_FLAGS
60-
6157
script:
6258
- if [ "${TEST_INSTALLATION}" == true ]; then make test_installation; else make test; fi
6359

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ list:
2626
@echo 'unit_tests: will run unit tests only'
2727
@echo 'functional_tests_phpcr: will run functional tests with PHPCR'
2828

29-
@echo 'test_installation: will run installation test'
29+
3030
include ${TESTING_SCRIPTS_DIR}/make/unit_tests.mk
3131
include ${TESTING_SCRIPTS_DIR}/make/functional_tests_phpcr.mk
32-
include ${TESTING_SCRIPTS_DIR}/make/test_installation.mk
3332

3433
.PHONY: test
3534
test: unit_tests functional_tests_phpcr

README.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,37 @@
88
[![Monthly Downloads](https://poser.pugx.org/symfony-cmf/sonata-phpcr-admin-integration-bundle/d/monthly)](https://packagist.org/packages/symfony-cmf/sonata-phpcr-admin-integration-bundle)
99
[![Daily Downloads](https://poser.pugx.org/symfony-cmf/sonata-phpcr-admin-integration-bundle/d/daily)](https://packagist.org/packages/symfony-cmf/sonata-phpcr-admin-integration-bundle)
1010

11-
Branch | Travis | Coveralls |
12-
------ | ------ | --------- |
13-
master | [![Build Status][travis_unstable_badge]][travis_unstable_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
11+
Branch | Travis | Coveralls | Scrutinizer |
12+
------ | ------ | --------- | ----------- |
13+
1.0 | [![Build Status][travis_stable_badge]][travis_stable_link] | [![Coverage Status][coveralls_stable_badge]][coveralls_stable_link] | [![Scrutinizer Status][scrutinizer_stable_badge]][scrutinizer_stable_link] |
14+
1.1-dev | [![Build Status][travis_unstable_badge]][travis_unstable_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] | [![Scrutinizer Status][scrutinizer_unstable_badge]][scrutinizer_unstable_link] |
1415

15-
This package is part of the [Symfony Content Management Framework (CMF)](http://cmf.symfony.com/) and licensed
16+
17+
This package is part of the [Symfony Content Management Framework (CMF)](https://cmf.symfony.com/) and licensed
1618
under the [MIT License](LICENSE).
1719

1820

1921

2022
## Requirements
2123

2224
* PHP 7.1
23-
* Symfony 2.8 / 3.3 / 3.4 / 4.0
25+
* Symfony 2.8. / 3.3 / 3.4 / 4.0
2426
* See also the `require` section of [composer.json](composer.json)
2527

2628
## Documentation
2729

2830
For the install guide and reference, see:
2931

30-
* [symfony-cmf/sonata-phpcr-admin-integration-bundle Documentation](http://symfony.com/doc/master/cmf/bundles/sonata-phpcr-admin-integration-bundle/index.html)
32+
* [symfony-cmf/sonata-phpcr-admin-integration-bundle Documentation](https://symfony.com/doc/master/cmf/bundles/sonata-phpcr-admin-integration-bundle/index.html)
3133

3234
See also:
3335

34-
* [All Symfony CMF documentation](http://symfony.com/doc/master/cmf/index.html) - complete Symfony CMF reference
35-
* [Symfony CMF Website](http://cmf.symfony.com/) - introduction, live demo, support and community links
36+
* [All Symfony CMF documentation](https://symfony.com/doc/master/cmf/index.html) - complete Symfony CMF reference
37+
* [Symfony CMF Website](https://cmf.symfony.com/) - introduction, live demo, support and community links
3638

3739
## Support
3840

39-
For general support and questions, please use [StackOverflow](http://stackoverflow.com/questions/tagged/symfony-cmf).
41+
For general support and questions, please use [StackOverflow](https://stackoverflow.com/questions/tagged/symfony-cmf).
4042

4143
## Contributing
4244

@@ -45,7 +47,7 @@ Pull requests are welcome. Please see our
4547
guide.
4648

4749
Unit and/or functional tests exist for this package. See the
48-
[Testing documentation](http://symfony.com/doc/master/cmf/components/testing.html)
50+
[Testing documentation](https://symfony.com/doc/master/cmf/components/testing.html)
4951
for a guide to running the tests.
5052

5153
Thanks to
@@ -55,16 +57,17 @@ Thanks to
5557

5658
This package is available under the [MIT license](src/Resources/meta/LICENSE).
5759

58-
[travis_legacy_badge]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle.svg?branch=master
59-
[travis_legacy_link]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle
60-
[travis_stable_badge]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle.svg?branch=master
60+
[travis_stable_badge]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle.svg?branch=1.0
6161
[travis_stable_link]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle
62-
[travis_unstable_badge]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle.svg?branch=master
62+
[travis_unstable_badge]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle.svg?branch=1.1-dev
6363
[travis_unstable_link]: https://travis-ci.org/symfony-cmf/sonata-phpcr-admin-integration-bundle
6464

65-
[coveralls_legacy_badge]: https://coveralls.io/repos/github/symfony-cmf/sonata-phpcr-admin-integration-bundle/badge.svg?branch=master
66-
[coveralls_legacy_link]: https://coveralls.io/github/symfony-cmf/sonata-phpcr-admin-integration-bundle?branch=master
67-
[coveralls_stable_badge]: https://coveralls.io/repos/github/symfony-cmf/sonata-phpcr-admin-integration-bundle/badge.svg?branch=master
68-
[coveralls_stable_link]: https://coveralls.io/github/symfony-cmf/sonata-phpcr-admin-integration-bundle?branch=master
69-
[coveralls_unstable_badge]: https://coveralls.io/repos/github/symfony-cmf/sonata-phpcr-admin-integration-bundle/badge.svg?branch=master
70-
[coveralls_unstable_link]: https://coveralls.io/github/symfony-cmf/sonata-phpcr-admin-integration-bundle?branch=master
65+
[coveralls_stable_badge]: https://coveralls.io/repos/github/symfony-cmf/sonata-phpcr-admin-integration-bundle/badge.svg?branch=1.0
66+
[coveralls_stable_link]: https://coveralls.io/github/symfony-cmf/sonata-phpcr-admin-integration-bundle?branch=1.0
67+
[coveralls_unstable_badge]: https://coveralls.io/repos/github/symfony-cmf/sonata-phpcr-admin-integration-bundle/badge.svg?branch=1.1-dev
68+
[coveralls_unstable_link]: https://coveralls.io/github/symfony-cmf/sonata-phpcr-admin-integration-bundle?branch=1.1-dev
69+
70+
[scrutinizer_stable_badge]: https://scrutinizer-ci.com/g/symfony-cmf/sonata-phpcr-admin-integration-bundle/badges/quality-score.png?b=1.0
71+
[scrutinizer_stable_link]: https://scrutinizer-ci.com/g/symfony-cmf/sonata-phpcr-admin-integration-bundle/?branch=1.0
72+
[scrutinizer_unstable_badge]: https://scrutinizer-ci.com/g/symfony-cmf/sonata-phpcr-admin-integration-bundle/badges/quality-score.png?b=1.1-dev
73+
[scrutinizer_unstable_link]: https://scrutinizer-ci.com/g/symfony-cmf/sonata-phpcr-admin-integration-bundle/?branch=1.1-dev

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,5 @@
6767
"conflict": {
6868
"sebastian/environment": "<1.3.4",
6969
"sebastian/exporter": "<2.0.0"
70-
},
71-
"minimum-stability": "dev",
72-
"prefer-stable": true
70+
}
7371
}

src/Resources/meta/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Symfony Cmf Sonata Phpcr Admin Integration Bundle
1+
Symfony CMF Sonata Phpcr Admin Integration Bundle
22

33
The MIT License
44

0 commit comments

Comments
 (0)