Skip to content

Commit ffe9894

Browse files
committed
added badges and other markdown corrections
1 parent 80c4b7f commit ffe9894

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ Additionally, you can employ the search feature in our documents to locate the
3030
information you seek. If your question remains unanswered, explore the
3131
additional options provided below._
3232

33-
* Questions should go to [GitHub Discussions](https://phalcon.io/discussions)
34-
* Another way is to ask a question on [Stack Overflow](https://stackoverflow.com/) and tag it with [`phalcon`](https://stackoverflow.com/questions/tagged/phalcon)
35-
* Come join the Phalcon [Discord](https://phalcon.io/discord)
36-
* Our social network accounts are:
37-
* [Telegram](https://phalcon.io/telegram)
38-
* [Gab](https://phalcon.io/gab)
39-
* [MeWe](https://phalcon.io/mewe)
40-
* [Twitter](https://phalcon.io/t)
41-
* [Facebook](https://phalcon.io/fb)
42-
* If you still believe that what you found is a bug, please [open an issue](https://github.com/phalcon/cphalcon/issues/new)
33+
* Questions should go to [GitHub Discussions](https://phalcon.io/discussions)
34+
* Another way is to ask a question on [Stack Overflow](https://stackoverflow.com/) and tag it with [`phalcon`](https://stackoverflow.com/questions/tagged/phalcon)
35+
* Come join the Phalcon [Discord](https://phalcon.io/discord)
36+
* Our social network accounts are:
37+
- [Telegram](https://phalcon.io/telegram)
38+
- [Gab](https://phalcon.io/gab)
39+
- [MeWe](https://phalcon.io/mewe)
40+
- [Twitter](https://phalcon.io/t)
41+
- [Facebook](https://phalcon.io/fb)
42+
* If you still believe that what you found is a bug, please [open an issue](https://github.com/phalcon/cphalcon/issues/new)
4343

4444
Please report bugs when you've exhausted all of the above options.
4545

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Cop
22

3+
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)
4+
![GitHub License](https://img.shields.io/github/license/phalcon/cli-options-parser)
5+
![Codacy Grade](https://img.shields.io/codacy/grade/286b84c5cf194ca1a29963e7c732a650)
6+
![Codacy Code Coverage](https://img.shields.io/codacy/coverage/286b84c5cf194ca1a29963e7c732a650)
7+
![Downloads](https://img.shields.io/packagist/dm/phalcon/cli-options-parser)
38

4-
[![Software License](https://img.shields.io/badge/license-BSD--3-brightgreen.svg)](https://github.com/phalcon/cli-options-parser/blob/master/LICENSE)
5-
[![Build Status](https://travis-ci.org/phalcon/cli-options-parser.svg?branch=master)](https://travis-ci.org/phalcon/cli-options-parser)
6-
[![Code Coverage](https://codecov.io/gh/phalcon/cli-options-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/phalcon/cli-options-parser)
7-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phalcon/cli-options-parser/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phalcon/cli-options-parser/?branch=master)
8-
[![Scrutinizer Build Status](https://scrutinizer-ci.com/g/phalcon/cli-options-parser/badges/build.png?b=master)](https://scrutinizer-ci.com/g/phalcon/cli-options-parser/build-status/master)
99

1010
Command line arguments/options parser.
1111

1212
## Requirements
1313

14-
* PHP >= 8.0
14+
* PHP >= 8.0
1515

1616
## Installing via [Composer](https://getcomposer.org)
1717

tests/ParserTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testGetParsedCommandsShouldReturnParsedCommand(
146146
*/
147147
public function testGetReturnsBoundDefaultValueIfNotSet(array $params): void
148148
{
149-
$expectedDefaultValues = [
149+
$expectedValues = [
150150
123,
151151
"test",
152152
12.3,
@@ -156,7 +156,7 @@ public function testGetReturnsBoundDefaultValueIfNotSet(array $params): void
156156

157157
$nonExistingKey = "non-existing-parameter-key";
158158

159-
foreach ($expectedDefaultValues as $expected) {
159+
foreach ($expectedValues as $expected) {
160160
$actual = $this->parser->get($nonExistingKey, $expected);
161161
$this->assertSame(
162162
$expected,
@@ -168,7 +168,7 @@ public function testGetReturnsBoundDefaultValueIfNotSet(array $params): void
168168

169169
$this->parser->parse($params["command"]);
170170

171-
foreach ($expectedDefaultValues as $expected) {
171+
foreach ($expectedValues as $expected) {
172172
$actual = $this->parser->get($nonExistingKey, $expected);
173173
$this->assertSame(
174174
$expected,

0 commit comments

Comments
 (0)