Skip to content

Commit 51609a5

Browse files
authored
Merge pull request #570 from PHPCSStandards/develop
Release 1.0.10
2 parents 908247b + 395b905 commit 51609a5

File tree

170 files changed

+2288
-2118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+2288
-2118
lines changed

.github/workflows/basics.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# Install dependencies and handle caching in one go.
5151
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
5252
- name: Install Composer dependencies
53-
uses: "ramsey/composer-install@v2"
53+
uses: "ramsey/composer-install@v3"
5454
with:
5555
# Bust the cache at least once a month - output format: YYYY-MM.
5656
custom-cache-suffix: $(date -u "+%Y-%m")
@@ -102,7 +102,7 @@ jobs:
102102
# Dependencies need to be installed to make sure the PHPCS and PHPUnit classes are recognized.
103103
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
104104
- name: Install Composer dependencies
105-
uses: "ramsey/composer-install@v2"
105+
uses: "ramsey/composer-install@v3"
106106
with:
107107
# Bust the cache at least once a month - output format: YYYY-MM.
108108
custom-cache-suffix: $(date -u "+%Y-%m")
@@ -132,7 +132,7 @@ jobs:
132132

133133
# @link https://github.com/marketplace/actions/problem-matcher-for-markdownlint-cli
134134
- name: Enable showing issue in PRs
135-
uses: xt0rted/markdownlint-problem-matcher@v2
135+
uses: xt0rted/markdownlint-problem-matcher@v3
136136

137137
- name: Check markdown with CLI2
138138
run: markdownlint-cli2

.github/workflows/quicktest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# Install dependencies and handle caching in one go.
6868
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
6969
- name: Install Composer dependencies
70-
uses: "ramsey/composer-install@v2"
70+
uses: "ramsey/composer-install@v3"
7171
with:
7272
# Bust the cache at least once a month - output format: YYYY-MM.
7373
custom-cache-suffix: $(date -u "+%Y-%m")

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050

5151
- name: Install Composer dependencies - normal
5252
if: ${{ matrix.php < 8.4 }}
53-
uses: "ramsey/composer-install@v2"
53+
uses: "ramsey/composer-install@v3"
5454
with:
5555
# Bust the cache at least once a month - output format: YYYY-MM.
5656
custom-cache-suffix: $(date -u "+%Y-%m")
5757

5858
# For the PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow it yet.
5959
- name: Install Composer dependencies - with ignore platform
6060
if: ${{ matrix.php >= 8.4 }}
61-
uses: "ramsey/composer-install@v2"
61+
uses: "ramsey/composer-install@v3"
6262
with:
6363
composer-options: --ignore-platform-req=php+
6464
custom-cache-suffix: $(date -u "+%Y-%m")
@@ -184,15 +184,15 @@ jobs:
184184
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
185185
- name: Install Composer dependencies - normal
186186
if: ${{ matrix.php < 8.4 }}
187-
uses: "ramsey/composer-install@v2"
187+
uses: "ramsey/composer-install@v3"
188188
with:
189189
# Bust the cache at least once a month - output format: YYYY-MM.
190190
custom-cache-suffix: $(date -u "+%Y-%m")
191191

192192
# For PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow it yet.
193193
- name: Install Composer dependencies - with ignore platform
194194
if: ${{ matrix.php >= 8.4 }}
195-
uses: "ramsey/composer-install@v2"
195+
uses: "ramsey/composer-install@v3"
196196
with:
197197
composer-options: --ignore-platform-req=php+
198198
custom-cache-suffix: $(date -u "+%Y-%m")
@@ -309,7 +309,7 @@ jobs:
309309
run: composer require squizlabs/php_codesniffer:"${{ matrix.phpcs_version }}" --no-update --no-scripts --no-interaction
310310

311311
- name: Install Composer dependencies
312-
uses: "ramsey/composer-install@v2"
312+
uses: "ramsey/composer-install@v3"
313313
with:
314314
# Bust the cache at least once a month - output format: YYYY-MM.
315315
custom-cache-suffix: $(date -u "+%Y-%m")

.github/workflows/update-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ jobs:
112112
# Retention is normally 90 days, but this artifact is only for reviewing
113113
# and debugging the generated files for the website.
114114
- name: Upload the generated files
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
with:
117117
name: generated-files
118118
path: ./docs/
119119
if-no-files-found: error
120120
retention-days: 5
121121

122122
- name: Setup GH Pages
123-
uses: actions/configure-pages@v3
123+
uses: actions/configure-pages@v4
124124

125125
- name: Build the GH Pages site with Jekyll
126126
uses: actions/jekyll-build-pages@v1
@@ -129,7 +129,7 @@ jobs:
129129
destination: ./docs/_site
130130

131131
- name: Upload GH Pages artifact
132-
uses: actions/upload-pages-artifact@v2
132+
uses: actions/upload-pages-artifact@v3
133133
with:
134134
path: ./docs/_site
135135

@@ -153,4 +153,4 @@ jobs:
153153
steps:
154154
- name: Deploy to GitHub Pages
155155
id: deployment
156-
uses: actions/deploy-pages@v2
156+
uses: actions/deploy-pages@v4

.github/workflows/update-phpcs-versionnr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: git status -vv --untracked=all
6969

7070
- name: Create pull request
71-
uses: peter-evans/create-pull-request@v5
71+
uses: peter-evans/create-pull-request@v6
7272
with:
7373
base: ${{ steps.branches.outputs.BASE }}
7474
branch: ${{ steps.branches.outputs.PR_BRANCH }}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,34 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
99

1010
_Nothing yet._
1111

12+
## [1.0.10] - 2024-03-18
13+
14+
### Changed
15+
16+
#### Other
17+
18+
* Dropped support for [PHP_CodeSniffer] < 3.9.0. [#561]
19+
Please ensure you run `composer update phpcsstandards/phpcsutils --with-dependencies` to benefit from this.
20+
* Various housekeeping and documentation improvements.
21+
22+
### Deprecated
23+
24+
#### Utils
25+
26+
* `NamingConventions::AZ_UPPER` constant. [#563]
27+
* `NamingConventions::AZ_LOWER` constant. [#563]
28+
29+
### Fixed
30+
31+
#### PHPCS BackCompat
32+
33+
* `BackCompat\Helper::getEncoding()`: PHP 8.4 deprecation notice. [#568]
34+
* `BackCompat\Helper::ignoreAnnotations()`: PHP 8.4 deprecation notice. [#568]
35+
36+
[#561]: https://github.com/PHPCSStandards/PHPCSUtils/pull/561
37+
[#563]: https://github.com/PHPCSStandards/PHPCSUtils/pull/563
38+
[#568]: https://github.com/PHPCSStandards/PHPCSUtils/pull/568
39+
1240

1341
## [1.0.9] - 2023-12-08
1442

@@ -956,6 +984,7 @@ This initial alpha release contains the following utility classes:
956984

957985

958986
[Unreleased]: https://github.com/PHPCSStandards/PHPCSUtils/compare/stable...HEAD
987+
[1.0.10]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.0.9...1.0.10
959988
[1.0.9]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.0.8...1.0.9
960989
[1.0.8]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.0.7...1.0.8
961990
[1.0.7]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.0.6...1.0.7

0 commit comments

Comments
 (0)