Skip to content

Commit

Permalink
Merge pull request #29 from creative-commoners/pulls/2.0/rename-code-src
Browse files Browse the repository at this point in the history
NEW Rename code to src, remove changelog and extraneous codecov file
  • Loading branch information
NightJar committed Nov 27, 2017
2 parents c3da4e2 + bd5c9c0 commit 112059c
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 28 deletions.
1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .scrutinizer.yml
Expand Up @@ -12,4 +12,4 @@ checks:
duplication: true

filter:
paths: [code/*, tests/*]
paths: [src/*, tests/*]
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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
23 changes: 0 additions & 23 deletions changelog.md

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -19,7 +19,7 @@
},
"autoload": {
"psr-4": {
"SilverStripe\\IFrame\\": "code/",
"SilverStripe\\IFrame\\": "src/",
"SilverStripe\\IFrame\\Tests\\": "tests/"
}
},
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Expand Up @@ -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>
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 112059c

Please sign in to comment.