Skip to content

Commit

Permalink
Fix build failures
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed May 22, 2019
1 parent a5cd8b9 commit 01b8966
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ before_script:
- export PATH=$PATH:$PWD
script:
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
- sonar-scanner
- sonar-scanner -Dsonar.projectVersion=$(git describe --tags --dirty)

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PHPDraft [![Packagist Version](https://img.shields.io/packagist/v/smillerdev/phpdraft.svg)](https://github.com/SMillerDev/phpdraft/releases/latest) [![Build Status](https://img.shields.io/travis/smillerdev/phpdraft.svg)](https://travis-ci.org/SMillerDev/phpdraft) [![Sonar Coverage](https://img.shields.io/sonar/https/sonarcloud.io/SMillerDev_phpdraft/coverage.svg)](https://sonarcloud.io/dashboard?id=SMillerDev_phpdraft) [![Sonar Quality Gate](https://img.shields.io/sonar/https/sonarcloud.io/SMillerDev_phpdraft/alert_status.svg)](https://sonarcloud.io/dashboard?id=SMillerDev_phpdraft) ![Maintenance](https://img.shields.io/maintenance/yes/2019.svg)
# PHPDraft [![Packagist Version](https://img.shields.io/packagist/v/smillerdev/phpdraft.svg)](https://github.com/SMillerDev/phpdraft/releases/latest) [![Build Status](https://img.shields.io/travis/smillerdev/phpdraft.svg)](https://travis-ci.org/SMillerDev/phpdraft) [![Sonar Coverage](https://img.shields.io/sonar/https/sonarcloud.io/SMillerDev_phpdraft/coverage.svg)](https://sonarcloud.io/dashboard?id=SMillerDev_phpdraft) [![Sonar Quality Gate](https://img.shields.io/sonar/https/sonarcloud.io/SMillerDev_phpdraft/alert_status.svg)](https://sonarcloud.io/dashboard?id=SMillerDev_phpdraft) [![Maintenance](https://img.shields.io/maintenance/yes/2019.svg)](https://github.com/SMillerDev/phpdraft/commits/master)
This is a parser for API Blueprint files in PHP.[1](#dependencies)

## Dependencies
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonar.projectKey=SMillerDev_phpdraft
sonar.projectName=PHPDraft
sonar.sources=src/PHPDraft
sonar.php.coverage.reportPaths=.
sonar.php.coverage.reportPaths=coverage.xml
sonar.exclusions=src/PHPDraft/**/Tests/**, tests/**
2 changes: 1 addition & 1 deletion tests/statics/drafter/html/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<style>
var.url-param{font-weight:bold}var.url-value{color:#c90c00;padding:2px}div.main-url{text-align:justify;line-break:loose;word-break:break-all}button.extra-info.btn{position:fixed;bottom:10px;right:10px;border-radius:30px;z-index:999}button.extra-info.btn:focus{border-width:0;box-shadow:none;outline:0}.request-card>code,.popover-content{word-break:break-all}body .media h1.media-heading{margin-top:20px;margin-bottom:10px}body .media h1.media-heading .form-control{display:flex;width:auto;float:right}div.card{margin:10px auto}.card-title var,h4.response var{padding:6px 12px;margin-right:12px;border-radius:3px;display:inline-block;background:rgba(0,0,0,.1)}h4.response.warning var{background:rgba(255,103,8,.2)}h4.response.error var{background:rgba(201,12,0,.1)}.card-title code{color:#000;background-color:rgba(255,255,255,.7);padding:1px 4px;margin-top:2px;border:1px solid transparent;border-radius:3px}.card-title a.transition-title{padding:6px 0}body .col-md-10 h2:first-child,body .col-md-10 h3:first-child{margin-top:0}@media (min-width:768px){.method-nav{max-height:99vh;overflow-x:visible;overflow-y:scroll;top:0;box-shadow:0 -5px 5px rgba(0,0,0,.2) inset}}.method-nav{padding:0 10px}.method-nav nav{width:100%}.method-nav nav.category,.method-nav nav.structures,.method-nav nav.structures a.nav-link,.method-nav nav.resource a.nav-link{padding-left:0}.method-nav nav.resource .transition a.nav-link{padding-left:.5rem}.method-nav a.nav-link{line-height:26px}.method-nav a.nav-link i{color:#fff;padding:0 5px;box-sizing:padding-box;border-radius:15px;line-height:22px}.main-content{position:relative}.example-value{color:rgba(0,0,0,.4);text-align:right}a.code{padding:2px 4px;font-size:90%;background-color:#f9f2f4;border-radius:4px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.popover{width:auto;max-width:50%}.popover-content{width:auto;max-width:100%;line-break:normal;white-space:pre-wrap}.card-body{position:relative}.curl.btn,.hurl.btn{z-index:999;position:absolute;top:15px}.curl.btn{right:15px;border-top-left-radius:0;border-bottom-left-radius:0}.hurl.btn{right:54px;border-top-right-radius:0;border-bottom-right-radius:0}body{--put-color:rgb(248,148,6);--post-color:rgb(98,196,98);--get-color:rgb(91,192,222);--delete-color:rgb(238,95,91);--head-color:rgb(222,121,91);--patch-color:rgb(196,98,196)}.PUT:not(.structure)>.card-header{background:var(--put-color)}span.PUT{color:var(--put-color)}.POST:not(.structure)>.card-header{background:var(--post-color)}span.POST{color:var(--post-color)}.GET:not(.structure)>.card-header{background:var(--get-color)}span.GET{color:var(--get-color)}.DELETE:not(.structure)>.card-header{background:var(--delete-color)}span.DELETE{color:var(--delete-color)}.HEAD:not(.structure)>.card-header{background:var(--head-color)}span.HEAD{color:var(--head-color)}.PATCH:not(.structure)>.card-header{background:var(--patch-color)}span.PATCH{color:var(--patch-color)} </style>
var.url-param{font-weight:bold}var.url-value{color:#c90c00;padding:2px}div.main-url{text-align:justify;line-break:loose;word-break:break-all}button.extra-info.btn{position:fixed;bottom:10px;right:10px;border-radius:30px;z-index:999}button.extra-info.btn:focus{border-width:0;box-shadow:none;outline:0}.request-card>code,.popover-content{word-break:break-all}body .media h1.media-heading{margin-top:20px;margin-bottom:10px}body .media h1.media-heading .form-control{display:flex;width:auto;float:right}div.card{margin:10px auto}.card-title var,h4.response var{padding:6px 12px;margin-right:12px;border-radius:3px;display:inline-block;background:rgba(0,0,0,.1)}h4.response.warning var{background:rgba(255,103,8,.2)}h4.response.error var{background:rgba(201,12,0,.1)}.card-title code{color:#000;background-color:rgba(255,255,255,.7);padding:1px 4px;margin-top:2px;border:1px solid transparent;border-radius:3px}.card-title a.transition-title{padding:6px 0}body .col-md-10 h2:first-child,body .col-md-10 h3:first-child{margin-top:0}@media (min-width:768px){.method-nav{max-height:100vh;overflow-x:visible;overflow-y:scroll;top:0;box-shadow:0 -5px 5px -5px rgba(0,0,0,.2) inset,0 0 1px rgba(102,102,102,.4)}}.method-nav{padding:0 10px}.method-nav nav{width:100%}.method-nav nav.category,.method-nav nav.structures,.method-nav nav.structures a.nav-link,.method-nav nav.resource a.nav-link{padding-left:0}.method-nav nav.resource .transition a.nav-link{padding-left:.5rem}.method-nav a.nav-link{line-height:26px}.method-nav a.nav-link i{color:#fff;padding:0 5px;box-sizing:padding-box;border-radius:15px;line-height:22px}.main-content{position:relative}.example-value{color:rgba(0,0,0,.4);text-align:right}a.code{padding:2px 4px;font-size:90%;background-color:#f9f2f4;border-radius:4px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}.popover{width:auto;max-width:50%}.popover-content{width:auto;max-width:100%;line-break:normal;white-space:pre-wrap}.card-body{position:relative}.curl.btn,.hurl.btn{z-index:999;position:absolute;top:15px}.curl.btn{right:15px;border-top-left-radius:0;border-bottom-left-radius:0}.hurl.btn{right:54px;border-top-right-radius:0;border-bottom-right-radius:0}body{--put-color:rgb(248,148,6);--post-color:rgb(98,196,98);--get-color:rgb(91,192,222);--delete-color:rgb(238,95,91);--head-color:rgb(222,121,91);--patch-color:rgb(196,98,196)}.PUT:not(.structure)>.card-header{background:var(--put-color)}span.PUT{color:var(--put-color)}.POST:not(.structure)>.card-header{background:var(--post-color)}span.POST{color:var(--post-color)}.GET:not(.structure)>.card-header{background:var(--get-color)}span.GET{color:var(--get-color)}.DELETE:not(.structure)>.card-header{background:var(--delete-color)}span.DELETE{color:var(--delete-color)}.HEAD:not(.structure)>.card-header{background:var(--head-color)}span.HEAD{color:var(--head-color)}.PATCH:not(.structure)>.card-header{background:var(--patch-color)}span.PATCH{color:var(--patch-color)} </style>
</head>
<body>
<div class="container-fluid">
Expand Down

0 comments on commit 01b8966

Please sign in to comment.