Skip to content

Commit

Permalink
Merge pull request #110 from larowlan/jira
Browse files Browse the repository at this point in the history
Jira support
  • Loading branch information
larowlan committed Jan 23, 2019
2 parents 21f8245 + 3ee9742 commit 42eb9fe
Show file tree
Hide file tree
Showing 65 changed files with 2,519 additions and 797 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: php
sudo: false

php:
- 5.6
- 5.5
- 7.1
- 7.2

Expand All @@ -18,5 +16,6 @@ cache:

script:
- composer install
- ./vendor/bin/phpcs --report=checkstyle
- phpunit --coverage-text

10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
## Command line time-logger

* Entries stored in sqlite in your home directory
* Sends complete entries to redmine
* Sends complete entries to redmine or jira, or both at the same time

## Requirements

* PHP 5.5.23+
* php5-sqlite3 OR php7.0-sqlite3
* php5-pdo_sqlite OR php7.0-pdo_sqlite
* PHP 7.1+
* php7.1-sqlite3
* php7.1-pdo_sqlite


## Installation
Expand Down Expand Up @@ -57,7 +57,7 @@ tl self-update

## Usage

Assuming you have two redmine tickets number 3546 and 4791.
Assuming you have two tickets number 3546 and 4791.
```bash
# start work on 3546
tl start 3546
Expand Down
1 change: 1 addition & 0 deletions bin/tl.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
$loader->load('services.yml');
$home = $_SERVER['HOME'];
$container->setParameter('directory', $home);
$container->set('container', $container);

$application = new Application('Time logger', '@package_version@', $container);
$application->run();
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
"herrera-io/phar-update": "^2.0",
"stecman/symfony-console-completion": "^0.6.0",
"monolog/monolog": "^1.17",
"php": ">=5.5.23",
"php": ">=7.1",
"ext-sqlite3": "*",
"ext-pdo_sqlite": "*"
"ext-pdo_sqlite": "*",
"lesstif/php-jira-rest-client": "^1.35"
},
"require-dev": {
"phpunit/phpunit": "^4.8"
"phpunit/phpunit": "~6",
"drupal/coder": "~8"
},
"license": "GPL2",
"autoload": {
Expand Down
Loading

0 comments on commit 42eb9fe

Please sign in to comment.