Skip to content

Commit

Permalink
Add composer.json and empty tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Brault committed Jul 13, 2012
1 parent fc1f67e commit 490d7f5
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
.DS_Store
vendor
11 changes: 11 additions & 0 deletions Tests/EventListener/ListenerTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace FSC\P3PBundle\Tests\EventListener;

class ListenerTest extends \PHPUnit_Framework_TestCase
{
public function testA()
{
$this->assertEquals(1, 1);
}
}
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "fsc/p3p-bundle",
"description": "Bundle to add P3P headers to your responses.",
"keywords": ["symfony", "development", "bundle"],
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "The Football Social Club",
"email": "[email protected]",
"homepage": "http://thefootballsocialclub.com"
}
],
"require": {
"php": ">=5.3"
},
"autoload": {
"psr-0": { "FSC\\P3PBundle": "" }
},
"target-dir": "FSC\\P3PBundle"
}
20 changes: 20 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./vendor/autoload.php">

<testsuites>
<testsuite name="FSCP3PBundle Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>

</phpunit>

0 comments on commit 490d7f5

Please sign in to comment.