Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FriendsOfSymfony/FOSCommentBundle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0
Choose a base ref
...
head repository: FriendsOfSymfony/FOSCommentBundle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 13 commits
  • 226 files changed
  • 3 contributors

Commits on Jan 8, 2020

  1. Update README.md

    XWB authored Jan 8, 2020
    Copy the full SHA
    a70e896 View commit details
  2. Copy the full SHA
    b1bd069 View commit details
  3. Copy the full SHA
    7f2afa6 View commit details
  4. Update index.md

    XWB authored Jan 8, 2020
    Copy the full SHA
    51fb33b View commit details

Commits on Apr 27, 2020

  1. Fix typos

    pgrimaud committed Apr 27, 2020
    Copy the full SHA
    b3d1216 View commit details

Commits on Apr 28, 2020

  1. Merge pull request #721 from pgrimaud/master

    Fix typos
    XWB authored Apr 28, 2020
    Copy the full SHA
    ba21f98 View commit details

Commits on Jan 18, 2022

  1. Migrate to GitHub Actions

    XWB committed Jan 18, 2022
    Copy the full SHA
    4ebcea7 View commit details
  2. Update composer.json

    XWB authored Jan 18, 2022
    Copy the full SHA
    7068ff8 View commit details
  3. Merge pull request #729 from XWB/github-actions

    Migrate to GitHub Actions
    XWB authored Jan 18, 2022
    Copy the full SHA
    c3cfef2 View commit details
  4. Rework bundle structure

    XWB committed Jan 18, 2022
    Copy the full SHA
    8cc0bf0 View commit details
  5. Add PHP 8 support

    XWB committed Jan 18, 2022
    Copy the full SHA
    b96152a View commit details
  6. Merge pull request #730 from XWB/move-files

    Rework bundle structure
    XWB authored Jan 18, 2022
    Copy the full SHA
    4b42b44 View commit details
  7. Merge pull request #731 from XWB/php8

    Add PHP 8 support
    XWB authored Jan 18, 2022
    Copy the full SHA
    eb5db45 View commit details
