Skip to content

Commit

Permalink
Namespacing, composer autoload, test to PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crazedsanity committed Sep 1, 2017
1 parent 79ce466 commit fec7789
Show file tree
Hide file tree
Showing 18 changed files with 155 additions and 582 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor
*.lock
/nbproject/
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2

before_install:
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer require --dev --no-update phpunit/phpunit 5.7.5; fi

install:
- composer install

script: phpunit --coverage-text
script: vendor/bin/phpunit --coverage-text

before_script:
- composer install

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Stores the current version of the cs-content system, and it's source. Please do NOT modify this file.

VERSION: 1.1.5
VERSION: 1.2.0
PROJECT: cs-phpxml
$HeadURL$
14 changes: 11 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "crazedsanity/cs-phpxml",
"type": "library",
"description": "Library for reading, writing, and updating XML via PHP",
"keywords": ["php", "xml"],
"keywords": ["php", "xml", "dry", "oaoo"],
"homepage": "https://github.com/crazedsanity/cs-phpxml",
"license": "MIT",
"authors": [
Expand All @@ -13,8 +13,16 @@
"role": "Developer"
}
],
"autoload": {
"classmap": ["src/"]
},
"require": {
"php": ">=5.3.0",
"crazedsanity/cs-content": "~1.2.4"
}
"crazedsanity/arraytopath": "dev-master",
"crazedsanity/core": "^0.3"
},
"require-dev": {
"phpunit/phpunit": "^4.6 || ^5.0"
},
"minimum-stability": "dev"
}
Loading

0 comments on commit fec7789

Please sign in to comment.