Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Renamed 'lib' folder to 'src' for consistency across packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsomoza committed Nov 6, 2015
1 parent 88ddc85 commit a5aded1
Show file tree
Hide file tree
Showing 68 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
@@ -1 +1 @@
src_dir: lib
src_dir: src
18 changes: 9 additions & 9 deletions build.xml
Expand Up @@ -3,11 +3,11 @@
<!-- Uncomment the following when the tools are in ${basedir}/vendor/bin -->
<property name="toolsdir" value="${basedir}/vendor/bin/"/>

<fileset id="src" dir="${basedir}/lib">
<fileset id="src" dir="${basedir}/src">
<include name="**/*.php"/>
</fileset>

<fileset id="src-modified" dir="${basedir}/lib">
<fileset id="src-modified" dir="${basedir}/src">
<include name="**/*.php"/>
</fileset>

Expand Down Expand Up @@ -65,7 +65,7 @@
description="Measure project size using PHPLOC and print human readable output. Intended for usage on the command line.">
<exec executable="${toolsdir}phploc" taskname="phploc">
<arg value="--count-tests" />
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
</exec>

<property name="phploc.done" value="true"/>
Expand All @@ -81,7 +81,7 @@
<arg path="${basedir}/build/logs/phploc.csv" />
<arg value="--log-xml" />
<arg path="${basedir}/build/logs/phploc.xml" />
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
</exec>

<property name="phploc.done" value="true"/>
Expand All @@ -95,15 +95,15 @@
<arg value="--jdepend-xml=${basedir}/build/logs/jdepend.xml" />
<arg value="--jdepend-chart=${basedir}/build/pdepend/dependencies.svg" />
<arg value="--overview-pyramid=${basedir}/build/pdepend/overview-pyramid.svg" />
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
</exec>

<property name="pdepend.done" value="true"/>
</target>

<target name="phpmd" depends="prepare" description="PHP Mess Detector">
<exec executable="${toolsdir}phpmd" taskname="phpmd" failonerror="true">
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
<arg value="text" />
<arg value="${basedir}/build/phpmd.xml" />
</exec>
Expand All @@ -115,7 +115,7 @@
depends="prepare"
description="Perform project mess detection using PHPMD and log result in XML format. Intended for usage within a continuous integration environment.">
<exec executable="${toolsdir}phpmd" taskname="phpmd" failonerror="true">
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
<arg value="xml" />
<arg value="${basedir}/build/phpmd.xml" />
<arg value="--reportfile" />
Expand Down Expand Up @@ -152,7 +152,7 @@
unless="phpcpd.done"
description="Find duplicate code using PHPCPD and print human readable output. Intended for usage on the command line before committing.">
<exec executable="${toolsdir}phpcpd" taskname="phpcpd" failonerror="true">
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
</exec>

<property name="phpcpd.done" value="true"/>
Expand All @@ -165,7 +165,7 @@
<exec executable="${toolsdir}phpcpd" taskname="phpcpd" failonerror="true">
<arg value="--log-pmd" />
<arg path="${basedir}/build/logs/pmd-cpd.xml" />
<arg path="${basedir}/lib" />
<arg path="${basedir}/src" />
</exec>

<property name="phpcpd.done" value="true"/>
Expand Down
2 changes: 1 addition & 1 deletion build/phpcs.xml
Expand Up @@ -2,7 +2,7 @@
<ruleset name="PHP_CodeSniffer">
<description>PHP_CodeSniffer coding standard for this project.</description>

<file>./lib</file>
<file>./src</file>

<arg value="sp"/>

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -21,7 +21,7 @@
},
"autoload": {
"psr-4": {
"Baleen\\Migrations\\": "lib/"
"Baleen\\Migrations\\": "src/"
}
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion docs/bin/generate-reference.sh
Expand Up @@ -5,5 +5,5 @@ cd ..

rm -rf en/ref/Baleen
mkdir -p en/ref/Baleen
../vendor/bin/sphpdox process -o en/ref Baleen\\Migrations ../lib
../vendor/bin/sphpdox process -o en/ref Baleen\\Migrations ../src
find en/ref -name "*.rst" -exec bash -c 'mv "$1" "$(sed "s/\.rst$/.txt/" <<< "$1")"' - '{}' \;
@@ -1,13 +1,13 @@
------------------------------------------------------
------------------------------------------------
Baleen\\Migrations\\Migration\\AbstractMigration
------------------------------------------------------
------------------------------------------------

.. php:namespace: Baleen\\Migrations\\Migration

.. php:class:: AbstractMigration

An extremely simple migration base class. To be used for examples and tests or
extended by more complex classes.
A simple migration base class. To be used for examples and tests or extended by more
complex classes.

.. php:method:: getOptions()

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.

0 comments on commit a5aded1

Please sign in to comment.