Skip to content

Commit ea8243e

Browse files
author
Markus Kalkbrenner
authored
rename library folder to src (solariumphp#560)
* rename library folder to src * updated changelog
1 parent 749b8f2 commit ea8243e

File tree

248 files changed

+14
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+14
-12
lines changed

CHANGELOG.md

+2

build.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,21 @@
3636
<arg line="--overview-pyramid=${basedir}/build/pdepend/overview-pyramid.svg"/>
3737
<arg line="--jdepend-chart=${basedir}/build/pdepend/dependencies.svg"/>
3838
<arg line="--jdepend-xml=${basedir}/build/logs/jdepend.xml"/>
39-
<arg line="library"/>
39+
<arg line="src"/>
4040
</exec>
4141
</target>
4242

4343
<!-- Generate pmd.xml -->
4444
<target name="phpmd">
4545
<exec executable="phpmd">
46-
<arg line="library xml codesize,unusedcode --reportfile ${basedir}/build/logs/pmd.xml"/>
46+
<arg line="src xml codesize,unusedcode --reportfile ${basedir}/build/logs/pmd.xml"/>
4747
</exec>
4848
</target>
4949

5050
<!-- Generate pmd-cpd.xml -->
5151
<target name="phpcpd">
5252
<exec executable="phpcpd">
53-
<arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml library"/>
53+
<arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml src"/>
5454
</exec>
5555
</target>
5656

@@ -61,20 +61,20 @@
6161
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml"/>
6262
<arg value="--standard=PSR2"/>
6363
<arg value="--extensions=php"/>
64-
<arg path="library"/>
64+
<arg path="src"/>
6565
</exec>
6666
</target>
6767

6868
<!-- Generate API documentation -->
6969
<target name="docblox">
7070
<exec executable="docblox">
71-
<arg line="run -d library -t build/api"/>
71+
<arg line="run -d src -t build/api"/>
7272
</exec>
7373
</target>
7474

7575
<target name="phpcb">
7676
<exec executable="phpcb">
77-
<arg line="--log ${basedir}/build/logs --source ${basedir}/library --output ${basedir}/build/code-browser"/>
77+
<arg line="--log ${basedir}/build/logs --source ${basedir}/src --output ${basedir}/build/code-browser"/>
7878
</exec>
7979
</target>
8080

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"autoload": {
3434
"psr-4": {
35-
"Solarium\\": "library/"
35+
"Solarium\\": "src/"
3636
}
3737
},
3838
"autoload-dev": {

phpunit.xml.dist

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
<filter>
2424
<whitelist>
25-
<directory suffix=".php">library</directory>
25+
<directory suffix=".php">src</directory>
2626
<exclude>
27-
<file>library/Solarium/Autoloader.php</file>
27+
<file>src/Solarium/Autoloader.php</file>
2828
</exclude>
2929
</whitelist>
3030
</filter>

phpunit.xml.travis

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
2+
<phpunit
33
backupGlobals="false"
44
backupStaticAttributes="false"
55
syntaxCheck="false"
@@ -16,9 +16,9 @@
1616

1717
<filter>
1818
<whitelist>
19-
<directory suffix=".php">library</directory>
19+
<directory suffix=".php">src</directory>
2020
<exclude>
21-
<file>library/Solarium/Autoloader.php</file>
21+
<file>src/Solarium/Autoloader.php</file>
2222
</exclude>
2323
</whitelist>
2424
</filter>
File renamed without changes.

library/Client.php src/Client.php

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.
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.
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.

0 commit comments

Comments
 (0)