PHP Tests are now put in Nasqueron\Notifications\Tests namespace.
This allows to full PSR-1 compatibility both for app/ and tests/ directories.
Differential D138
PSR-1 compatible tests dereckson on Dec 31 2015, 18:58. Authored by Tags Referenced Files
Subscribers None
Details
PHP Tests are now put in Nasqueron\Notifications\Tests namespace. This allows to full PSR-1 compatibility both for app/ and tests/ directories. Run phpunit.
Diff Detail
Event TimelineComment Actions The goal of this change is to be able to run a minimalist phpcs --standard=PSR1 run. In a coming change, we'll call phpcs from a Jenkins job using this target: <target name="phpcs" unless="phpcs.done" description="Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing."> <exec executable="${phpcs}" taskname="phpcs"> <arg value="--standard=PSR1" /> <arg value="--extensions=php" /> <arg value="--ignore=autoload.php" /> <arg path="${basedir}/app" /> <arg path="${basedir}/tests" /> </exec> <property name="phpcs.done" value="true"/> </target> |