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

Commit 4865f0b

Browse files
Master dev kit (#162)
* DevKit updates * improvements to run tests
1 parent c8e2688 commit 4865f0b

File tree

11 files changed

+189
-20
lines changed

11 files changed

+189
-20
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
indent_style = space
6+
charset = utf-8
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.{yml,twig,php}]
11+
indent_size = 4
12+
13+
[*.{js,json,scss,css}]
14+
indent_size = 2
15+
16+
[.travis.yml]
17+
indent_size = 2
18+
19+
[composer.json]
20+
indent_size = 4
21+
22+
[Makefile]
23+
indent_style = tab

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.* export-ignore
2+
*.md export-ignore
3+
Tests/* export-ignore

.github/ISSUE_TEMPLATE.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!--
2+
Before you open an issue, make sure this one does not already exist.
3+
Please also read the "guidelines for contributing" link above before posting.
4+
-->
5+
6+
<!--
7+
If you are reporting a bug, please try to fill in the following.
8+
Otherwise remove it.
9+
-->
10+
11+
### Environment
12+
13+
#### Symfony packages
14+
15+
```
16+
$ composer show --latest 'symfony/*'
17+
```
18+
19+
#### Symfony CMF packages
20+
21+
```
22+
$ composer show --latest 'symfony-cmf/*'
23+
```
24+
25+
## Subject
26+
27+
<!--
28+
Give here as many details as possible.
29+
Next sections are for ERRORS only.
30+
-->
31+
32+
## Steps to reproduce
33+
34+
## Expected results
35+
36+
## Actual results
37+
38+
<!--
39+
If it's an error message or piece of code, use code block tags,
40+
and make sure you provide the whole stack trace(s),
41+
not just the first error message you can see.
42+
More details here: https://github.com/symfony-cmf/tree-browser-bundle/blob/master/CONTRIBUTING.md#issues
43+
-->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
| Q | A
2+
| ------------- | ---
3+
| Branch? | "master" for new features / the branch of the current release for fixes
4+
| Bug fix? | yes/no
5+
| New feature? | yes/no
6+
| BC breaks? | yes/no
7+
| Deprecations? | yes/no
8+
| Fixed tickets | comma-separated list of tickets fixed by the PR, if any
9+
| License | MIT
10+
| Doc PR | reference to the documentation PR, if any

.styleci.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
1+
#######################################################
2+
# DO NOT EDIT THIS FILE! #
3+
# #
4+
# It's auto-generated by symfony-cmf/dev-kit package. #
5+
#######################################################
6+
7+
############################################################################
8+
# This file is part of the Symfony CMF package. #
9+
# #
10+
# (c) 2011-2017 Symfony CMF #
11+
# #
12+
# For the full copyright and license information, please view the LICENSE #
13+
# file that was distributed with this source code. #
14+
############################################################################
15+
16+
117
preset: symfony
218

319
enabled:
4-
- ordered_use
20+
- combine_consecutive_unsets
521
- short_array_syntax
6-
22+
- newline_after_open_tag
23+
- no_php4_constructor
24+
- no_useless_else
25+
- ordered_use
26+
- strict
27+
- php_unit_construct
28+
729
disabled: [single_line_class_definition]

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Contributing
22
------------
33

4-
Symfony2 CMF is an open source, community-driven project. We follow the same
5-
guidelines as core Symfony2. If you'd like to contribute, please read the
4+
Symfony CMF is an open source, community-driven project. We follow the same
5+
guidelines as core Symfony. If you'd like to contribute, please read the
66
[Contributing Code][1] part of the documentation. If you're submitting a pull
77
request, please follow the guidelines in the [Submitting a Patch][2] section
88
and use the [Pull Request Template][3].

Makefile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#######################################################
2+
# DO NOT EDIT THIS FILE! #
3+
# #
4+
# It's auto-generated by symfony-cmf/dev-kit package. #
5+
#######################################################
6+
7+
############################################################################
8+
# This file is part of the Symfony CMF package. #
9+
# #
10+
# (c) 2011-2017 Symfony CMF #
11+
# #
12+
# For the full copyright and license information, please view the LICENSE #
13+
# file that was distributed with this source code. #
14+
############################################################################
15+
16+
ifeq ("symfony-cmf/tree-browser-bundle", "symfony-cmf/testing")
17+
TESTING_SCRIPTS_DIR=bin
18+
else
19+
TESTING_SCRIPTS_DIR=vendor/symfony-cmf/testing/bin
20+
endif
21+
CONSOLE=${TESTING_SCRIPTS_DIR}/console
22+
VERSION=dev-master
23+
ifdef BRANCH
24+
VERSION=dev-${BRANCH}
25+
endif
26+
PACKAGE=symfony-cmf/tree-browser-bundle
27+
28+
list:
29+
@echo 'test: will run all tests'
30+
@echo 'unit_tests: will run unit tests only'
31+
32+
33+
34+
include ${TESTING_SCRIPTS_DIR}/make/unit_tests.mk
35+
36+
.PHONY: test
37+
test: unit_tests

README.md

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,71 @@
11
# Symfony CMF Tree Browser Bundle
22

3-
[![Build Status](https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master)](https://travis-ci.org/symfony-cmf/tree-browser-bundle)
4-
[![StyleCI](https://styleci.io/repos/4233010/shield)](https://styleci.io/repos/4233010)
5-
[![Latest Stable Version](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/version.png)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
6-
[![Total Downloads](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/d/total.png)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
3+
[![Latest Stable Version](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/v/stable)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
4+
[![Latest Unstable Version](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/v/unstable)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
5+
[![License](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/license)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
76

8-
This bundle is part of the [Symfony Content Management Framework (CMF)](http://cmf.symfony.com/)
9-
and licensed under the [MIT License](LICENSE).
7+
[![Total Downloads](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/downloads)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
8+
[![Monthly Downloads](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/d/monthly)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
9+
[![Daily Downloads](https://poser.pugx.org/symfony-cmf/tree-browser-bundle/d/daily)](https://packagist.org/packages/symfony-cmf/tree-browser-bundle)
10+
11+
Branch | Travis | Coveralls |
12+
------ | ------ | --------- |
13+
master | [![Build Status][travis_unstable_badge]][travis_unstable_link] | [![Coverage Status][coveralls_unstable_badge]][coveralls_unstable_link] |
14+
15+
This package is part of the [Symfony Content Management Framework (CMF)](http://cmf.symfony.com/) and licensed
16+
under the [MIT License](LICENSE).
1017

1118
The TreeBrowserBundle provides tree navigation for the Content Repository.
1219

1320

1421
## Requirements
1522

16-
* Symfony 2.8+
23+
* PHP 5.6 / 7.0 / 7.1
24+
* Symfony 2.8 / 3.1 / 3.2 / 3.3
1725
* See also the `require` section of [composer.json](composer.json)
1826

19-
2027
## Documentation
2128

2229
For the install guide and reference, see:
2330

24-
* [TreeBrowserBundle documentation](http://symfony.com/doc/master/cmf/bundles/tree_browser/index.html)
31+
* [symfony-cmf/tree-browser-bundle Documentation](http://symfony.com/doc/master/cmf/bundle/tree-browser-bundle/index.html)
2532

2633
See also:
2734

2835
* [All Symfony CMF documentation](http://symfony.com/doc/master/cmf/index.html) - complete Symfony CMF reference
2936
* [Symfony CMF Website](http://cmf.symfony.com/) - introduction, live demo, support and community links
3037

38+
## Support
39+
40+
For general support and questions, please use [StackOverflow](http://stackoverflow.com/questions/tagged/symfony-cmf).
3141

3242
## Contributing
3343

34-
Pull requests are welcome. Please see our [CONTRIBUTING](CONTRIBUTING.md) guide.
44+
Pull requests are welcome. Please see our
45+
[CONTRIBUTING](https://github.com/symfony-cmf/symfony-cmf/blob/master/CONTRIBUTING.md)
46+
guide.
3547

36-
Unit and/or functional tests exist for this bundle. See the
48+
Unit and/or functional tests exist for this package. See the
3749
[Testing documentation](http://symfony.com/doc/master/cmf/components/testing.html)
3850
for a guide to running the tests.
3951

4052
Thanks to
41-
[everyone who has contributed](https://github.com/symfony-cmf/TreeBrowserBundle/contributors) already.
53+
[everyone who has contributed](contributors) already.
54+
55+
## License
56+
57+
This package is available under the [MIT license](src/Resources/meta/LICENSE).
58+
59+
[travis_legacy_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
60+
[travis_legacy_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
61+
[travis_stable_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
62+
[travis_stable_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
63+
[travis_unstable_badge]: https://travis-ci.org/symfony-cmf/tree-browser-bundle.svg?branch=master
64+
[travis_unstable_link]: https://travis-ci.org/symfony-cmf/tree-browser-bundle
65+
66+
[coveralls_legacy_badge]: https://coveralls.io/repos/github/symfony-cmf/tree-browser-bundle/badge.svg?branch=master
67+
[coveralls_legacy_link]: https://coveralls.io/github/symfony-cmf/tree-browser-bundle?branch=master
68+
[coveralls_stable_badge]: https://coveralls.io/repos/github/symfony-cmf/tree-browser-bundle/badge.svg?branch=master
69+
[coveralls_stable_link]: https://coveralls.io/github/symfony-cmf/tree-browser-bundle?branch=master
70+
[coveralls_unstable_badge]: https://coveralls.io/repos/github/symfony-cmf/tree-browser-bundle/badge.svg?branch=master
71+
[coveralls_unstable_link]: https://coveralls.io/github/symfony-cmf/tree-browser-bundle?branch=master

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
},
1818
"require-dev": {
1919
"symfony/form": "^2.8|^3.0",
20-
"symfony/phpunit-bridge": "^3.2"
20+
"symfony-cmf/testing": "^2.1@dev",
21+
"symfony/phpunit-bridge": "^3.3.10"
2122
},
2223
"autoload": {
2324
"psr-4": {
@@ -31,7 +32,7 @@
3132
},
3233
"extra": {
3334
"branch-alias": {
34-
"dev-master": "2.0-dev"
35+
"dev-master": "2.1-dev"
3536
}
3637
}
3738
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
>
88

99
<testsuites>
10-
<testsuite name="Symfony CmfTreeBrowserBundleBundle Test Suite">
10+
<testsuite name="unit tests">
1111
<directory>./tests/Unit</directory>
1212
</testsuite>
1313
</testsuites>

0 commit comments

Comments
 (0)