Skip to content

Commit e850ab8

Browse files
author
Kirill Nesmeyanov
committed
Rename phptl to type-lang
1 parent 5094953 commit e850ab8

File tree

7 files changed

+22
-23
lines changed

7 files changed

+22
-23
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
* text=auto eol=lf
22
*.pp eol=lf linguist-language=EBNF
33
*.pp2 eol=lf linguist-language=EBNF
4-
*.phptl eol=lf linguist-language=TypeScript
54

65
.editorconfig export-ignore
76
.php-cs-fixer.php export-ignore

.github/workflows/codestyle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
git config --global core.autocrlf false
2020
git config --global core.eol lf
2121
- name: Checkout
22-
uses: actions/checkout@v3.3.0
22+
uses: actions/checkout@v4
2323
- name: Setup PHP ${{ matrix.php }}
2424
uses: shivammathur/setup-php@v2
2525
with:
@@ -30,13 +30,13 @@ jobs:
3030
id: composer-cache
3131
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3232
- name: Restore Composer Cache
33-
uses: actions/cache@v1
33+
uses: actions/cache@v3
3434
with:
3535
path: ${{ steps.composer-cache.outputs.dir }}
3636
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
3737
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
3838
- name: Install Dependencies
39-
uses: nick-invision/retry@v1
39+
uses: nick-invision/retry@v2
4040
with:
4141
timeout_minutes: 5
4242
max_attempts: 5

.github/workflows/security.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
git config --global core.autocrlf false
2222
git config --global core.eol lf
2323
- name: Checkout
24-
uses: actions/checkout@v3.3.0
24+
uses: actions/checkout@v4
2525
- name: Setup PHP ${{ matrix.php }}
2626
uses: shivammathur/setup-php@v2
2727
with:
@@ -32,13 +32,13 @@ jobs:
3232
id: composer-cache
3333
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3434
- name: Restore Composer Cache
35-
uses: actions/cache@v1
35+
uses: actions/cache@v3
3636
with:
3737
path: ${{ steps.composer-cache.outputs.dir }}
3838
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
3939
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
4040
- name: Install Dependencies
41-
uses: nick-invision/retry@v1
41+
uses: nick-invision/retry@v2
4242
with:
4343
timeout_minutes: 5
4444
max_attempts: 5

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
git config --global core.autocrlf false
2020
git config --global core.eol lf
2121
- name: Checkout
22-
uses: actions/checkout@v3.3.0
22+
uses: actions/checkout@v4
2323
- name: Setup PHP ${{ matrix.php }}
2424
uses: shivammathur/setup-php@v2
2525
with:
@@ -30,13 +30,13 @@ jobs:
3030
id: composer-cache
3131
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3232
- name: Restore Composer Cache
33-
uses: actions/cache@v1
33+
uses: actions/cache@v3
3434
with:
3535
path: ${{ steps.composer-cache.outputs.dir }}
3636
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
3737
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
3838
- name: Install Dependencies
39-
uses: nick-invision/retry@v1
39+
uses: nick-invision/retry@v2
4040
with:
4141
timeout_minutes: 5
4242
max_attempts: 5

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
git config --global core.autocrlf false
2323
git config --global core.eol lf
2424
- name: Checkout
25-
uses: actions/checkout@v3.3.0
25+
uses: actions/checkout@v4
2626
- name: Setup PHP ${{ matrix.php }}
2727
uses: shivammathur/setup-php@v2
2828
with:
@@ -35,13 +35,13 @@ jobs:
3535
id: composer-cache
3636
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
3737
- name: Restore Composer Cache
38-
uses: actions/cache@v1
38+
uses: actions/cache@v3
3939
with:
4040
path: ${{ steps.composer-cache.outputs.dir }}
4141
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
4242
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
4343
- name: Install Dependencies
44-
uses: nick-invision/retry@v1
44+
uses: nick-invision/retry@v2
4545
with:
4646
timeout_minutes: 5
4747
max_attempts: 5

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
---
88

99
<p align="center">
10-
<a href="https://packagist.org/packages/phptl/reader"><img src="https://poser.pugx.org/phptl/reader/require/php?style=for-the-badge" alt="PHP 8.1+"></a>
11-
<a href="https://packagist.org/packages/phptl/reader"><img src="https://poser.pugx.org/phptl/reader/version?style=for-the-badge" alt="Latest Stable Version"></a>
12-
<a href="https://packagist.org/packages/phptl/reader"><img src="https://poser.pugx.org/phptl/reader/v/unstable?style=for-the-badge" alt="Latest Unstable Version"></a>
13-
<a href="https://raw.githubusercontent.com/php-type-language/reader/blob/master/LICENSE"><img src="https://poser.pugx.org/phptl/reader/license?style=for-the-badge" alt="License MIT"></a>
10+
<a href="https://packagist.org/packages/type-lang/reader"><img src="https://poser.pugx.org/type-lang/reader/require/php?style=for-the-badge" alt="PHP 8.1+"></a>
11+
<a href="https://packagist.org/packages/type-lang/reader"><img src="https://poser.pugx.org/type-lang/reader/version?style=for-the-badge" alt="Latest Stable Version"></a>
12+
<a href="https://packagist.org/packages/type-lang/reader"><img src="https://poser.pugx.org/type-lang/reader/v/unstable?style=for-the-badge" alt="Latest Unstable Version"></a>
13+
<a href="https://raw.githubusercontent.com/php-type-language/reader/blob/master/LICENSE"><img src="https://poser.pugx.org/type-lang/reader/license?style=for-the-badge" alt="License MIT"></a>
1414
</p>
1515
<p align="center">
1616
<a href="https://github.com/php-type-language/reader/actions"><img src="https://github.com/php-type-language/reader/workflows/tests/badge.svg"></a>
1717
</p>
1818

19-
The PHP reference implementation for Type Language Reader.
19+
The PHP reference implementation for Type Language PhpDoc Parser.
2020

2121
## Installation
2222

23-
Type Language Reader is available as composer repository and can be installed
24-
using the following command in a root of your project:
23+
Type Language PhpDoc Parser is available as composer repository and can be
24+
installed using the following command in a root of your project:
2525

2626
```sh
27-
$ composer require phptl/reader
27+
$ composer require type-lang/phpdoc-parser
2828
```
2929

3030
## Quick Start

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "phptl/phpdoc-parser",
2+
"name": "type-lang/phpdoc-parser",
33
"type": "library",
44
"description": "PHP Types Reader",
55
"keywords": ["language", "php", "reader", "phpdoc", "docblock"],
@@ -10,7 +10,7 @@
1010
},
1111
"require": {
1212
"php": "^8.1",
13-
"phptl/parser": "^1.0"
13+
"type-lang/parser": "^1.0"
1414
},
1515
"autoload": {
1616
"psr-4": {

0 commit comments

Comments
 (0)