Skip to content

Commit

Permalink
Merge pull request #203 from alister/psr-4-ize
Browse files Browse the repository at this point in the history
Move code into subdirectories and PSR-4
  • Loading branch information
alexdebril authored Dec 2, 2020
2 parents 2c02ab5 + 596182e commit 9544fc7
Show file tree
Hide file tree
Showing 59 changed files with 45 additions and 41 deletions.
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,15 @@
"symfony/framework-bundle": "^4.3|^5.0"
},
"autoload": {
"psr-0": {
"Debril\\RssAtomBundle": ""
"psr-4": {
"Debril\\RssAtomBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Debril\\RssAtomBundle\\Tests\\": "tests/"
}
},
"target-dir": "Debril/RssAtomBundle",
"config": {
"platform": {
"php": "7.1.27"
Expand Down
14 changes: 7 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./Tests/bootstrap.php" colors="true">
<phpunit bootstrap="./tests/bootstrap.php" colors="true">

<php>
<server name="KERNEL_DIR" value="Tests/Controller/App" />
<server name="KERNEL_DIR" value="tests/Controller/App" />
<server name="KERNEL_CLASS" value="Debril\RssAtomBundle\Tests\Controller\App\AppKernel" />
</php>

Expand All @@ -15,12 +15,12 @@

<filter>
<whitelist>
<directory>./</directory>
<directory>src/</directory>
<exclude>
<directory>./DependencyInjection</directory>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
<directory>src/DependencyInjection</directory>
<directory>src/Resources</directory>
<directory>tests</directory>
<directory>vendor</directory>
</exclude>
</whitelist>
</filter>
Expand Down
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
HTTP/1.1 200 OK
Date: Thu, 07 Feb 2013 20:29:48 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Last-Modified: Thu, 07 Feb 2013 00:47:27 GMT
ETag: "6422c0-427-4d517c96a65c0"
Accept-Ranges: bytes
Content-Length: 1063
Content-Type: text/xml
HTTP/1.1 200 OK
Date: Thu, 07 Feb 2013 20:29:48 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Last-Modified: Thu, 07 Feb 2013 00:47:27 GMT
ETag: "6422c0-427-4d517c96a65c0"
Accept-Ranges: bytes
Content-Length: 1063
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HTTP/1.1 304 Not Modified
Date: Thu, 07 Feb 2013 19:19:34 GMT
Server: GSE
HTTP/1.1 304 Not Modified
Date: Thu, 07 Feb 2013 19:19:34 GMT
Server: GSE

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
HTTP/1.1 404 Not Found
Date: Thu, 07 Feb 2013 20:26:36 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Vary: accept-language,accept-charset
Accept-Ranges: bytes
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Content-Language: en
HTTP/1.1 404 Not Found
Date: Thu, 07 Feb 2013 20:26:36 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Vary: accept-language,accept-charset
Accept-Ranges: bytes
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Content-Language: en

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
HTTP/1.1 200 OK
Date: Fri, 08 Feb 2013 23:16:34 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Last-Modified: Thu, 07 Feb 2013 00:47:27 GMT
ETag: "6422c0-427-4d517c96a65c0"
Accept-Ranges: bytes
Content-Length: 1063
Content-Type: text/xml
HTTP/1.1 200 OK
Date: Fri, 08 Feb 2013 23:16:34 GMT
Server: Apache/2.2.22 (Linux/SUSE)
Last-Modified: Thu, 07 Feb 2013 00:47:27 GMT
ETag: "6422c0-427-4d517c96a65c0"
Accept-Ranges: bytes
Content-Length: 1063
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
Expand Down
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.

0 comments on commit 9544fc7

Please sign in to comment.