NEW Rename code to src, remove changelog and extraneous codecov file

This commit is contained in:
Robbie Averill 2017-11-27 13:52:49 +13:00
parent c3da4e2b6c
commit bd5c9c090c
9 changed files with 4 additions and 28 deletions

View File

@ -1 +0,0 @@
comment: false

View File

@ -12,4 +12,4 @@ checks:
duplication: true
filter:
paths: [code/*, tests/*]
paths: [src/*, tests/*]

View File

@ -29,7 +29,7 @@ before_script:
script:
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs code/ tests/ *.php; fi
- if [[ $PHPCS_TEST ]]; then vendor/bin/phpcs src/ tests/ *.php; fi
after_success:
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi

View File

@ -1,23 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.0.10]
* Update translations
* FIX: getCMSField still works if the Metadata field has been removed by another module
## [1.0.9]
* Alias dev-master as 1.0
* Update license year
* Add code of conduct
* Update documentation for userguide
* Update translations
## [1.0.8]
* Changelog added.
* Update translations

View File

@ -19,7 +19,7 @@
},
"autoload": {
"psr-4": {
"SilverStripe\\IFrame\\": "code/",
"SilverStripe\\IFrame\\": "src/",
"SilverStripe\\IFrame\\Tests\\": "tests/"
}
},

View File

@ -4,7 +4,7 @@
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">code/</directory>
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>