Showing with 393 additions and 155 deletions.
  1. +68 −0 .github/workflows/ci.yaml
  2. +0 −36 .travis.yml
  3. 0 {Resources/meta → }/LICENSE
  4. +4 −4 README.md
  5. +12 −7 composer.json
  6. +14 −4 {Resources/doc → docs}/1-setting_up_the_bundle.md
  7. 0 {Resources/doc → docs}/10-other_ways_of_adding_comments_to_a_page.md
  8. 0 {Resources/doc → docs}/11-running_the_test_suite.md
  9. 0 {Resources/doc → docs}/12-enable_voting.md
  10. 0 {Resources/doc → docs}/12a-mapping_orm.md
  11. 0 {Resources/doc → docs}/12b-mapping_mongodb.md
  12. 0 {Resources/doc → docs}/12c-integration_with_fosuserbundle.md
  13. 0 {Resources/doc → docs}/13-hooking_into_the_js_code.md
  14. 0 {Resources/doc → docs}/14-customizing_tree_sorting.md
  15. 0 {Resources/doc → docs}/15-events.md
  16. 0 {Resources/doc → docs}/2-create_your_comment_and_thread_classes.md
  17. 0 {Resources/doc → docs}/2a-mapping_orm.md
  18. 0 {Resources/doc → docs}/2b-mapping_mongodb.md
  19. 0 {Resources/doc → docs}/3-importing_foscommentbundle_routing.md
  20. +1 −1 {Resources/doc → docs}/4-enable_comments_on_a_page.md
  21. 0 {Resources/doc → docs}/5-style_it.md
  22. 0 {Resources/doc → docs}/6-integration_with_fosuserbundle.md
  23. 0 {Resources/doc → docs}/7-adding_role_based_acl_security.md
  24. 0 {Resources/doc → docs}/8-adding_symfony2s_builtin_acl_security.md
  25. 0 {Resources/doc → docs}/9-using_a_markup_parser.md
  26. 0 {Resources/doc → docs}/99-faq.md
  27. 0 {Resources/doc → docs}/9a-markup_htmlpurifier.md
  28. 0 {Resources/doc → docs}/9b-sundown_markdown_parser.md
  29. 0 {Resources/doc → docs}/9c-using_a_bbcode_parser.md
  30. 0 {Resources/doc → docs}/9d-php_markdown_extra_parser.md
  31. 0 {Resources/doc → docs}/9e-integrating_several_parsers.md
  32. +1 −1 {Resources/doc → docs}/index.md
  33. +3 −16 phpunit.xml.dist
  34. 0 { → src}/Acl/AclCommentManager.php
  35. 0 { → src}/Acl/AclThreadManager.php
  36. 0 { → src}/Acl/AclVoteManager.php
  37. 0 { → src}/Acl/CommentAclInterface.php
  38. 0 { → src}/Acl/RoleCommentAcl.php
  39. 0 { → src}/Acl/RoleThreadAcl.php
  40. 0 { → src}/Acl/RoleVoteAcl.php
  41. 0 { → src}/Acl/SecurityCommentAcl.php
  42. 0 { → src}/Acl/SecurityThreadAcl.php
  43. 0 { → src}/Acl/SecurityVoteAcl.php
  44. 0 { → src}/Acl/ThreadAclInterface.php
  45. 0 { → src}/Acl/VoteAclInterface.php
  46. 0 { → src}/Command/FixAcesCommand.php
  47. 0 { → src}/Command/InstallAcesCommand.php
  48. +136 −68 { → src}/Controller/ThreadController.php
  49. 0 { → src}/DependencyInjection/Compiler/SortingPass.php
  50. 0 { → src}/DependencyInjection/Configuration.php
  51. +1 −1 { → src}/DependencyInjection/FOSCommentExtension.php
  52. 0 { → src}/Document/Comment.php
  53. 0 { → src}/Document/CommentManager.php
  54. 0 { → src}/Document/Thread.php
  55. 0 { → src}/Document/ThreadManager.php
  56. 0 { → src}/Document/Vote.php
  57. 0 { → src}/Document/VoteManager.php
  58. 0 { → src}/Entity/Comment.php
  59. 0 { → src}/Entity/CommentManager.php
  60. 0 { → src}/Entity/Thread.php
  61. 0 { → src}/Entity/ThreadManager.php
  62. 0 { → src}/Entity/Vote.php
  63. 0 { → src}/Entity/VoteManager.php
  64. 0 { → src}/Event/CommentEvent.php
  65. 0 { → src}/Event/CommentPersistEvent.php
  66. 0 { → src}/Event/Event.php
  67. 0 { → src}/Event/ThreadEvent.php
  68. 0 { → src}/Event/VoteEvent.php
  69. 0 { → src}/Event/VotePersistEvent.php
  70. 0 { → src}/EventListener/ClosedThreadListener.php
  71. 0 { → src}/EventListener/CommentBlamerListener.php
  72. 0 { → src}/EventListener/CommentMarkupListener.php
  73. 0 { → src}/EventListener/CommentSpamListener.php
  74. 0 { → src}/EventListener/CommentVoteScoreListener.php
  75. 0 { → src}/EventListener/ThreadCountersListener.php
  76. 0 { → src}/EventListener/ThreadPermalinkListener.php
  77. 0 { → src}/EventListener/VoteBlamerListener.php
  78. +3 −3 { → src}/Events.php
  79. 0 { → src}/FOSCommentBundle.php
  80. 0 { → src}/Form/CommentType.php
  81. 0 { → src}/Form/CommentableThreadType.php
  82. 0 { → src}/Form/DeleteCommentType.php
  83. 0 { → src}/Form/ThreadType.php
  84. 0 { → src}/Form/VoteType.php
  85. 0 { → src}/FormFactory/CommentFormFactory.php
  86. 0 { → src}/FormFactory/CommentFormFactoryInterface.php
  87. 0 { → src}/FormFactory/CommentableThreadFormFactory.php
  88. 0 { → src}/FormFactory/CommentableThreadFormFactoryInterface.php
  89. 0 { → src}/FormFactory/DeleteCommentFormFactory.php
  90. 0 { → src}/FormFactory/DeleteCommentFormFactoryInterface.php
  91. 0 { → src}/FormFactory/ThreadFormFactory.php
  92. 0 { → src}/FormFactory/ThreadFormFactoryInterface.php
  93. 0 { → src}/FormFactory/VoteFormFactory.php
  94. 0 { → src}/FormFactory/VoteFormFactoryInterface.php
  95. 0 { → src}/Markup/HtmlPurifier.php
  96. 0 { → src}/Markup/ParserInterface.php
  97. 0 { → src}/Markup/PipelineParser.php
  98. 0 { → src}/Model/Comment.php
  99. 0 { → src}/Model/CommentInterface.php
  100. 0 { → src}/Model/CommentManager.php
  101. 0 { → src}/Model/CommentManagerInterface.php
  102. 0 { → src}/Model/RawCommentInterface.php
  103. 0 { → src}/Model/SignedCommentInterface.php
  104. 0 { → src}/Model/SignedVoteInterface.php
  105. 0 { → src}/Model/Thread.php
  106. 0 { → src}/Model/ThreadInterface.php
  107. 0 { → src}/Model/ThreadManager.php
  108. 0 { → src}/Model/ThreadManagerInterface.php
  109. 0 { → src}/Model/Tree.php
  110. 0 { → src}/Model/VotableCommentInterface.php
  111. 0 { → src}/Model/Vote.php
  112. 0 { → src}/Model/VoteInterface.php
  113. 0 { → src}/Model/VoteManager.php
  114. 0 { → src}/Model/VoteManagerInterface.php
  115. 0 { → src}/Resources/config/acl.xml
  116. 0 { → src}/Resources/config/commands.xml
  117. 0 { → src}/Resources/config/controller.xml
  118. 0 { → src}/Resources/config/doctrine/Comment.mongodb.xml
  119. 0 { → src}/Resources/config/doctrine/Comment.orm.xml
  120. 0 { → src}/Resources/config/doctrine/Thread.mongodb.xml
  121. 0 { → src}/Resources/config/doctrine/Thread.orm.xml
  122. 0 { → src}/Resources/config/doctrine/Vote.mongodb.xml
  123. 0 { → src}/Resources/config/doctrine/Vote.orm.xml
  124. 0 { → src}/Resources/config/events.xml
  125. 0 { → src}/Resources/config/form.xml
  126. 0 { → src}/Resources/config/markup.xml
  127. 0 { → src}/Resources/config/model.xml
  128. 0 { → src}/Resources/config/mongodb.xml
  129. 0 { → src}/Resources/config/orm.xml
  130. 0 { → src}/Resources/config/routing.yml
  131. 0 { → src}/Resources/config/sorting.xml
  132. 0 { → src}/Resources/config/spam_detection.xml
  133. 0 { → src}/Resources/config/twig.xml
  134. 0 { → src}/Resources/config/validation.xml
  135. +24 −0 src/Resources/config/view_handler.xml
  136. 0 { → src}/Resources/public/css/comments.css
  137. 0 { → src}/Resources/public/js/comments.js
  138. 0 { → src}/Resources/translations/FOSCommentBundle.bg.yml
  139. 0 { → src}/Resources/translations/FOSCommentBundle.cs.yml
  140. 0 { → src}/Resources/translations/FOSCommentBundle.da.yml
  141. 0 { → src}/Resources/translations/FOSCommentBundle.de.yml
  142. 0 { → src}/Resources/translations/FOSCommentBundle.en.yml
  143. 0 { → src}/Resources/translations/FOSCommentBundle.es.yml
  144. 0 { → src}/Resources/translations/FOSCommentBundle.et.yml
  145. 0 { → src}/Resources/translations/FOSCommentBundle.fa_IR.yml
  146. 0 { → src}/Resources/translations/FOSCommentBundle.fi.yml
  147. 0 { → src}/Resources/translations/FOSCommentBundle.fr.yml
  148. 0 { → src}/Resources/translations/FOSCommentBundle.hu.yml
  149. 0 { → src}/Resources/translations/FOSCommentBundle.id.yml
  150. 0 { → src}/Resources/translations/FOSCommentBundle.it.yml
  151. 0 { → src}/Resources/translations/FOSCommentBundle.ja.yml
  152. 0 { → src}/Resources/translations/FOSCommentBundle.mn.yml
  153. 0 { → src}/Resources/translations/FOSCommentBundle.nl.yml
  154. 0 { → src}/Resources/translations/FOSCommentBundle.pl.yml
  155. 0 { → src}/Resources/translations/FOSCommentBundle.pt.yml
  156. 0 { → src}/Resources/translations/FOSCommentBundle.ro.yml
  157. 0 { → src}/Resources/translations/FOSCommentBundle.ru.yml
  158. 0 { → src}/Resources/translations/FOSCommentBundle.sl.yml
  159. 0 { → src}/Resources/translations/FOSCommentBundle.sr_Cyrl.yml
  160. 0 { → src}/Resources/translations/FOSCommentBundle.sr_Latn.yml
  161. 0 { → src}/Resources/translations/FOSCommentBundle.tr.yml
  162. 0 { → src}/Resources/translations/FOSCommentBundle.zh_CN.yml
  163. 0 { → src}/Resources/views/Thread/async.html.twig
  164. 0 { → src}/Resources/views/Thread/comment.html.twig
  165. 0 { → src}/Resources/views/Thread/comment_content.html.twig
  166. 0 { → src}/Resources/views/Thread/comment_edit.html.twig
  167. 0 { → src}/Resources/views/Thread/comment_new.html.twig
  168. 0 { → src}/Resources/views/Thread/comment_new_content.html.twig
  169. 0 { → src}/Resources/views/Thread/comment_remove.html.twig
  170. 0 { → src}/Resources/views/Thread/comment_votes.html.twig
  171. 0 { → src}/Resources/views/Thread/commentable.html.twig
  172. 0 { → src}/Resources/views/Thread/comments.html.twig
  173. 0 { → src}/Resources/views/Thread/errors.html.twig
  174. 0 { → src}/Resources/views/Thread/new.html.twig
  175. 0 { → src}/Resources/views/Thread/thread_xml_feed.rss.twig
  176. 0 { → src}/Resources/views/Thread/vote_new.html.twig
  177. 0 { → src}/Sorting/AbstractOrderSorting.php
  178. +1 −1 { → src}/Sorting/AgedVoteSorting.php
  179. 0 { → src}/Sorting/DateSorting.php
  180. 0 { → src}/Sorting/SortingFactory.php
  181. 0 { → src}/Sorting/SortingInterface.php
  182. 0 { → src}/Sorting/VoteSorting.php
  183. 0 { → src}/SpamDetection/AkismetSpamDetection.php
  184. 0 { → src}/SpamDetection/SpamDetectionInterface.php
  185. 0 { → src}/Twig/CommentExtension.php
  186. +112 −0 src/ViewHandler/FOSRestViewHandlerAdapter.php
  187. 0 {Tests → tests}/Acl/AbstractRoleAcl.php
  188. 0 {Tests → tests}/Acl/AclCommentManagerTest.php
  189. 0 {Tests → tests}/Acl/AclThreadManagerTest.php
  190. 0 {Tests → tests}/Acl/AclVoteManagerTest.php
  191. 0 {Tests → tests}/Acl/RoleCommentAclTest.php
  192. 0 {Tests → tests}/Acl/RoleThreadAclTest.php
  193. 0 {Tests → tests}/Acl/RoleVoteAclTest.php
  194. 0 {Tests → tests}/Entity/Comment.php
  195. 0 {Tests → tests}/Entity/CommentManagerTest.php
  196. 0 {Tests → tests}/Entity/CommentTest.php
  197. 0 {Tests → tests}/Entity/Thread.php
  198. 0 {Tests → tests}/Entity/ThreadManagerTest.php
  199. 0 {Tests → tests}/Entity/Vote.php
  200. 0 {Tests → tests}/Entity/VoteManagerTest.php
  201. 0 {Tests → tests}/Event/CommentPersistEventTest.php
  202. 0 {Tests → tests}/Event/VotePersistEventTest.php
  203. 0 {Tests → tests}/EventListener/CommentBlamerListenerTest.php
  204. 0 {Tests → tests}/EventListener/VoteBlamerListenerTest.php
  205. +13 −13 {Tests → tests}/Functional/ApiTest.php
  206. 0 {Tests → tests}/Functional/Bundle/CommentBundle/CommentBundle.php
  207. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Controller/CommentController.php
  208. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Entity/Comment.php
  209. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Entity/Thread.php
  210. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Entity/Vote.php
  211. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Resources/config/routing.yml
  212. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Resources/views/Comment/async.html.twig
  213. 0 {Tests → tests}/Functional/Bundle/CommentBundle/Resources/views/Comment/inline.html.twig
  214. 0 {Tests → tests}/Functional/WebTestCase.php
  215. 0 {Tests → tests}/Functional/app/AppKernel.php
  216. 0 {Tests → tests}/Functional/app/Basic/bundles.php
  217. 0 {Tests → tests}/Functional/app/Basic/config.yml
  218. 0 {Tests → tests}/Functional/app/Basic/routing.yml
  219. 0 {Tests → tests}/Functional/app/Basic/security.php
  220. 0 {Tests → tests}/Functional/app/Resources/views/base.html.twig
  221. 0 {Tests → tests}/Functional/app/config/default.yml
  222. 0 {Tests → tests}/Functional/app/config/twig.yml
  223. 0 {Tests → tests}/Sorting/DateSortingTest.php
  224. 0 {Tests → tests}/SpamDetection/AkismetSpamDetectionTest.php
  225. 0 {Tests → tests}/Twig/CommentExtensionTest.php
  226. 0 {Tests → tests}/bootstrap.php
