diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3294f01 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# http://editorconfig.org +# For ATOM, install "editorconfig" and "linter-eslint" package + +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.yml] +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..85b81b6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,16 @@ +* text=auto +*.css linguist-vendored +*.scss linguist-vendored +*.js linguist-vendored +*.svg binary +CHANGELOG.md export-ignore +package-lock.json -diff +yarn.lock -diff +composer.lock -diff + +# this library +/bootstrap export-ignore +/resources export-ignore +/test export-ignore +/bitbucket-pipelines.yml export-ignore +/runtests export-ignore diff --git a/.gitignore b/.gitignore index aa5997f..73ac397 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,137 @@ +# this project + +# reyesoft projects +.php_cs.cache + + +# Created by https://www.gitignore.io/api/linux,laravel,netbeans,kdevelop4,phpstorm+all,phpcodesniffer,visualstudiocode,composer + +### Composer ### composer.phar -vendor/ +/vendor/ # Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file -# composer.lock \ No newline at end of file +composer.lock + +### KDevelop4 ### +*.kdev4 +.kdev4/ + +### Laravel ### +vendor/ +node_modules/ +npm-debug.log + +# Laravel 4 specific +bootstrap/compiled.php +app/storage/ + +# Laravel 5 & Lumen specific +public/storage +public/hot +storage/*.key +.env.*.php +.env.php +.env +Homestead.yaml +Homestead.json + +# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer +.rocketeer/ + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### NetBeans ### +nbproject/private/ +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ + +### PHPCodeSniffer ### +# CodeSniffer + +/vendor/* +/wpcs/* + +### PhpStorm+all ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# CMake +cmake-build-debug/ + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +### PhpStorm+all Patch ### +# Ignores the whole idea folder +# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360 + +.idea/ + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history + +# End of https://www.gitignore.io/api/linux,laravel,netbeans,kdevelop4,phpstorm+all,phpcodesniffer,visualstudiocode,composer diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b304549 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.3.0] - 2020-06-01 + +### Added +- Changelog + +### Changed +- .gitignore + +## [0.2.1] - 2014-08-20 diff --git a/composer.json b/composer.json index ebbfb62..e433a2a 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,11 @@ } ], "require": { - "php": ">=5.3.0" + "php": ">=5.3.0", + "ext-bcmath": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9.0.0" }, "autoload": { "psr-4": {