Skip to content

Commit cbc557d

Browse files
authored
Merge pull request #74 from php-mod/codeclimate
add cc id and badges
2 parents 59c5cd1 + 4561cb8 commit cbc557d

File tree

5 files changed

+53
-41
lines changed

5 files changed

+53
-41
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
env:
66
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction"
7-
CC_TEST_REPORTER_ID: CODECLIMATE_REPORTER_ID
7+
CC_TEST_REPORTER_ID: 40d4890deed3bca8888c04ca67b9768edf11d7a089d2960977997791daea31f6
88
jobs:
99
phpunit:
1010
name: PHP ${{ matrix.php }} on ${{ matrix.os }}

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# CHANGELOG
2+
3+
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
4+
5+
## 2.4.0 (in progress)
6+
7+
+ Added GitHub Actions Tests (from 5.6 - 8.0)
8+
9+
## 2.3.1 (21. January 2021)
10+
11+
+ Supports PHP8
12+
13+
## 2.3.0 (19. March 2019)
14+
15+
+ add asJson option (#67)
16+
17+
## 2.2.0 (4. December 2018)
18+
19+
+ Added some getters.
20+
21+
## 2.1.0 (17. November 2018)
22+
23+
+ CurlFile fix
24+
+ This is not tested, but we are facing the same problem with CurlFile Uploads (https://github.com/php-mod/curl/issues/46) - This *should* do the trick.
25+
+ Update README.md
26+
+ cs fix
27+
28+
## 2.0.0 (15. November 2018)
29+
30+
+ Drop php 5.3, 5.4 and 5.5 support.
31+
+ Use Gitlab CI instead of Travis CI.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
This library provides an object-oriented wrapper of the PHP cURL extension.
44

5+
[![Maintainability](https://api.codeclimate.com/v1/badges/6c34bb31f3eb6df36c7d/maintainability)](https://codeclimate.com/github/php-mod/curl/maintainability)
6+
[![Test Coverage](https://api.codeclimate.com/v1/badges/6c34bb31f3eb6df36c7d/test_coverage)](https://codeclimate.com/github/php-mod/curl/test_coverage)
7+
[![Total Downloads](https://poser.pugx.org/curl/curl/downloads)](//packagist.org/packages/curl/curl)
8+
59
If you have questions or problems with installation or usage [create an Issue](https://github.com/php-mod/curl/issues).
610

11+
12+
713
## Installation
814

915
In order to install this library via composer run the following command in the console:

actions.phpunit.xml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
colors="true"
5-
convertErrorsToExceptions="true"
6-
convertNoticesToExceptions="true"
7-
convertWarningsToExceptions="true"
8-
processIsolation="false"
9-
stopOnFailure="false"
10-
syntaxCheck="true"
11-
verbose="false"
12-
bootstrap="vendor/autoload.php"
3+
backupStaticAttributes="false"
4+
colors="true"
5+
convertErrorsToExceptions="true"
6+
convertNoticesToExceptions="true"
7+
convertWarningsToExceptions="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
verbose="false"
11+
bootstrap="vendor/autoload.php"
1312
>
14-
<php>
15-
<ini name="display_errors" value="on"/>
16-
</php>
17-
1813
<testsuites>
19-
<testsuite name="PHP MP4Box Tests Suite">
14+
<testsuite name="PHP-MOD CURL">
2015
<directory>tests</directory>
2116
</testsuite>
2217
</testsuites>
23-
18+
<filter>
19+
<whitelist>
20+
<directory suffix=".php">./src</directory>
21+
</whitelist>
22+
</filter>
2423
</phpunit>

phpunit.xml.dist

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)