68 changes: 68 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: CI

on: ['push', 'pull_request']

jobs:
cs:
runs-on: ubuntu-latest
name: Coding style
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: json, mbstring
tools: composer, php-cs-fixer:2.19

- name: Display tools versions
run: |
composer --version
php-cs-fixer --version
- name: Check PHP code
run: php-cs-fixer fix --dry-run --diff --ansi

phpunit:
name: PHPUnit (PHP ${{ matrix.php }} + ${{ matrix.symfony-version}})
runs-on: ubuntu-latest
timeout-minutes: 15
env:
SYMFONY_REQUIRE: "${{ matrix.symfony_require }}"
strategy:
matrix:
include:
- php: '7.4'
dependencies: 'lowest'
symfony_require: '3.4.*'
- php: '7.4'
dependencies: 'highest'
symfony_require: '4.4.*'
- php: '8.0'
dependencies: 'highest'
symfony_require: '4.4.*'
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
tools: pecl, composer
extensions: curl, json, mbstring, openssl

- name: Globally install symfony/flex
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex

- name: Install Composer dependencies (${{ matrix.dependencies }})
uses: ramsey/composer-install@v1
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --prefer-stable"

- name: Run unit tests
run: |
vendor/bin/phpunit
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

File renamed without changes.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ FOSCommentBundle

