Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chirimoya authored and wachterjohannes committed Jun 16, 2016
0 parents commit 9c90b0f
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,24 @@
| Q | A
| --- | ---
| Bug? | no
| New Feature? | no
| Sulu Version | Specific version or SHA of a commit
| Browser Version | Browser name and version

#### Actual Behavior

How does Sulu behave at the moment?

#### Expected Behavior

What is the behavior you expect?

#### Steps to Reproduce

What are the steps to reproduce this bug? Please add code examples,
screenshots or links to GitHub repositories that reproduce the problem.

#### Possible Solutions

If you have already ideas how to solve the issue, add them here.
(remove this section if not needed)
38 changes: 38 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,38 @@
| Q | A
| --- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Fixed tickets | fixes #issuenum
| Related issues/PRs | #issuenum
| License | MIT
| Documentation PR | sulu/sulu-docs#prnum

#### What's in this PR?

Explain the contents of the PR.

#### Why?

Which problem does the PR fix? (remove this section if you linked an issue above)

#### Example Usage

~~~php
// If you added new features, show examples of how to use them here
// (remove this section if not a new feature)

$foo = new Foo();

// Now we can do
$foo->doSomething();
~~~

#### BC Breaks/Deprecations

Describe BC breaks/deprecations here. (remove this section if not needed)

#### To Do

- [ ] Create a documentation PR
29 changes: 29 additions & 0 deletions .gitignore
@@ -0,0 +1,29 @@
# PHPUnit
/app/phpunit.xml
/phpunit.xml

# Composer PHAR
/composer.phar
/auth.json

# Backup entities generated with doctrine:generate:entities command
*/Entity/*~

# composer
/composer.phar
/vendor

# IDEs
.idea/*
*.iml
*~

# System files
.DS_Store

# Frontend Caches
bower_components/
.tmp/
.sass-cache/
node_modules/
npm-debug.log
14 changes: 14 additions & 0 deletions .styleci.yml
@@ -0,0 +1,14 @@
preset: symfony

enabled:
- concat_with_spaces
- ordered_use
- short_array_syntax

disabled:
- concat_without_spaces
- phpdoc_align
- phpdoc_indent
- phpdoc_to_comment
- blankline_after_open_tag

22 changes: 22 additions & 0 deletions .travis.yml
@@ -0,0 +1,22 @@
sudo: false

language: php

cache:
directories:
- "$HOME/.composer/cache"

matrix:
include:
- php: 5.5
- php: 7.0

before_install:
- composer self-update

install:
- travis_retry composer install --no-interaction
- composer info -i

script:
- ./vendor/bin/phpunit
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Sulu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions README.md
@@ -0,0 +1 @@
# SuluCommunityBundle
18 changes: 18 additions & 0 deletions SuluCommunityBundle.php
@@ -0,0 +1,18 @@
<?php

/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\CommunityBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class SuluCommunityBundle extends Bundle
{
}
31 changes: 31 additions & 0 deletions composer.json
@@ -0,0 +1,31 @@
{
"name": "sulu/community-bundle",
"description": "Sulu Bundle for building a community",
"type": "sulu-bundle",
"license": "MIT",
"require": {
"php": "^5.5 || ^7.0",
"sulu/sulu": "dev-develop",
"sulu/document-manager": "@dev"
},
"require-dev": {
"jackalope/jackalope-doctrine-dbal": "^1.2.5",
"phpunit/phpunit": ">=4.8"
},
"keywords": [
"registration",
"profile"
],
"authors": [
{
"name": "Sulu Community",
"homepage": "https://github.com/sulu/SuluCommunityBundle/contributors"
}
],
"homepage": "https://github.com/sulu/SuluCommunityBundle",
"autoload": {
"psr-4": {
"Sulu\\Bundle\\CommunityBundle\\": ""
}
}
}
19 changes: 19 additions & 0 deletions phpunit.xml.dist
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Sulu Community Bundle">
<directory>./Tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory>.</directory>
<exclude>
<directory>Resources/</directory>
<directory>Tests/</directory>
<directory>vendor/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit 9c90b0f

Please sign in to comment.