Skip to content

Commit

Permalink
Welcome v1.0.0, fully compatible with all endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianBeiner committed Jan 2, 2020
1 parent 1980076 commit 7e95c16
Show file tree
Hide file tree
Showing 22 changed files with 943 additions and 735 deletions.
7 changes: 5 additions & 2 deletions .editorconf
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# EditorConfig — http://editorconfig.org/
# EditorConfig — https://editorconfig.org/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.php]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

Expand Down
81 changes: 50 additions & 31 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Define Git attributes (https://git-scm.com/docs/gitattributes)
# Defining Git attributes (https://git-scm.com/docs/gitattributes)

# As per default, as well as a fallback, we let Git handle line endings
# automatically for files detected as text.
Expand All @@ -17,8 +17,8 @@ CODE_OF_CONDUCT.md export-ignore
ISSUE_TEMPLATE.md export-ignore
phpunit.xml.dist export-ignore

# The following settings are based on the November 30th, 2017 release of
# https://raw.githubusercontent.com/alexkaratarakis/gitattributes/master/Web.gitattributes
# The following settings are based on the May 10th, 2019 release of
# https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes
# by Alexander Karatarakis.

# Archives
Expand All @@ -39,55 +39,69 @@ phpunit.xml.dist export-ignore
*.ra binary

# Code
*.bash text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.coffee text
*.css text
*.html text
*.htm text
*.html text diff=html
*.htm text diff=html
*.inc text
*.ini text
*.json text
*.js text
*.jsx text
*.less text
*.ls text
*.map text -diff
*.od text
*.onlydata text
*.php text
*.php text diff=php
*.pl text
*.py text
*.rb text
*.ps1 text eol=crlf
*.py text diff=python
*.rb text diff=ruby
*.sass text
*.scm text
*.scss text
*.scss text diff=css
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xhtml text
*.xhtml text diff=html
*.xml text

# Configs
*.bowerrc text
*.cnf text
*.config text
*.conf text
*.dist text
*.iml text
*.npmignore text
*.yaml text
*.yml text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.htaccess text
browserslist text
makefile text
Makefile text
*.bowerrc text
*.cnf text
*.config text
*.conf text
*.dist text
*.iml text
*.lock text -diff
*.npmignore text
*.yaml text
*.yml text
.babelrc text
.browserslistrc text
.editorconfig text
.env text
.gitattributes text
.gitconfig text
.htaccess text
browserslist text
Makefile text
makefile text
package-lock.json text -diff

# Docker
*.dockerignore text
Dockerfile text

# Documentation
*.ipynb text
*.markdown text
*.mdown text
*.md text
Expand All @@ -106,8 +120,8 @@ CONTRIBUTING text
COPYING text
copyright text
INSTALL text
LICENSE text
license text
LICENSE text
NEWS text
readme text
TODO text
Expand All @@ -124,11 +138,16 @@ TODO text
*.woff2 binary
*.woff binary

# Heroku
.slugignore text
Procfile text

# Images
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
Expand Down Expand Up @@ -157,9 +176,8 @@ TODO text
.stylelintrc text

# Misc
*.lock text
*.log text
*.url text
*.log text
*.url text

# Templates
*.dot text
Expand All @@ -176,6 +194,7 @@ TODO text
*.tmpl text
*.tpl text
*.twig text
*.vue text

# Video
*.3gp binary
Expand Down
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
.AppleDouble
.DS_Store
.LSOverride
.phpunit.result.cache
.php_cs.cache
composer.phar
Desktop.ini
/.idea/
/vendor/
phpunit.xml
Thumbs.db
37 changes: 22 additions & 15 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run

filter:
excluded_paths: [tests/*]
excluded_paths: [tests/*]

checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
16 changes: 9 additions & 7 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
preset: recommended

finder:
path:
- "src"
- "tests"

enabled:
- align_equals
- concat_with_spaces
- not_operator_with_space

disabled:
- concat_without_spaces
- unalign_equals
- trailing_comma_in_multiline_array

finder:
path:
- "src"
- "tests"
- concat_without_spaces
- phpdoc_separation
- phpdoc_no_package
- cast_spaces
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
language: php

dist: bionic

php:
- 7.1
- 7.2
- 7.3

sudo: false
- 7.4

cache:
directories:
- $HOME/.composer/cache
- $HOME/.composer/cache/files

before_script:
- travis_retry composer self-update
- travis_retry composer update --no-interaction --prefer-dist
- travis_retry composer self-update && composer --version
- travis_retry composer update --prefer-dist --no-interaction

script:
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash)
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log
All notable changes to this project will be documented in this file.
# Changelog
All notable changes to this project get documented in this file. _Unless I forget it. Sorry._

## 1.0.0 - 2020-01-02
**This version is finally compatible with every available endpoint of the official REST API. Please check out the Wiki for more information on the methods, and many examples.**

### Changed
- Heavily updated the code. This might have introduced a few breaking changes, but I am currently not sure. 🤷‍
- Improved almost everything, and added the Section endpoints.

## 0.8.2 - 2020-01-01
### Changed
- `getAllTasks` has now an optional ID for a project.
- Updated Composer packages.

## 0.8.1 - 2019-11-28
### Fixed
- There was a typo in the endpoint of the reopen method.
### Changed
- Some coding style changes, updated *.md & Dot files etc.
- Updated Composer packages.

## 0.8.0 - 2019-07-19
- _Changelog missing. Sorry!_

## 0.7.1 - 2018-05-29
### Fixed
Expand Down
Loading

0 comments on commit 7e95c16

Please sign in to comment.