The FOSCommentBundle adds support for a comment system in Symfony. Features include:

- Supports Symfony 3.4, 4.3
- Supports Symfony 3.4, 4.4
- Manages trees of comments
- Can include comment threads in any page
- Compatible with any persistence backend. Doctrine2 mongodb-odm and ORM are implemented.
@@ -23,16 +23,16 @@ Documentation
The bulk of the documentation is stored in the `Resources/doc/index.md`
file in this bundle:

[Read the Documentation](https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/index.md)
[Read the Documentation](https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/docs/index.md)

Installation
------------

All the installation instructions are located in [documentation](https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/index.md).
All the installation instructions are located in [documentation](https://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/docs/index.md).

License
-------

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE
LICENSE
19 changes: 12 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
@@ -20,12 +20,11 @@
}
],
"support": {
"irc": "irc://irc.freenode.org/symfony-dev",
"issues": "https://github.com/FriendsOfSymfony/FOSCommentBundle/issues"
},
"require": {
"php": "^7.2",
"friendsofsymfony/rest-bundle": "~2.6",
"php": "^7.4 || ^8.0",
"friendsofsymfony/rest-bundle": "~2.8",
"jms/serializer-bundle": "~2.0|~3.0",
"symfony/framework-bundle": "~3.4|^4.3",
"symfony/asset": "~3.4|^4.3",
@@ -52,7 +51,7 @@
"symfony/dom-crawler": "~3.4|^4.3",
"symfony/css-selector": "~3.4|^4.3",
"doctrine/orm": "~2.3",
"doctrine/doctrine-bundle": "~1.6",
"doctrine/doctrine-bundle": "^1.6|^2.0",
"friendsofsymfony/user-bundle": "~2.0",
"ornicar/akismet-bundle": "dev-master",
"symfony/expression-language": "~3.4|^4.3",
@@ -62,12 +61,18 @@
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
"dev-master": "4.0.x-dev"
}
},
"autoload": {
"psr-4": { "FOS\\CommentBundle\\": "" },
"exclude-from-classmap": [ "/Tests/" ]
"psr-4": {
"FOS\\CommentBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"FOS\\CommentBundle\\Tests\\": "tests/"
}
},
"prefer-stable": true
}
Original file line number Diff line number Diff line change
@@ -27,11 +27,9 @@ public function registerBundles()
}
```

### C) Enable Http Method Override
### C) Enable HTTP Method Override

[Enable HTTP Method override as described here](http://symfony.com/doc/master/cookbook/routing/method_parameters.html#faking-the-method-with-method)

As of symfony 2.3, you just have to modify your config.yml :
[Enable HTTP Method override as described here](https://symfony.com/doc/current/reference/configuration/framework.html#http-method-override)

``` yaml
# app/config/config.yml
@@ -40,6 +38,18 @@ framework:
http_method_override: true
```
Or
``` php
// public/index.php

$kernel = new CacheKernel($kernel);

Request::enableHttpMethodParameterOverride(); // <-- add this line
$request = Request::createFromGlobals();
```

### D) Enable translations

If you wish to use default texts provided in this bundle, you have to make
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ the page load.
And the following code at a desired place in the template to load the comments:

```
```twig
{% include '@FOSComment/Thread/async.html.twig' with {'id': 'foo'} %}
```

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Resources/doc/index.md → docs/index.md
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ Getting Started With FOSCommentBundle

## Installation

Installation is a quick (I promise!) 4 step process:
Installation is a quick 4-step process:

1. [Setting up the bundle](1-setting_up_the_bundle.md)
2. [Create your Comment and Thread classes](2-create_your_comment_and_thread_classes.md)
19 changes: 3 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./Tests/bootstrap.php" colors="true">
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
<php>
<ini name="xdebug.max_nesting_level" value="200" />
</php>
<testsuites>
<testsuite name="FOSCommentBundle">
<directory suffix="Test.php">./Tests</directory>
<testsuite name="FOSCommentBundle test suitei">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
<directory>./sahi</directory>
<directory>./Features</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading