This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +126
-0
lines changed Expand file tree Collapse file tree 5 files changed +126
-0
lines changed Original file line number Diff line number Diff line change
1
+ Tests /Resources /app /cache
2
+ Tests /Resources /app /logs
3
+ Tests /Resources /data
4
+ composer.lock
5
+ vendor
Original file line number Diff line number Diff line change
1
+ language : php
2
+
3
+ php :
4
+ - 5.3
5
+ - 5.4
6
+ - 5.5
7
+ - 5.6
8
+ - hhvm
9
+
10
+ env :
11
+ - SYMFONY_VERSION=2.5.*
12
+
13
+ matrix :
14
+ allow_failures :
15
+ - env : SYMFONY_VERSION=dev-master
16
+ include :
17
+ - php : 5.5
18
+ env : SYMFONY_VERSION=2.3.*
19
+ - php : 5.5
20
+ env : SYMFONY_VERSION=2.4.*
21
+ - php : 5.5
22
+ env : SYMFONY_VERSION=dev-master
23
+
24
+ before_script :
25
+ - composer self-update
26
+ - composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
27
+ - vendor/symfony-cmf/testing/bin/travis/phpcr_odm_doctrine_dbal.sh
28
+
29
+ script : phpunit --coverage-text
30
+
31
+ notifications :
32
+ irc : " irc.freenode.org#symfony-cmf"
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the Symfony CMF package.
5
+ *
6
+ * (c) 2011-2014 Symfony CMF
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ namespace Symfony \Cmf \Bundle \ResourceRestBundle ;
13
+
14
+ use Symfony \Component \HttpKernel \Bundle \Bundle ;
15
+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
16
+ use Symfony \Cmf \Bundle \ResourceRestBundle \DependencyInjection \Compiler \FactoryPass ;
17
+ use Symfony \Cmf \Bundle \ResourceRestBundle \DependencyInjection \Compiler \CompositeRepositoryPass ;
18
+
19
+ class CmfResourceRestBundle extends Bundle
20
+ {
21
+ public function build (ContainerBuilder $ container )
22
+ {
23
+ parent ::build ($ container );
24
+ }
25
+ }
Original file line number Diff line number Diff line change
1
+ # Symfony CMF Resource Bundle
2
+
3
+ [ ![ Build Status] ( https://secure.travis-ci.org/symfony-cmf/ResourceRestBundle.png?branch=master )] ( http://travis-ci.org/symfony-cmf/ResourceRestBundle )
4
+ [ ![ Latest Stable Version] ( https://poser.pugx.org/symfony-cmf/resource-rest-bundle/version.png )] ( https://packagist.org/packages/symfony-cmf/resource-bundle )
5
+ [ ![ Total Downloads] ( https://poser.pugx.org/symfony-cmf/resource-rest-bundle/d/total.png )] ( https://packagist.org/packages/symfony-cmf/resource-bundle )
6
+
7
+ WIP: This bundle provides a REST API for resources
8
+
9
+ ## Requirements
10
+
11
+ * Symfony 2.2.x
12
+ * See also the ` require ` section of [ composer.json] ( composer.json )
13
+
14
+ ## Documentation
15
+
16
+ Not yet.
17
+
18
+ * [ All Symfony CMF documentation] ( http://symfony.com/doc/master/cmf/index.html ) - complete Symfony CMF reference
19
+ * [ Symfony CMF Website] ( http://cmf.symfony.com/ ) - introduction, live demo, support and community links
20
+
21
+ ## Contributing
22
+
23
+ Pull requests are welcome. Please see our
24
+ [ CONTRIBUTING] ( https://github.com/symfony-cmf/symfony-cmf/blob/master/CONTRIBUTING.md )
25
+ guide.
26
+
27
+ Unit and/or functional tests exist for this bundle. See the
28
+ [ Testing documentation] ( http://symfony.com/doc/master/cmf/components/testing.html )
29
+ for a guide to running the tests.
30
+
31
+ Thanks to
32
+ [ everyone who has contributed] ( https://github.com/symfony-cmf/ResourceRestBundle/contributors ) already.
33
+ ## Running the tests
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <phpunit
4
+ colors =" true"
5
+ bootstrap =" vendor/symfony-cmf/testing/bootstrap/bootstrap.php"
6
+ >
7
+
8
+ <testsuites >
9
+ <testsuite name =" CmfResourceRestBundle Test Suite" >
10
+ <directory >./Tests</directory >
11
+ </testsuite >
12
+ </testsuites >
13
+
14
+ <filter >
15
+ <whitelist addUncoveredFilesFromWhitelist =" true" >
16
+ <directory >.</directory >
17
+ <exclude >
18
+ <file >*Bundle.php</file >
19
+ <directory >Resources/</directory >
20
+ <directory >Admin/</directory >
21
+ <directory >Tests/</directory >
22
+ <directory >vendor/</directory >
23
+ </exclude >
24
+ </whitelist >
25
+ </filter >
26
+
27
+ <php >
28
+ <server name =" KERNEL_DIR" value =" Tests/Resources/app" />
29
+ </php >
30
+
31
+ </phpunit >
You can’t perform that action at this time.
0 commit comments